]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add device_owner attribute to port
authorNachi Ueno <nachi@nttmcl.com>
Mon, 13 Aug 2012 08:13:20 +0000 (08:13 +0000)
committerNachi Ueno <nachi@nttmcl.com>
Mon, 13 Aug 2012 21:28:36 +0000 (21:28 +0000)
commitea172068114cccb820f1c633b41380a83caaf778
treebb5b3f86b44924b64601735868a72ef2370681be
parent91330cffc9056633f0f71a164b7cb6b870ea2695
Add device_owner attribute to port

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 commit adds device_owner attribute, then dhcp-agent will update the device_owner value
of port to dhcp-agent.

Implement blueprint expose-dhcp-server-ip
Change-Id: I11283485bff8a3a3cf0b1a2716763ad32e43028a
quantum/agent/dhcp_agent.py
quantum/api/v2/attributes.py
quantum/db/db_base_plugin_v2.py
quantum/db/models_v2.py
quantum/tests/unit/test_api_v2.py
quantum/tests/unit/test_db_plugin.py