ironic.drivers.modules.network.neutron.
NeutronNetwork
[source]¶Bases: ironic.drivers.modules.network.common.NeutronVIFPortIDMixin
, ironic.common.neutron.NeutronNetworkInterfaceMixin
, ironic.drivers.base.NetworkInterface
Neutron v2 network interface
add_cleaning_network
(task)[source]¶Create neutron ports for each port on task.node to boot the ramdisk.
task – a TaskManager instance.
NetworkError
a dictionary in the form {port.uuid: neutron_port[‘id’]}
add_inspection_network
(task)[source]¶Add the inspection network to the node.
task – A TaskManager instance.
a dictionary in the form {port.uuid: neutron_port[‘id’]}
NetworkError
InvalidParameterValue, if the network interface configuration is invalid.
add_provisioning_network
(task)[source]¶Add the provisioning network to a node.
task – A TaskManager instance.
NetworkError
add_rescuing_network
(task)[source]¶Create neutron ports for each port to boot the rescue ramdisk.
task – a TaskManager instance.
a dictionary in the form {port.uuid: neutron_port[‘id’]}
configure_tenant_networks
(task)[source]¶Configure tenant networks for a node.
task – A TaskManager instance.
NetworkError
need_power_on
(task)[source]¶Check if the node has any Smart NIC ports
task – A TaskManager instance.
A boolean to indicate Smart NIC port presence
remove_cleaning_network
(task)[source]¶Deletes the neutron port created for booting the ramdisk.
task – a TaskManager instance.
NetworkError
remove_inspection_network
(task)[source]¶Removes the inspection network from a node.
task – A TaskManager instance.
InvalidParameterValue, if the network interface configuration is invalid.
MissingParameterValue, if some parameters are missing.
remove_provisioning_network
(task)[source]¶Remove the provisioning network from a node.
task – A TaskManager instance.
NetworkError
remove_rescuing_network
(task)[source]¶Deletes neutron port created for booting the rescue ramdisk.
task – a TaskManager instance.
NetworkError
unconfigure_tenant_networks
(task)[source]¶Unconfigure tenant networks for a node.
Nova takes care of port removal from tenant network, we unbind it here/now to avoid the possibility of the ironic port being bound to the tenant and cleaning networks at the same time.
task – A TaskManager instance.
NetworkError
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.