← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1756705] [NEW] New Neutron extension for binding levels

 

Public bug reported:

Neutron port hierarchical binding feature is not fully "visible" within
port show CLI command.

Following port binding info is represented as a response to port show
CLI command:

binding:host_id
binding:profile
binding:vif_details
binding:vif_type
binding:vnic_type

hierarchical binding levels information is not represented.

This bug comes to propose adding the binding:levels information.

Example of port sho CLI command output when binding:levels will be added:
+-----------------------+-----------------------------------------------------------------------------------------------------------------+
| Field                 | Value                                                                                                           |
+-----------------------+-----------------------------------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                                            |
| allowed_address_pairs |                                                                                                                 |
| binding:host_id       | rdo-pike-40                                                                                                     |
| binding:levels        | {"physical_network": null, "driver": "openvswitch", "network_type": "vxlan", "segmentation_id": 19, "level": 0} |
| binding:profile       | {"local_link_information": {"vlan_id": "None"}}                                                                 |
| binding:vif_details   | {"port_filter": true, "datapath_type": "system", "ovs_hybrid_plug": true}                                       |
| binding:vif_type      | ovs                                                                                                             |
| binding:vnic_type     | normal                                                                                                          |
| created_at            | 2018-03-18T16:03:29Z                                                                                            |
| description           |                                                                                                                 |
| device_id             | AlteonVX-86                                                                                                     |
| device_owner          | RADWARE-VX                                                                                                      |
| extra_dhcp_opts       |                                                                                                                 |
| fixed_ips             | {"subnet_id": "cd492fa8-41a1-4036-ac45-99c2d03ed092", "ip_address": "192.168.100.11"}                           |
| id                    | a9efefff-197f-4aaa-9285-36a3781651e6                                                                            |
| mac_address           | fa:16:3e:d0:41:e3                                                                                               |
| name                  | srv_fe1ab3bb-2d1a-4b44-a08f-c1c2d7458717-adc-1                                                                  |
| network_id            | fe1ab3bb-2d1a-4b44-a08f-c1c2d7458717                                                                            |
| port_security_enabled | True                                                                                                            |
| project_id            | 15eac8fbbb9341339a222356568a3303                                                                                |
| revision_number       | 4                                                                                                               |
| security_groups       | 951d7fa9-42fc-460f-834f-9b5426e5a383                                                                            |
| status                | DOWN                                                                                                            |
| tags                  |                                                                                                                 |
| tenant_id             | 15eac8fbbb9341339a222356568a3303                                                                                |
| updated_at            | 2018-03-18T16:03:30Z                                                                                            |
+-----------------------+-----------------------------------------------------------------------------------------------------------------+

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1756705

Title:
  New Neutron extension for binding levels

Status in neutron:
  New

Bug description:
  Neutron port hierarchical binding feature is not fully "visible"
  within port show CLI command.

  Following port binding info is represented as a response to port show
  CLI command:

  binding:host_id
  binding:profile
  binding:vif_details
  binding:vif_type
  binding:vnic_type

  hierarchical binding levels information is not represented.

  This bug comes to propose adding the binding:levels information.

  Example of port sho CLI command output when binding:levels will be added:
  +-----------------------+-----------------------------------------------------------------------------------------------------------------+
  | Field                 | Value                                                                                                           |
  +-----------------------+-----------------------------------------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                                                            |
  | allowed_address_pairs |                                                                                                                 |
  | binding:host_id       | rdo-pike-40                                                                                                     |
  | binding:levels        | {"physical_network": null, "driver": "openvswitch", "network_type": "vxlan", "segmentation_id": 19, "level": 0} |
  | binding:profile       | {"local_link_information": {"vlan_id": "None"}}                                                                 |
  | binding:vif_details   | {"port_filter": true, "datapath_type": "system", "ovs_hybrid_plug": true}                                       |
  | binding:vif_type      | ovs                                                                                                             |
  | binding:vnic_type     | normal                                                                                                          |
  | created_at            | 2018-03-18T16:03:29Z                                                                                            |
  | description           |                                                                                                                 |
  | device_id             | AlteonVX-86                                                                                                     |
  | device_owner          | RADWARE-VX                                                                                                      |
  | extra_dhcp_opts       |                                                                                                                 |
  | fixed_ips             | {"subnet_id": "cd492fa8-41a1-4036-ac45-99c2d03ed092", "ip_address": "192.168.100.11"}                           |
  | id                    | a9efefff-197f-4aaa-9285-36a3781651e6                                                                            |
  | mac_address           | fa:16:3e:d0:41:e3                                                                                               |
  | name                  | srv_fe1ab3bb-2d1a-4b44-a08f-c1c2d7458717-adc-1                                                                  |
  | network_id            | fe1ab3bb-2d1a-4b44-a08f-c1c2d7458717                                                                            |
  | port_security_enabled | True                                                                                                            |
  | project_id            | 15eac8fbbb9341339a222356568a3303                                                                                |
  | revision_number       | 4                                                                                                               |
  | security_groups       | 951d7fa9-42fc-460f-834f-9b5426e5a383                                                                            |
  | status                | DOWN                                                                                                            |
  | tags                  |                                                                                                                 |
  | tenant_id             | 15eac8fbbb9341339a222356568a3303                                                                                |
  | updated_at            | 2018-03-18T16:03:30Z                                                                                            |
  +-----------------------+-----------------------------------------------------------------------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1756705/+subscriptions