[openstack-dev] Fwd: [Juno] LBaaS v1.0 mystery device_id
Brandon Logan
brandon.logan at RACKSPACE.COM
Thu Feb 25 16:24:52 UTC 2016
I do believe it is just an arbitrary uuid. I don't know the decision
behind doing it this way, but I'm sure there were reasons. Or maybe
not :)
https://github.com/openstack/neutron-lbaas/blob/stable/kilo/neutron_lbaas/services/loadbalancer/drivers/common/agent_driver_base.py#L195
On Wed, 2016-02-24 at 16:43 -0800, surekha saharan wrote:
> Hello All,
>
>
> I can't find the "device_id" anywhere the port in vip returns.
>
> Below is the details of a vip, note the port_id
> "03a12958-656f-492b-8114-65d037ad6743"
>
> neutron lb-vip-show b2b11f89-48fc-4fd4-99f9-6f26977f353a
>
> +---------------------+--------------------------------------+
>
> | Field | Value |
>
> +---------------------+--------------------------------------+
>
> | address | 30.0.0.138 |
>
> | admin_state_up | True |
>
> | connection_limit | -1 |
>
> | description | |
>
> | id | b2b11f89-48fc-4fd4-99f9-6f26977f353a |
>
> | name | vip2 |
>
> | pool_id | 4e0a1909-08f9-4124-94c0-ef0650b36512 |
>
> | port_id | 03a12958-656f-492b-8114-65d037ad6743 |
>
> | protocol | HTTP |
>
> | protocol_port | 80 |
>
> | session_persistence | |
>
> | status | ACTIVE |
>
> | status_description | |
>
> | subnet_id | 61ed9305-7b15-484a-b843-cb759aebc163 |
>
> | tenant_id | 3418d53683654d37b47caa1b66b72a21 |
>
> +---------------------+--------------------------------------+
>
>
>
>
>
> Now, if I get the details of the above port, I get the device_id "
> 724fc160-2b2e-597e-b9ed-7f65313cd73f".
> The id of the vip is part of name attribute
> "vip-b2b11f89-48fc-4fd4-99f9-6f26977f353a "
>
>
>
>
> neutron port-show 03a12958-656f-492b-8114-65d037ad6743
>
> +-----------------------+-----------------------------------------------------------------------------------+
>
> | Field | Value
> |
>
> +-----------------------+-----------------------------------------------------------------------------------+
>
> | admin_state_up | True
> |
>
> | allowed_address_pairs |
> |
>
> | binding:host_id | ubuntu
> |
>
> | binding:profile | {}
> |
>
> | binding:vif_details | {"port_filter": true, "ovs_hybrid_plug":
> true} |
>
> | binding:vif_type | ovs
> |
>
> | binding:vnic_type | normal
> |
>
> | device_id | 724fc160-2b2e-597e-b9ed-7f65313cd73f
> |
>
> | device_owner | neutron:LOADBALANCER
> |
>
> | extra_dhcp_opts |
> |
>
> | fixed_ips | {"subnet_id":
> "61ed9305-7b15-484a-b843-cb759aebc163", "ip_address": "30.0.0.138"} |
>
> | id | 03a12958-656f-492b-8114-65d037ad6743
> |
>
> | mac_address | fa:16:3e:ec:2e:3b
> |
>
> | name | vip-b2b11f89-48fc-4fd4-99f9-6f26977f353a
> |
>
> | network_id | ef132b57-edc1-4d64-9591-38b80f73e23f
> |
>
> | security_groups | 3365e9e0-4038-4800-b6b3-364b34e177d1
> |
>
> | status | ACTIVE
> |
>
> | tenant_id | 3418d53683654d37b47caa1b66b72a21
> |
>
> +-----------------------+-----------------------------------------------------------------------------------+
>
>
>
> I cannot find the device_id anywhere as part of "nova list" or any
> other neutron command, what is this device_id referring to.
>
>
> Appreciate any response on this.
>
>
> Regards,
>
> Surekha
>
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev
mailing list