← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1897546] Re: binding_levels property is missing from openstack port show command

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

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

Title:
  binding_levels property is missing from openstack port show command

Status in neutron:
  Expired

Bug description:
  When a port has binding_levels info, openstack cli does not display it when show a port while neutron port-show do.
  Binding_levels info is pretty important when doing a hierarchical port binding.

  OpenStack version: stable/train
  Openstack-cli version:  4.0.1
  Neutron version: 6.14.1

  $ neutron port-show 09efaacc-390b-480a-846f-eb12e8a6c5d4  -f json
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  {
    "allowed_address_pairs": [],
    "extra_dhcp_opts": [
      {
        "opt_value": "192.168.69.2",
        "ip_version": 4,
        "opt_name": "150"
      },
      {
        "opt_value": "192.168.69.2",
        "ip_version": 4,
        "opt_name": "66"
      },
      {
        "opt_value": "192.168.69.2",
        "ip_version": 4,
        "opt_name": "server-ip-address"
      },
      {
        "opt_value": "undionly.kpxe",
        "ip_version": 4,
        "opt_name": "tag:!ipxe,67"
      },
      {
        "opt_value": "http://192.168.69.2:3928/boot.ipxe";,
        "ip_version": 4,
        "opt_name": "tag:ipxe,67"
      }
    ],
    "updated_at": "2020-09-27T15:18:54Z",
    "device_owner": "compute:nova",
    "revision_number": 7,
    "binding:profile": {
      "local_link_information": [
        {
          "port_id": "25GE1/0/41",
          "switch_id": "48:57:02:dc:cf:51"
        }
      ]
    },
    "port_security_enabled": true,
    "fixed_ips": [
      {
        "subnet_id": "08816503-8de8-4aa5-ab05-dceacffd19dd",
        "ip_address": "192.168.86.245"
      }
    ],
    "id": "09efaacc-390b-480a-846f-eb12e8a6c5d4",
    "security_groups": [
      "1ffddca0-b0f1-424c-a410-1ff4acb7475e"
    ],
    "description": "",
    "binding:vif_details": {
      "ovs_hybrid_plug": true,
      "port_filter": true
    },
    "binding:vif_type": "ovs",
    "mac_address": "28:a6:db:a9:92:27",
    "project_id": "3e5f135adb37476c9cc2cd47dc579cfc",
    "status": "ACTIVE",
    "binding:host_id": "64c65f46-426b-42ff-ae19-3c89f8a66c46",
    "binding_levels": [
      {
        "physical_network": "",
        "driver": "huawei_ac_ml2",
        "network_type": "vxlan",
        "segmentation_id": 15998,
        "level": 0
      }
    ],
    "tags": [],
    "device_id": "6b7cb384-ef47-4bf2-b8c4-4ce53f6e57af",
    "name": "",
    "admin_state_up": true,
    "network_id": "9425b757-339d-4954-a17b-dbb3f7061006",
    "tenant_id": "3e5f135adb37476c9cc2cd47dc579cfc",
    "created_at": "2020-09-27T15:18:34Z",
    "binding:vnic_type": "baremetal"
  }

  
  openstack port show 09efaacc-390b-480a-846f-eb12e8a6c5d4 -f json
  {
    "allowed_address_pairs": [],
    "extra_dhcp_opts": [
      {
        "opt_value": "192.168.69.2",
        "ip_version": 4,
        "opt_name": "150"
      },
      {
        "opt_value": "192.168.69.2",
        "ip_version": 4,
        "opt_name": "66"
      },
      {
        "opt_value": "192.168.69.2",
        "ip_version": 4,
        "opt_name": "server-ip-address"
      },
      {
        "opt_value": "undionly.kpxe",
        "ip_version": 4,
        "opt_name": "tag:!ipxe,67"
      },
      {
        "opt_value": "http://192.168.69.2:3928/boot.ipxe";,
        "ip_version": 4,
        "opt_name": "tag:ipxe,67"
      }
    ],
    "updated_at": "2020-09-27T15:18:54Z",
    "dns_domain": null,
    "device_owner": "compute:nova",
    "revision_number": 7,
    "port_security_enabled": true,
    "fixed_ips": [
      {
        "subnet_id": "08816503-8de8-4aa5-ab05-dceacffd19dd",
        "ip_address": "192.168.86.245"
      }
    ],
    "id": "09efaacc-390b-480a-846f-eb12e8a6c5d4",
    "description": "",
    "propagate_uplink_status": null,
    "binding_vnic_type": "baremetal",
    "qos_policy_id": null,
    "location": {
      "project": {
        "domain_id": "default",
        "id": "3e5f135adb37476c9cc2cd47dc579cfc",
        "name": "admin",
        "domain_name": null
      },
      "zone": null,
      "region_name": "RegionOne",
      "cloud": ""
    },
    "mac_address": "28:a6:db:a9:92:27",
    "project_id": "3e5f135adb37476c9cc2cd47dc579cfc",
    "status": "ACTIVE",
    "binding_profile": {
      "local_link_information": [
        {
          "port_id": "25GE1/0/41",
          "switch_id": "48:57:02:dc:cf:51"
        }
      ]
    },
    "binding_vif_type": "ovs",
    "binding_vif_details": {
      "ovs_hybrid_plug": true,
      "port_filter": true
    },
    "tags": [],
    "dns_assignment": null,
    "trunk_details": null,
    "security_group_ids": [
      "1ffddca0-b0f1-424c-a410-1ff4acb7475e"
    ],
    "device_id": "6b7cb384-ef47-4bf2-b8c4-4ce53f6e57af",
    "resource_request": null,
    "name": "",
    "admin_state_up": true,
    "network_id": "9425b757-339d-4954-a17b-dbb3f7061006",
    "dns_name": null,
    "created_at": "2020-09-27T15:18:34Z",
    "data_plane_status": null,
    "binding_host_id": "64c65f46-426b-42ff-ae19-3c89f8a66c46"
  }

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


References