Bases: ironic.drivers.base.NetworkInterface
Neutron v2 network interface
Create neutron ports for each port on task.node to boot the ramdisk.
Parameters: | task – a TaskManager instance. |
---|---|
Raises: | NetworkError |
Returns: | a dictionary in the form {port.uuid: neutron_port[‘id’]} |
Add the provisioning network to a node.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | NetworkError |
Configure tenant networks for a node.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | NetworkError |
Deletes the neutron port created for booting the ramdisk.
Parameters: | task – a TaskManager instance. |
---|---|
Raises: | NetworkError |
Remove the provisioning network from a node.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | NetworkError |
Unconfigure tenant networks for a node.
Even though nova takes care of port removal from tenant network, we remove it here/now to avoid the possibility of the ironic port being bound to the tenant and cleaning networks at the same time.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | NetworkError |