11-13-2017 02:57 PM
Trying to use Cisco-IOS-XR-mpls-te-oper in a IOS-XR 6.1.2 router: getting the below error. p2mp-id is defined as int32. The value '3406053898' exceeds int32 integer range.
YDK-cpp: 0.6.2
YANG Models Version: Cisco XR 6.1.2
IOS-XR Version: 6.1.2
[2017-11-13 17:46:30.394] [ydk] [error] Libyang ERROR: Invalid value "3406053898" in "p2mp-id" element. Path: '/Cisco-IOS-XR-mpls-te-oper:mpls-te/p2p-p2mp-tunnel/tunnel-remote-briefs/tunnel-remote-brief[lsp-id='7'][tunnel-id='11'][extended-tunnel-id='10.66.4.202'][source-address='10.66.4.202'][ctype='ctype-ipv4-p2p-tunnel'][destination-address='10.66.4.203'][p2mp-id='3406053898']/p2mp-id'
terminate called after throwing an instance of 'ydk::YCPPModelError'
what(): YCPPModelError: Invalid value "3406053898" in "p2mp-id" element. Path: /Cisco-IOS-XR-mpls-te-oper:mpls-te/p2p-p2mp-tunnel/tunnel-remote-briefs/tunnel-remote-brief[lsp-id='7'][tunnel-id='11'][extended-tunnel-id='10.66.4.202'][source-address='10.66.4.202'][ctype='ctype-ipv4-p2p-tunnel'][destination-address='10.66.4.203'][p2mp-id='3406053898']/p2mp-id
Aborted
Solved! Go to Solution.
11-13-2017 03:45 PM
Hi Hariharan,
Yes the p2mp-id element is defined as type int32, which has a range of between –2,147,483,648 and 2,147,483,647. Assigning it with a value of '3406053898' that is outside that range will indeed trigger the error you're seeing above.
11-13-2017 03:45 PM
Hi Hariharan,
Yes the p2mp-id element is defined as type int32, which has a range of between –2,147,483,648 and 2,147,483,647. Assigning it with a value of '3406053898' that is outside that range will indeed trigger the error you're seeing above.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide