The ironic.drivers.modules.network.flat Module

Flat network interface. Useful for shared, flat networks.

class ironic.drivers.modules.network.flat.FlatNetwork[source]

Bases: ironic.drivers.base.NetworkInterface

Flat network interface.

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
add_provisioning_network(task)[source]

Add the provisioning network to a node.

Parameters:task – A TaskManager instance.
configure_tenant_networks(task)[source]

Configure tenant networks for a node.

Parameters:task – A TaskManager instance.
remove_cleaning_network(task)[source]

Remove the cleaning network from a node.

Parameters:task – A TaskManager instance.
Raises:NetworkError
remove_provisioning_network(task)[source]

Remove the provisioning network from a node.

Parameters:task – A TaskManager instance.
unconfigure_tenant_networks(task)[source]

Unconfigure tenant networks for a node.

Parameters:task – A TaskManager instance.

Project Source

This Page