Revision 1fa2c40b lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
1323 | 1323 |
|
1324 | 1324 |
@type name: string |
1325 | 1325 |
@param name: the name of the network |
1326 |
@type network: string
|
|
1327 |
@param network: the ipv4 subnet
|
|
1326 |
@type subnet: string
|
|
1327 |
@param subnet: the ipv4 subnet
|
|
1328 | 1328 |
@type gateway: string |
1329 | 1329 |
@param gateway: the ipv4 gateway |
1330 | 1330 |
@type network6: string |
... | ... | |
1363 | 1363 |
def _BuildNetworkHookEnvByObject(net): |
1364 | 1364 |
"""Builds network related env varliables for hooks |
1365 | 1365 |
|
1366 |
@type lu: L{objects.LogicalUnit} |
|
1367 |
@param lu: the corresponding LU |
|
1368 |
@type network: L{objects.Network} |
|
1369 |
@param network: the network object |
|
1366 |
@type net: L{objects.Network} |
|
1367 |
@param net: the network object |
|
1370 | 1368 |
|
1371 | 1369 |
""" |
1372 | 1370 |
args = { |
Also available in: Unified diff