Vm project UUID is made optional for Port Add requests.
Currently the REST interface of contrail-vrouter-agent for Port Adds, makes it mandatory for vm-project-uuid to be specified when the port type is NovaVMPort. In case of thrift interface this was not mandatory. To ensure backward compatibility, vm-project-uuid should be optional even in REST interface. Also change the default value for port-type in vrouter_api.py to NameSpacePort to ensure backward compatibility.
Reviewed: https:/ /review. opencontrail. org/28833 github. org/Juniper/ contrail- controller/ commit/ 41a3809085fb940 e578922fd9fb466 bd3dd7e21d
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 41a3809085fb940 e578922fd9fb466 bd3dd7e21d
Author: ashoksingh <email address hidden>
Date: Thu Feb 16 08:49:07 2017 +0530
Vm project UUID is made optional for Port Add requests.
Currently the REST interface of contrail- vrouter- agent for Port Adds, makes it mandatory for vm-project-uuid to be specified when the port type is NovaVMPort. In case of thrift interface this was not mandatory. To ensure backward compatibility, vm-project-uuid should be optional even in REST interface. Also change the default value for port-type in vrouter_api.py to NameSpacePort to ensure backward compatibility.
Change-Id: I670229824923f5 f282f3f7e98a85c 85dcb09f2b2
Closes-Bug: #1664819