Flat network interface. Useful for shared, flat networks.
None
Bases: ironic.drivers.modules.network.common.NeutronVIFPortIDMixin
, ironic.common.neutron.NeutronNetworkInterfaceMixin
, ironic.drivers.base.NetworkInterface
Flat network interface.
FlatNetwork.
add_cleaning_network
(task)[source]¶Add the cleaning network to a node.
Parameters: | task – A TaskManager instance. |
---|---|
Returns: | a dictionary in the form {port.uuid: neutron_port[‘id’]} |
Raises: | NetworkError, InvalidParameterValue |
FlatNetwork.
add_provisioning_network
(task)[source]¶Add the provisioning network to a node.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | NetworkError when failed to set binding:host_id |
FlatNetwork.
configure_tenant_networks
(task)[source]¶Configure tenant networks for a node.
Parameters: | task – A TaskManager instance. |
---|
FlatNetwork.
remove_cleaning_network
(task)[source]¶Remove the cleaning network from a node.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | NetworkError |
FlatNetwork.
remove_provisioning_network
(task)[source]¶Remove the provisioning network from a node.
Parameters: | task – A TaskManager instance. |
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.