]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Enhance Base MAC validation
authorGary Kotton <gkotton@redhat.com>
Mon, 6 Aug 2012 13:45:20 +0000 (09:45 -0400)
committerGary Kotton <gkotton@redhat.com>
Tue, 7 Aug 2012 06:20:56 +0000 (02:20 -0400)
commitfe09214372f199d4cfbff76aabf76470543c26f2
treed6fc226424ebe34e29d32a93ec358137b29a82ad
parent03079191cd26d98e3b20c90d8929e408853c2bf5
Enhance Base MAC validation

Fixes bug 1033520

The base mac will now be validated when the configuration file is read.
In addition to this the following has been done:
1. checks validaity of the base mac - for example it cannot be a multicast MAC
2. adds a framework for attributes tests

Change-Id: Ibffab039ca7ee9e87eb79a7288e86401170bf129
quantum/api/v2/attributes.py
quantum/common/config.py
quantum/db/db_base_plugin_v2.py
quantum/tests/unit/test_attributes.py [new file with mode: 0644]