Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
master
-
None
-
None
-
Operating System: All
Platform: All
-
6641
-
Normal
Description
Update a Neutron port with an allowed_address_pair and query the port info using Postman.
The allowed_address_pairs info in the port details does not show the ip_address properly.
neutron port-update c4a2ac9f-98d6-483c-8a72-4daf5e4b4ac8 --allowed_address_pairs type=dict list=true ip_address=192.168.1.200
http://127.0.0.1:8080/controller/nb/v2/neutron/ports/c4a2ac9f-98d6-483c-8a72-4daf5e4b4ac8
{
"port": {
"id": "c4a2ac9f-98d6-483c-8a72-4daf5e4b4ac8",
"tenant_id": "a7d11fdce14049bdbbe475c4d627474d",
"network_id": "2ccda909-945c-4bb0-a34e-5d193a96a5a0",
"name": "",
"admin_state_up": true,
"mac_address": "fa:16:3e:c0:62:87",
"fixed_ips": [
],
"device_id": "",
"device_owner": "",
"security_groups": [
],
"allowed_address_pairs": [
],
"binding:host_id": "",
"binding:vnic_type": "normal",
"binding:vif_type": "unbound",
"Map": {},
"extra_dhcp_opts": [],
"port_security_enabled": true
}
}