Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
9f9de3eb
Commit
9f9de3eb
authored
Feb 19, 2016
by
Daniele Kruse
Browse files
Linked the scheduler with the catalogue
parent
d232a1ac
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
catalogue/Catalogue.hpp
View file @
9f9de3eb
...
...
@@ -118,7 +118,6 @@ public:
virtual
std
::
list
<
cta
::
common
::
dataStructures
::
Tape
>
getTapes
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
std
::
string
&
logicalLibraryName
,
const
std
::
string
&
tapePoolName
,
const
std
::
string
&
capacityInBytes
,
const
std
::
string
&
disabledValue
,
const
std
::
string
&
fullValue
,
const
std
::
string
&
busyValue
)
=
0
;
virtual
void
labelTape
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
bool
force
,
const
bool
lbp
,
const
std
::
string
&
tag
)
=
0
;
virtual
void
reclaimTape
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
)
=
0
;
virtual
void
modifyTapeLogicalLibraryName
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
std
::
string
&
logicalLibraryName
)
=
0
;
virtual
void
modifyTapeTapePoolName
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
std
::
string
&
tapePoolName
)
=
0
;
...
...
catalogue/DummyCatalogue.cpp
View file @
9f9de3eb
...
...
@@ -183,11 +183,6 @@ std::list<cta::common::dataStructures::Tape> cta::catalogue::DummyCatalogue::get
const
std
::
string
&
vid
,
const
std
::
string
&
logicalLibraryName
,
const
std
::
string
&
tapePoolName
,
const
std
::
string
&
capacityInBytes
,
const
std
::
string
&
disabledValue
,
const
std
::
string
&
fullValue
,
const
std
::
string
&
busyValue
)
{
return
std
::
list
<
cta
::
common
::
dataStructures
::
Tape
>
();}
//------------------------------------------------------------------------------
// labelTape
//------------------------------------------------------------------------------
void
cta
::
catalogue
::
DummyCatalogue
::
labelTape
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
bool
force
,
const
bool
lbp
,
const
std
::
string
&
tag
)
{}
//------------------------------------------------------------------------------
// reclaimTape
//------------------------------------------------------------------------------
...
...
catalogue/DummyCatalogue.hpp
View file @
9f9de3eb
...
...
@@ -75,7 +75,6 @@ public:
virtual
std
::
list
<
cta
::
common
::
dataStructures
::
Tape
>
getTapes
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
std
::
string
&
logicalLibraryName
,
const
std
::
string
&
tapePoolName
,
const
std
::
string
&
capacityInBytes
,
const
std
::
string
&
disabledValue
,
const
std
::
string
&
fullValue
,
const
std
::
string
&
busyValue
);
virtual
void
labelTape
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
bool
force
,
const
bool
lbp
,
const
std
::
string
&
tag
);
virtual
void
reclaimTape
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
);
virtual
void
modifyTapeLogicalLibraryName
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
std
::
string
&
logicalLibraryName
);
virtual
void
modifyTapeTapePoolName
(
const
cta
::
common
::
dataStructures
::
SecurityIdentity
&
requester
,
const
std
::
string
&
vid
,
const
std
::
string
&
tapePoolName
);
...
...
doc/7_Catalogue_Interface.txt
View file @
9f9de3eb
...
...
@@ -39,7 +39,6 @@ virtual void createTape
virtual void deleteTape (const SecurityIdentity &requester, const std::string &vid);
virtual std::list<Tape> getTapes (const SecurityIdentity &requester, const std::string &vid, const std::string &logicalLibraryName, const std::string &tapePoolName,
const std::string &capacityInBytes, const std::string &disabledValue, const std::string &fullValue, const std::string &busyValue);
virtual void labelTape (const SecurityIdentity &requester, const std::string &vid, const bool force, const bool lbp, const std::string &tag);
virtual void reclaimTape (const SecurityIdentity &requester, const std::string &vid);
virtual void modifyTapeLogicalLibraryName (const SecurityIdentity &requester, const std::string &vid, const std::string &logicalLibraryName);
virtual void modifyTapeTapePoolName (const SecurityIdentity &requester, const std::string &vid, const std::string &tapePoolName);
...
...
scheduler/Scheduler.cpp
View file @
9f9de3eb
This diff is collapsed.
Click to expand it.
scheduler/Scheduler.hpp
View file @
9f9de3eb
...
...
@@ -81,18 +81,13 @@ class Scheduler {
public:
/**
*
Deprecated
Constructor.
* Constructor.
*/
Scheduler
(
cta
::
catalogue
::
Catalogue
&
catalogue
,
NameServer
&
ns
,
SchedulerDatabase
&
db
,
RemoteNS
&
remoteNS
);
/**
* Constructor.
*/
Scheduler
();
/**
* Destructor.
...
...
@@ -234,6 +229,7 @@ public:
private:
cta
::
catalogue
::
Catalogue
&
m_catalogue
;
};
// class Scheduler
}
// namespace cta
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment