expose DHCP server IP

Registered by dan wendlandt

in order for firewall logic to be able to poke a hole allowing traffic to/from a DHCP server, we need to expose the IP being used for DHCP in a subnet to external entities. This could be done by introduce device_owner attribute to the port.

Blueprint information

Status:
Complete
Approver:
dan wendlandt
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
Nachi Ueno
Definition:
New
Series goal:
Accepted for folsom
Implementation:
Implemented
Milestone target:
milestone icon 2012.2
Started by
Thierry Carrez
Completed by
dan wendlandt

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/expose-dhcp-server-ip,n,z

Addressed by: https://review.openstack.org/#/c/10922/
- Updated -

Add attribute 'device_owner' for port.
dhcp-agent will update device_owner to 'dhcp-agent'.

Client can query port which is used by dhcp using device_owner.

----- from dan ----
I actually liked your previous idea better, which is having a notion of the port owner. I had already suggested something like this in the past. I would phrase the field as device_owner, as it does hand-in-hand with the device_id (in fact, it sets the scope for interpreting the device-id.

My concern is that a "group" attribute is too vague... it could mean anything and be used for anything. Such ambiguity tends to lead to bad APIs in my opinion, as different implementations will use it for different things.

----- from dan----
I got it. I updated spec to device_owner. (nati)

Addressed by: https://review.openstack.org/10922
    Add device_owner attribute to port

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.