]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
blueprint api-operational-status
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Mon, 5 Dec 2011 17:28:33 +0000 (17:28 +0000)
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Tue, 13 Dec 2011 10:51:44 +0000 (10:51 +0000)
commit6e38dcb70ebdf7eae955402908c62f0ae048ccf6
treea90fd2eba6e1fde8a8d42018d9a3765c489f96d6
parent2ccf22e98a74987ca2ddab88139a0e5f1d9d45af
blueprint api-operational-status

Adds a new attribute expressing current operational status for port and network resources

Also includes:
- db models: changes to accomodate operational status concept
- unit tests: changes to include different validation functions for API v1.0 and v.1.1

This changeset does not include changes to the client library

NOTE: Addressing issue concerning unit tests for OVS plugin. API unit tests launched with
PLUGIN_DIR set to Cisco's plugin work fine as well.

Change-Id: I0c4f0f8a8c392bae75c668c28070364ca230f965
12 files changed:
quantum/api/api_common.py
quantum/api/networks.py
quantum/api/ports.py
quantum/api/views/networks.py
quantum/api/views/ports.py
quantum/common/test_lib.py
quantum/db/api.py
quantum/db/models.py
quantum/plugins/openvswitch/run_tests.py
quantum/plugins/sample/SamplePlugin.py
quantum/tests/unit/_test_api.py
quantum/tests/unit/test_api.py