]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add missing parameters for port creation
authorSourabh Patwardhan <sopatwar@cisco.com>
Mon, 10 Mar 2014 21:27:26 +0000 (14:27 -0700)
committerSourabh Patwardhan <sopatwar@cisco.com>
Sat, 29 Mar 2014 02:00:53 +0000 (19:00 -0700)
commit793224b2668f6522c8197bd3c5e3a7612dc4c9f0
treeb66df4f7a1caed73600794b1bc245fe37533b8a9
parenta3e7e260544b43344f0a268b5257ee743e1034ca
Add missing parameters for port creation

Recent API changes in N1KV controller require parameters such as
subnet id and IP address to handle port creation successfully.
Without these mandatory paramters, the REST call fails.
This patch addresses that by passing in the missing parameters
in the REST body.

Change-Id: I4cec6868051f492b9d1245ab201ff6c1a0837848
Closes-Bug: #1290561
neutron/plugins/cisco/n1kv/n1kv_client.py
neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py
neutron/tests/unit/cisco/n1kv/fake_client.py [new file with mode: 0755]
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py