Flat network interface. Useful for shared, flat networks.
ironic.drivers.modules.network.flat.
FlatNetwork
(*args, **kwargs)[source]¶Bases: ironic.drivers.modules.network.common.NeutronVIFPortIDMixin
, ironic.common.neutron.NeutronNetworkInterfaceMixin
, ironic.drivers.base.NetworkInterface
Flat network interface.
add_cleaning_network
(task)[source]¶Add the cleaning network to a node.
task – A TaskManager instance.
a dictionary in the form {port.uuid: neutron_port[‘id’]}
NetworkError, InvalidParameterValue
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 when failed to set binding:host_id
add_rescuing_network
(task)[source]¶Add the rescuing network to a node.
Flat network does not use the rescuing network. Bind the port again since unconfigure_tenant_network() unbound it.
task – A TaskManager instance.
a dictionary in the form {port.uuid: neutron_port[‘id’]}
NetworkError, InvalidParameterValue
configure_tenant_networks
(task)[source]¶Configure tenant networks for a node.
task – A TaskManager instance.
remove_cleaning_network
(task)[source]¶Remove the cleaning network from a node.
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.
remove_rescuing_network
(task)[source]¶Remove the rescuing network from a node.
Flat network does not use the rescuing network. Unbind the port again since add_rescuing_network() bound it.
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.