]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Improve openvswitch and linuxbridge agents' parsing of mappings
authorBob Kukura <rkukura@redhat.com>
Tue, 13 Nov 2012 18:50:53 +0000 (13:50 -0500)
committerBob Kukura <rkukura@redhat.com>
Tue, 20 Nov 2012 15:44:00 +0000 (10:44 -0500)
commit90dc4691c888944d3d1691d06a739e8dc54857d6
tree54fdc1a893a8979113078105ef8be17943fc342f
parentbf0e73f30018a423a9acc3d8e94cfa8ff299ed10
Improve openvswitch and linuxbridge agents' parsing of mappings

Created generic quantum.utils.parse_mappings function that detects
duplicate key or value strings, and changed openvswitch and
linuxbridge agents to use this to parse their mappings from physical
networks to bridges or interfaces. Fixes bug 1067669.

Also fixed some typos in comments.

Change-Id: I342eaeeb6ff4c6e25d57d631f250faac082011b8
quantum/common/utils.py
quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/tests/unit/openvswitch/test_ovs_quantum_agent.py
quantum/tests/unit/test_common_utils.py [new file with mode: 0644]