Comment 1 for bug 1612898

Revision history for this message
Ukesh (ukeshkumar) wrote :

nic option in openstack server create command's syntax is,
--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid>

It can be given multiple times, to create multiple interfaces in the VM-instance.

And so, if we split it into network-id / port-id options. How the
optional parameters, 'v4-fixed-ip' and 'v6-fixed-ip' can be handled ?

Ex: if we want two nic, first nic, don't have to pass v4-fixed-ip and second one, we have to pass the fixed ip. We couldn't map in this case.

with current command, we can give as below,
--nic net-id=1234 --nic net-id=5678,v4-fixed-ip=172.2.3.8

with new implementation, how can we pass the v4-fixed-ip (172.2.3.8) to the second network ?,
--network 1234 --network 5678

Please clarify...