[BGPCEP-443] Get operation of pcep-topology returns wrong prefix mask for next-hop addresses Created: 18/Apr/16 Updated: 03/Mar/19 Resolved: 21/Apr/16 |
|
| Status: | Resolved |
| Project: | bgpcep |
| Component/s: | PCEP |
| Affects Version/s: | Bugzilla Migration |
| Fix Version/s: | Bugzilla Migration |
| Type: | Bug | ||
| Reporter: | Ajay Chhabria | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 5743 |
| Description |
|
The actual prefix masks for the next hops used in LSP are configured for /24 not /32 as output below from running the following Get REST call. The ERO's reported during the GET operation reflects /32 for all the hops. <topology xmlns="urn:TBD:params:xml:ns:yang:network-topology"> |
| Comments |
| Comment by Milos Fabian [ 19/Apr/16 ] |
|
Ajay, what ODL version are testing? Could you please share ODL logs with enabled trace logging for PCEP or packet capture to see what bytes are coming to ODL. |
| Comment by Ajay L [ 19/Apr/16 ] |
|
Looks like the prefix value (/32) is coming as part of ERO subobject in PCRpt. So controller is displaying what it is getting from the XRv Tried both PCC and PCE initiated scenarios. In both cases prefix reported is /32 (refer packet # 43, 62 and 68 in attached pcap file). I think this is the case because this is operational data i.e. it shows it actual nodes in the path which is identified by /32 prefix. In PCE initiated case, /24 can be mentioned in add-lsp request -> this is the config from which the actual path will be selected and actual node reflected in the operational data FYI - ERO object is described here: https://tools.ietf.org/html/rfc3209#page-23 An explicit route is described as a list of groups of nodes along the The explicit route is encoded as a series of subobjects contained in To formalize the discussion, we call each group of nodes an abstract |
| Comment by Ajay L [ 19/Apr/16 ] |
|
Attachment pcep-prefix2.pcap has been added with description: Pcap file showing ERO object |
| Comment by Ajay L [ 19/Apr/16 ] |
|
Reg. versions - I am trying with master (Boron) whereas AjayC is on Lithium SR4 |
| Comment by Milos Fabian [ 20/Apr/16 ] |
|
Ajay, you are right - the pcep-topology-provider is always reflecting data from received PcRpt messages. |
| Comment by Ajay Chhabria [ 20/Apr/16 ] |
|
Few things to comment: 1. Firstly, every XRv(hop) is configured with an MPLS TE Router-ID. If an explicit route object is supposed to give the node/abstract node information along the explicit route, shouldn't the XRv send the Router-ID instead of physical interface IP address ? 2. If Controller is reading what XRv is sending and is expecting "node info" along the path to traverse then why does Controller explicit include subnet mask in the ip-prefix schema ? Shouldn't "ip-prefix" be replaced as "node IP" in the operational data ? |
| Comment by Milos Fabian [ 20/Apr/16 ] |
|
(In reply to Ajay Chhabria from comment #6) 1. I am not able to answer, XRv implementation is out of my knowledge/experiences. |
| Comment by Ajay L [ 20/Apr/16 ] |
|
AjayC, few thoughts on your comments: 1. Each node will have multiple physical interfaces. If Router-ID is used instead of physical interface IP address, it will tell which nodes the path pass through, but not necessarily the actual path itself which can be conveyed using interface IP addresses 2. The ERO object (ref. https://tools.ietf.org/html/rfc3209#page-23) is used to carry both config and operational data. Prefix value is needed for config |
| Comment by Milos Fabian [ 21/Apr/16 ] |
|
@AjayC: |
| Comment by Ajay Chhabria [ 21/Apr/16 ] |
|
Thank you Milos and Ajay L for detailed information. Please go ahead and close this bug. Ajay Chhabria |