Hi,
We have added sr policies in VPP using VPP C API. We now want to fetch these 
policy data similar to what we get in "show sr policies", using VPP C API. How 
can we fetch this data using VPP C API so that the segment list indices are 
similar to those in "show sr policies" command?
Below is a sample output of "show sr policies" : -

vpp# show sr policies
SR policies:
[0].-   BSID: c1::999:3
Behavior: SRH insertion
Type: Default
FIB table: 0
Segment Lists:
[0].- < 2001:19:a1::1, 2001:19:a2::1 > weight: 9
[1].- < 2001:19:a3::1, 2001:19:a4::1 > weight: 9
-----------
[1].-   BSID: c1::999:2
Behavior: SRH insertion
Type: Default
FIB table: 0
Segment Lists:
[2].- < 2001:19:b1::1, 2001:19:b2::1 > weight: 9
[3].- < 2001:19:b3::1, 2001:19:b4::1 > weight: 9
[4].- < 2001:19:b5::1, 2001:19:b6::1 > weight: 9
-----------

We want to get segment list indices 0,1,2,3 and 4 in VPP C API policy data as 
well.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16729): https://lists.fd.io/g/vpp-dev/message/16729
Mute This Topic: https://lists.fd.io/mt/74894689/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to