module documentation
Logical units dealing with networks.
Class |
|
Logical unit for creating networks. |
Class |
|
Connect a network to a nodegroup |
Class |
|
Disconnect a network to a nodegroup |
Class |
|
No class docstring; 0/2 instance variable, 0/2 constant, 4/5 methods documented |
Class |
|
No class docstring; 0/2 instance variable, 0/2 constant, 4/5 methods documented |
Class |
|
Modifies the parameters of a network. |
Function | _ |
Builds network related env variables for hooks |
Function | _ |
Utility for _NetworkConflictCheck . |
Function | _ |
Checks for network interface conflicts with a network. |
Builds network related env variables for hooks
This builds the hook environment from individual variables.
Parameters | |
name:string | the name of the network |
subnet:string | the ipv4 subnet |
gateway:string | the ipv4 gateway |
network6:string | the ipv6 subnet |
gateway6:string | the ipv6 gateway |
mac | the mac_prefix |
tags:list | the tags of the network |
Checks for network interface conflicts with a network.
Parameters | |
lu:LogicalUnit | Undocumented |
checkobjects.NIC ) and returning boolean | Function checking for conflict |
action:string | Part of error message (see code) |
instances:list of instance objects | the instances to check |
Raises | |
errors.OpPrereqError | If conflicting IP addresses are found. |