Revision eaa4c57c lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
15301 | 15301 |
result = ial.out_text |
15302 | 15302 |
return result |
15303 | 15303 |
|
15304 |
# Network LUs |
|
15305 |
class LUNetworkAdd(LogicalUnit): |
|
15306 |
def BuildHooksNodes(self): |
|
15307 |
pass |
|
15308 |
|
|
15309 |
def BuildHooksEnv(self): |
|
15310 |
pass |
|
15311 |
|
|
15312 |
|
|
15313 |
class LUNetworkRemove(LogicalUnit): |
|
15314 |
def BuildHooksNodes(self): |
|
15315 |
pass |
|
15316 |
|
|
15317 |
def BuildHooksEnv(self): |
|
15318 |
pass |
|
15319 |
|
|
15320 |
|
|
15321 |
class LUNetworkSetParams(LogicalUnit): |
|
15322 |
def BuildHooksNodes(self): |
|
15323 |
pass |
|
15324 |
|
|
15325 |
def BuildHooksEnv(self): |
|
15326 |
pass |
|
15327 |
|
|
15328 |
|
|
15329 |
class _NetworkQuery(_QueryBase): |
|
15330 |
def ExpandNames(self, lu): |
|
15331 |
pass |
|
15332 |
|
|
15333 |
def DeclareLocks(self, lu, level): |
|
15334 |
pass |
|
15335 |
|
|
15336 |
def _GetQueryData(self, lu): |
|
15337 |
pass |
|
15338 |
|
|
15339 |
|
|
15340 |
class LUNetworkQuery(NoHooksLU): |
|
15341 |
pass |
|
15342 |
|
|
15343 |
|
|
15344 |
class LUNetworkConnect(LogicalUnit): |
|
15345 |
def BuildHooksNodes(self): |
|
15346 |
pass |
|
15347 |
|
|
15348 |
def BuildHooksEnv(self): |
|
15349 |
pass |
|
15350 |
|
|
15351 |
|
|
15352 |
class LUNetworkDisconnect(LogicalUnit): |
|
15353 |
def BuildHooksNodes(self): |
|
15354 |
pass |
|
15355 |
|
|
15356 |
def BuildHooksEnv(self): |
|
15357 |
pass |
|
15358 |
|
|
15304 | 15359 |
|
15305 | 15360 |
#: Query type implementations |
15306 | 15361 |
_QUERY_IMPL = { |
... | ... | |
15308 | 15363 |
constants.QR_INSTANCE: _InstanceQuery, |
15309 | 15364 |
constants.QR_NODE: _NodeQuery, |
15310 | 15365 |
constants.QR_GROUP: _GroupQuery, |
15366 |
constants.QR_NETWORK: _NetworkQuery, |
|
15311 | 15367 |
constants.QR_OS: _OsQuery, |
15312 | 15368 |
constants.QR_EXPORT: _ExportQuery, |
15313 | 15369 |
} |
Also available in: Unified diff