Merge lp://staging/~salvatore-orlando/neutron/quantum-api into lp://staging/neutron/diablo
Proposed by
Salvatore Orlando
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 29 | ||||
Proposed branch: | lp://staging/~salvatore-orlando/neutron/quantum-api | ||||
Merge into: | lp://staging/neutron/diablo | ||||
Diff against target: |
590 lines (+174/-73) 14 files modified
bin/quantum.py (+61/-0) quantum/api/__init__.py (+2/-0) quantum/api/api_common.py (+1/-2) quantum/api/faults.py (+1/-1) quantum/api/networks.py (+34/-5) quantum/api/ports.py (+8/-5) quantum/api/views/__init__.py (+0/-1) quantum/api/views/networks.py (+21/-6) quantum/api/views/ports.py (+3/-3) quantum/common/wsgi.py (+3/-14) quantum/manager.py (+0/-1) quantum/plugins/SamplePlugin.py (+4/-8) quantum/plugins/openvswitch/README (+2/-2) tests/unit/test_api.py (+34/-25) |
||||
To merge this branch: | bzr merge lp://staging/~salvatore-orlando/neutron/quantum-api | ||||
Related bugs: |
|
||||
Related blueprints: |
Quantum API v1.0 Implementation
(Essential)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dan wendlandt | Approve | ||
Somik Behera | netstack-core | Approve | |
Review via email:
|
Description of the change
This branch contains minor improvements to the API, especially the detail operation on networks.
It also provides a fix for two bugs:
bug #798261 - Quantum API fails to generate JSON faults
bug #798262 - Faulty XML de-serialization
NOTE: There aren't yet unit tests in this branch. We will provide a separate branch with unit tests soon. Delaying this merge until the unit test branch lands in trunk will be fine for me.
To post a comment you must log in.
1) We shouldn't be checking in .project .pydevproject and .pydevproject.moved files.
2) pep8.errors seems out of date, I merged Santhosh and Rajaram's pep8 fixes branch and trunk is pep8 clean.
3) I got the branch and there are 2 minor pep8 issues:
./tests/ functional/ test_service. py:52:1: W293 blank line contains whitespace functional/ test_service. py:54:5: E303 too many blank lines (2)
./tests/
4) I would be ok with leaving the debug messages in, if the user doesn't want the debug messages they could change the log level.
5) Based on the API spec. The accepted values for port-sate are:
* ACTIVE
* DOWN
So, we should update that to be consistent, currently the code uses values "UP" and "DOWN" at some places.
6) In openvswitch/README , the change from quantum-framework -> quantum- should be "quantum" no dash at end.
7) The trunk doesn't have the following spurious methods "get_interface_ details" and "get_all_ attached_ interfaces" so this branch should merge trunk changes.
8) I would be ok with delaying the merge till unit tests are there would be good by me, if thats less work for you.