Bug 1042493 - [RFE][neutron]: Enable to set DHCP port attributes
Summary: [RFE][neutron]: Enable to set DHCP port attributes
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/neut...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks: 1271735 1271736
TreeView+ depends on / blocked
 
Reported: 2013-12-12 22:26 UTC by RHOS Integration
Modified: 2019-10-10 09:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1271735 1271736 (view as bug list)
Environment:
Last Closed: 2015-03-19 17:13:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 22:26:48 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/neutron/+spec/enable-to-set-dhcp-port-attributes.

Description:

DHCP ports are created automatically. There is no chance to specify its attributes (ex. ip address) by a user.
There is a requirement to be able to specify ip address of a DHCP port by our customer.
 I propose adding a function to "add network to dhcp agent" API that enbale to specify a dhcp port attributes and create a dhcp port when the network attached to an agent.

API:
POST v2.0/agent/<agent id>/networks
body
{ 'network_id': <network id>,
  'dhcp_port': {'name': <name>, 'fixed_ips': <fixed_ips>, 'mac_address': <mac address>}}

'dhcp_port' is added. It is not required. If it is ommited a dhcp port will not be created at the time. There is no problem for API compatibility.

Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.