[Openstack-operators] quantum port-create without fixed ip

Shyam Goud shyam.todeti at oneconvergence.com
Thu Sep 19 12:19:00 UTC 2013


All,

There is any option to the port-create cli command to tell it not to 
assign an IP adress, when the net has an associated subnet ?

When I use port-create without fixed-ip option, it is using one of the 
subnet associated with the net.

    root at nvp:~# quantum port-create 94fa8146-97a8-4411-a0b5-c1f5fd507dfd
    Created a new port:
    +----------------+------------------------------------------------------------------------------------+
    | Field          | Value |
    +----------------+------------------------------------------------------------------------------------+
    | admin_state_up | True |
    | device_id | |
    | device_owner | |
    | fixed_ips      | {"subnet_id":
    "7f6ca55e-3827-4442-859e-467219d5f599", *"ip_address": "172.16.30.5"*} |
    | id             | 2b401b5a-07ff-44cd-952d-79df4f29230b |
    | mac_address    | fa:16:3e:36:37:2b |
    | name | |
    | network_id     | 94fa8146-97a8-4411-a0b5-c1f5fd507dfd |
    | status         | ACTIVE |
    | tenant_id      | b5cbf5e6b42943afb785ed6c576d0350 |
    +----------------+------------------------------------------------------------------------------------+
    root at nvp:~#

Thanks,
Shyam.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130919/ee9288d3/attachment.html>


More information about the OpenStack-operators mailing list