]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Updating address pairs with xml doesn't work
authorzhhuabj <zhhuabj@cn.ibm.com>
Sat, 12 Oct 2013 09:31:38 +0000 (17:31 +0800)
committerzhhuabj <zhhuabj@cn.ibm.com>
Tue, 15 Oct 2013 06:03:10 +0000 (14:03 +0800)
commit893e10b0add63b364eb6d92715967c45028fa692
treedda69f4dc1d2625a50902d0ecab51ba0027d7f95
parent8ed9b2c2c090e1282ef0448b4e1a99d76cc8187d
Updating address pairs with xml doesn't work

Below command can't work because list element
"allowed_address_pairs" hasn't been updated
into the varaiable "attr.PLURALS"
"neutron port-update <port-uuid> \
--allowed-address-pairs list=true type=dict \
ip_address=10.0.0.1 --request-format xml"

Change-Id: I0d7dcca5f4848bc968f5c86fbeb46569c70c8fcd
Closes-Bug: #1229954
neutron/extensions/allowedaddresspairs.py
neutron/tests/unit/test_extension_allowedaddresspairs.py