]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
expose openvswitch GRE tunnel_id via provider API
authorBob Kukura <rkukura@redhat.com>
Fri, 31 Aug 2012 04:12:41 +0000 (00:12 -0400)
committerBob Kukura <rkukura@redhat.com>
Fri, 31 Aug 2012 16:32:30 +0000 (12:32 -0400)
commit493903c0d03e53fd8192dff2177698d332935087
tree00fdaaae68ceda62b2ff9763d644aa0eed322328
parent8fb4e6efe8dcf1987d41917f71da8db345647321
expose openvswitch GRE tunnel_id via provider API

The provider:vlan_id extended attribute is renamed to
provider:segmentation_id, and the openvswitch plugin returns the
tunnel_id of GRE networks as this attribute.

Fixes bug 1044375. Final patch in series that fixes bug 1037341 and
bug 1035492.

Detailed changes:

- Rename provider:vlan_id to provider:segmentation_id.
- Use consts for providernet extension's attribute names
- Remove validation clause from provider:segmentation_id resource attribute map data.
- Validate provider:segmentation_id in linuxbridge and openvswitch plugins.
- Rename physical_id to segmentation_id in the openvswitch schema, plugin, and agent.

Change-Id: Ic023b30b6e3275955bcb8a09c7936035dacf3f87
quantum/extensions/providernet.py
quantum/plugins/linuxbridge/lb_quantum_plugin.py
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/plugins/openvswitch/ovs_db_v2.py
quantum/plugins/openvswitch/ovs_models_v2.py
quantum/plugins/openvswitch/ovs_quantum_plugin.py
quantum/tests/unit/openvswitch/test_ovs_db.py
quantum/tests/unit/openvswitch/test_ovs_tunnel.py