Comment 3 for bug 1643678

Revision history for this message
Juraj Linkeš (jlinkes) wrote :

Netvirt is not the only ODL backend that would potentially need this. GBP also needs this. From what I can tell, we need to add support for binding:profile for ports:
neutron port-show 87caef9e-cf0e-4e16-9d36-34a48cebce3c
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+-----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | overcloud-novacompute-1.opnfv.org |
| binding:profile | {"migrating_to": "overcloud-novacompute-0.opnfv.org"} |
| binding:vif_details | {"has_datapath_type_netdev": "False", "port_prefix": "socket_", "vhostuser_socket_dir": "/tmp/", "vhostuser_mode": "server", "vhostuser_socket": "/tmp/socket_87caef9", "support_vhost_user": "True"} |
| binding:vif_type | vhostuser |
| binding:vnic_type | normal |
| created_at | 2017-10-17T15:48:55Z |
| description | |
| device_id | 51616a23-0f48-473c-88aa-b812c5a80105 |
| device_owner | compute:None |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "d0aae994-cf4b-4545-b786-f843307ce447", "ip_address": "192.168.20.9"} |
| id | 87caef9e-cf0e-4e16-9d36-34a48cebce3c |
| mac_address | fa:16:3e:4e:79:b6 |
| name | |
| network_id | 655dc327-80b4-4736-ab77-c74c840048f0 |
| port_security_enabled | True |
| project_id | afa74d6142084bc782e0765ad1483295 |
| revision_number | 13 |
| security_groups | b30a5290-10f5-41f3-b84c-0bdea00f3af9 |
| | c458a788-ba7c-4339-bd76-e0e0cf4037cb |
| status | ACTIVE |
| tags | |
| tenant_id | afa74d6142084bc782e0765ad1483295 |
| updated_at | 2017-10-17T15:51:09Z |
+-----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

binding:host_id, binding:vif_details, binding:vif_type and binding:vnic_type are already supported, we just need to add support for binding:profile