For a route, suggest set label to 0 if label is not valid

Bug #1617277 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Kumar Harsh

Bug Description

In a query such as this : http://10.204.216.221:8085/Snh_KRouteReq?x=9,

the label is printed as a large value 1048575(label is marked not valid)
Suggest to set the label to 0 in case when label is not valid

{'nh': {'encap_oif_id': '0', 'family': 'AF_INET', 'ref_cnt': '1656', 'flags': 'VALID ', 'vrf': '0', 'rid': '0', 'type': 'DISCARD', 'id': '1', 'encap_family': 'NO_ENCAP'}, 'label_flags': None, 'family': 'AF_INET', 'nh_id': '1', 'label': '1048575', 'prefix': '10.1.2.0', 'vrf_id': '9', 'rid': '0', 'prefix_len': '24'}

Tags: vrouter
Naveen N (naveenn)
Changed in juniperopenstack:
assignee: Naveen N (naveenn) → Kumar Harsh (hkumar)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/24132
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/24749
Submitter: Kumar Harsh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit fe2360ae1cbc01822211fd7ffb1048a5ea52006d
Author: Kumar Harsh <email address hidden>
Date: Fri Oct 7 16:00:37 2016 +0530

For a route, suggest set label to 0 if label is not valid

Change-Id: Ib4ede8ea6f19d12aaf6aa14e081560b33f0a7ca1
Closes-Bug: #1617277

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.