when use nova boot with argument " --nic port-id=port-uuid", novaclient send a post request with body['server']['networks'] = [ {"port": " port-uuid "}] in fact, so i guess
your params is Correct! maybe not jsonize or stringify?



On 08/04/2014 02:22 PM, Parikshit Manur wrote:

Hi All,

I am trying to boot an instance assigned to a particular Neutron Port. CLI command nova boot with argument " --nic port-id=port-uuid" works as expected. But using the same option for the API, using argument " networks: [ {"port": " port-uuid "}] " fails to boot with the port attached.

Am I missing some options in API during POST of servers?

Can you suggest any changes  in the API for this to work?

Thanks,

Parikshit Manur



_______________________________________________
Mailing list:http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     :[email protected]
Unsubscribe :http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to