Allowed address pair: port show returns prefix len(/32) even when ip address is configure

Bug #1410634 reported by Prakash Bailkeri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Medium
Prakash Bailkeri

Bug Description

neutron port-update 7f5688e8-bdbb-4d1c-b28d-ae671bd300d8 --allowed-address-pairs type=dict list=true ip_address=10.66.66.66
Updated port: 7f5688e8-bdbb-4d1c-b28d-ae671bd300d8

neutron port-show 7f5688e8-bdbb-4d1c-b28d-ae671bd300d8
+-----------------------+----------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+----------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | {"ip_address": "10.66.66.66/32", "mac_address": "02:7f:56:88:e8:bd"} | <<< /32 is added >>>
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "a36d5a9a-d705-490d-923c-0f1f63328204", "ip_address": "10.60.0.2"} |
| id | 7f5688e8-bdbb-4d1c-b28d-ae671bd300d8 |
| mac_address | 02:7f:56:88:e8:bd |
| name | xxx |
| network_id | 2ddc2294-c86c-46e4-ab68-4c4f4cd93fd4 |
| security_groups | e4faa161-2114-44f0-9ab2-1f1f2dfebd8a |
| status | DOWN |
| tenant_id | fd1a1d755e6a4085b79f8fcb7ffa0efb |
+-----------------------+----------------------------------------------------------------------------------+

Tags: config
Changed in juniperopenstack:
status: New → In Progress
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/6400
Committed: http://github.org/Juniper/contrail-controller/commit/5b90b80b4755e6d668112f315bf643733ae5684a
Submitter: Zuul
Branch: R2.1

commit 5b90b80b4755e6d668112f315bf643733ae5684a
Author: Prakash Bailkeri <email address hidden>
Date: Fri Jan 16 03:53:30 2015 -0800

Allowed address pair port-show: Do not display prefix length for host address(/32). Display only for subnet prefix.

This fix is done to match the neutron port-show output with stock devstack

Change-Id: I25307e4f316438bbf945e1a339ae0478da83b2af
Closes-Bug: 1410634

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/6262
Committed: http://github.org/Juniper/contrail-controller/commit/b8e931edc87977ded74b63ec474e5f31ce2c7964
Submitter: Zuul
Branch: master

commit b8e931edc87977ded74b63ec474e5f31ce2c7964
Author: Prakash Bailkeri <email address hidden>
Date: Fri Jan 16 03:53:30 2015 -0800

Allowed address pair port-show: Do not display prefix length for host address(/32). Display only for subnet prefix.

This fix is done to match the neutron port-show output with stock devstack

Change-Id: I25307e4f316438bbf945e1a339ae0478da83b2af
Closes-Bug: 1410634

Changed in juniperopenstack:
status: In Progress → Fix Committed
information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.