Revision 176b0ee2 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
15340 | 15340 |
result = ial.out_text |
15341 | 15341 |
return result |
15342 | 15342 |
|
15343 |
# Network LUs |
|
15344 |
class LUNetworkAdd(LogicalUnit): |
|
15345 |
def BuildHooksNodes(self): |
|
15346 |
pass |
|
15347 |
|
|
15348 |
def BuildHooksEnv(self): |
|
15349 |
pass |
|
15350 |
|
|
15351 |
|
|
15352 |
class LUNetworkRemove(LogicalUnit): |
|
15353 |
def BuildHooksNodes(self): |
|
15354 |
pass |
|
15355 |
|
|
15356 |
def BuildHooksEnv(self): |
|
15357 |
pass |
|
15358 |
|
|
15359 |
|
|
15360 |
class LUNetworkSetParams(LogicalUnit): |
|
15361 |
def BuildHooksNodes(self): |
|
15362 |
pass |
|
15363 |
|
|
15364 |
def BuildHooksEnv(self): |
|
15365 |
pass |
|
15366 |
|
|
15367 |
|
|
15368 |
class _NetworkQuery(_QueryBase): |
|
15369 |
def ExpandNames(self, lu): |
|
15370 |
pass |
|
15371 |
|
|
15372 |
def DeclareLocks(self, lu, level): |
|
15373 |
pass |
|
15374 |
|
|
15375 |
def _GetQueryData(self, lu): |
|
15376 |
pass |
|
15377 |
|
|
15378 |
|
|
15379 |
class LUNetworkQuery(NoHooksLU): |
|
15380 |
pass |
|
15381 |
|
|
15382 |
|
|
15383 |
class LUNetworkConnect(LogicalUnit): |
|
15384 |
def BuildHooksNodes(self): |
|
15385 |
pass |
|
15386 |
|
|
15387 |
def BuildHooksEnv(self): |
|
15388 |
pass |
|
15389 |
|
|
15390 |
|
|
15391 |
class LUNetworkDisconnect(LogicalUnit): |
|
15392 |
def BuildHooksNodes(self): |
|
15393 |
pass |
|
15394 |
|
|
15395 |
def BuildHooksEnv(self): |
|
15396 |
pass |
|
15397 |
|
|
15343 | 15398 |
|
15344 | 15399 |
#: Query type implementations |
15345 | 15400 |
_QUERY_IMPL = { |
... | ... | |
15347 | 15402 |
constants.QR_INSTANCE: _InstanceQuery, |
15348 | 15403 |
constants.QR_NODE: _NodeQuery, |
15349 | 15404 |
constants.QR_GROUP: _GroupQuery, |
15405 |
constants.QR_NETWORK: _NetworkQuery, |
|
15350 | 15406 |
constants.QR_OS: _OsQuery, |
15351 | 15407 |
constants.QR_EXPORT: _ExportQuery, |
15352 | 15408 |
} |
Also available in: Unified diff