Bases: ironic.dhcp.base.BaseDHCP
API for communicating to neutron 2.x API.
Create neutron ports for each port on task.node to boot the ramdisk.
Parameters: | task – a TaskManager instance. |
---|---|
Raises: | NetworkError, InvalidParameterValue |
Returns: | a dictionary in the form {port.uuid: neutron_port[‘id’]} |
Deletes the neutron port created for booting the ramdisk.
Parameters: | task – a TaskManager instance. |
---|---|
Raises: | NetworkError, InvalidParameterValue |
Get IP addresses for all ports/portgroups in task.
Parameters: | task – a TaskManager instance. |
---|---|
Returns: | List of IP addresses associated with task’s ports/portgroups. |
Send or update the DHCP BOOT options for this node.
Parameters: |
|
---|
Update a port’s mac address.
Parameters: |
|
---|---|
Raises: | FailedToUpdateMacOnPort |
Update a port’s attributes.
Update one or more DHCP options on the specified port. For the relevant API spec, see http://docs.openstack.org/api/openstack-network/2.0/content/extra-dhc-opt-ext-update.html
Parameters: |
|
---|---|
Raises: | FailedToUpdateDHCPOptOnPort |