Bases: ironic.drivers.base.NetworkInterface
Noop network interface.
Add the cleaning network to a node.
| Parameters: | task – A TaskManager instance. |
|---|
Add the provisioning network to a node.
| Parameters: | task – A TaskManager instance. |
|---|
Configure tenant networks for a node.
| Parameters: | task – A TaskManager instance. |
|---|
Returns the currently used VIF associated with port or portgroup
We are booting the node only in one network at a time, and presence of cleaning_vif_port_id means we’re doing cleaning, of provisioning_vif_port_id - provisioning. Otherwise it’s a tenant network
| Parameters: |
|
|---|---|
| Returns: | VIF ID associated with p_obj or None. |
Handle any actions required when a port changes
| Parameters: |
|
|---|---|
| Raises: | Conflict, FailedToUpdateDHCPOptOnPort |
Handle any actions required when a portgroup changes
| Parameters: |
|
|---|---|
| Raises: | Conflict, FailedToUpdateDHCPOptOnPort |
Remove the cleaning network from a node.
| Parameters: | task – A TaskManager instance. |
|---|
Remove the provisioning network from a node.
| Parameters: | task – A TaskManager instance. |
|---|
Unconfigure tenant networks for a node.
| Parameters: | task – A TaskManager instance. |
|---|
Attach a virtual network interface to a node
| Parameters: |
|
|---|---|
| Raises: | NetworkError, VifAlreadyAttached, NoFreePhysicalPorts |