Public bug reported:
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"
}
** Affects: neutron
Importance: Undecided
Status: New
** Description changed:
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
- For neutron port-show::
+ $ 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"
+ }
-
+-----------------------+--------------------------------------------------------------------------------------------------------------------+
- | Field | Value
|
-
+-----------------------+--------------------------------------------------------------------------------------------------------------------+
- | admin_state_up | True
|
- | allowed_address_pairs |
|
- | binding:host_id | 64c65f46-426b-42ff-ae19-3c89f8a66c46
|
- | binding:profile | {"local_link_information": [{"port_id":
"25GE1/0/41", "switch_id": "48:57:02:dc:cf:51"}]} |
- | binding:vif_details | {"ovs_hybrid_plug": true, "port_filter": true}
|
- | binding:vif_type | ovs
|
- | binding:vnic_type | baremetal
|
- | binding_levels | {"physical_network": "", "driver": "huawei_ac_ml2",
"network_type": "vxlan", "segmentation_id": 15998, "level": 0} |
- | created_at | 2020-09-27T15:18:34Z
|
- | description |
|
- | device_id | 6b7cb384-ef47-4bf2-b8c4-4ce53f6e57af
|
- | device_owner | compute:nova
|
- | 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"} |
- | fixed_ips | {"subnet_id":
"08816503-8de8-4aa5-ab05-dceacffd19dd", "ip_address": "192.168.86.245"}
|
- | id | 09efaacc-390b-480a-846f-eb12e8a6c5d4
|
- | mac_address | 28:a6:db:a9:92:27
|
- | name |
|
- | network_id | 9425b757-339d-4954-a17b-dbb3f7061006
|
- | port_security_enabled | True
|
- | project_id | 3e5f135adb37476c9cc2cd47dc579cfc
|
- | revision_number | 7
|
- | security_groups | 1ffddca0-b0f1-424c-a410-1ff4acb7475e
|
- | status | ACTIVE
|
- | tags |
|
- | tenant_id | 3e5f135adb37476c9cc2cd47dc579cfc
|
- | updated_at | 2020-09-27T15:18:54Z
|
-
+-----------------------+--------------------------------------------------------------------------------------------------------------------+
- For openstack port show::
-
-
+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
- | Field | Value
|
-
+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
- | admin_state_up | UP
|
- | allowed_address_pairs |
|
- | binding_host_id | 64c65f46-426b-42ff-ae19-3c89f8a66c46
|
- | binding_profile | local_link_information='[{u'port_id':
u'25GE1/0/41', u'switch_id': u'48:57:02:dc:cf:51'}]'
|
- | binding_vif_details | ovs_hybrid_plug='True', port_filter='True'
|
- | binding_vif_type | ovs
|
- | binding_vnic_type | baremetal
|
- | created_at | 2020-09-27T15:18:34Z
|
- | data_plane_status | None
|
- | description |
|
- | device_id | 6b7cb384-ef47-4bf2-b8c4-4ce53f6e57af
|
- | device_owner | compute:nova
|
- | dns_assignment | None
|
- | dns_domain | None
|
- | dns_name | None
|
- | extra_dhcp_opts | 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='192.168.69.2'
|
- | | ip_version='4', opt_name='tag:!ipxe,67',
opt_value='undionly.kpxe'
|
- | | ip_version='4', opt_name='tag:ipxe,67',
opt_value='http://192.168.69.2:3928/boot.ipxe'
|
- | fixed_ips | ip_address='192.168.86.245',
subnet_id='08816503-8de8-4aa5-ab05-dceacffd19dd'
|
- | id | 09efaacc-390b-480a-846f-eb12e8a6c5d4
|
- | location | cloud='', project.domain_id='default',
project.domain_name=, project.id='3e5f135adb37476c9cc2cd47dc579cfc',
project.name='admin', |
- | | region_name='RegionOne', zone=
|
- | mac_address | 28:a6:db:a9:92:27
|
- | name |
|
- | network_id | 9425b757-339d-4954-a17b-dbb3f7061006
|
- | port_security_enabled | True
|
- | project_id | 3e5f135adb37476c9cc2cd47dc579cfc
|
- | propagate_uplink_status | None
|
- | qos_policy_id | None
|
- | resource_request | None
|
- | revision_number | 7
|
- | security_group_ids | 1ffddca0-b0f1-424c-a410-1ff4acb7475e
|
- | status | ACTIVE
|
- | tags |
|
- | trunk_details | None
|
- | updated_at | 2020-09-27T15:18:54Z
|
-
+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
+ 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"
+ }
--
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:
New
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
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp