Uploaded image for project: 'hc2vpp'
  1. hc2vpp
  2. HC2VPP-353

VPP API does not provide locator length in SRv6 configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 18.07
    • srv6
    • None

      SRv6 Model uses Sid functions, which are split to "locator" and "optional code" parts.
      VPP and VPP java API does not provide these data in the same form. VPP uses only one IPv6 address to define SRv6 Sid Function and doesn't provide a way to split the IPv6 address to match the model. 

      VPP should define locator length and provide it in API calls, so it is possible to split local SID address to locator and function part. One option is to use IpPrefix instead of Ipv6 address. Until this is fixed we can use default length which will be used in cases when length cannot be resolved. For example when there is SRv6 already configured in VPP and honeycomb is starting, it tries to resolve mappings for locators, but no mappings are present. The only option here is to use default value for locator length.

            mcmarada Michal Cmarada
            mcmarada Michal Cmarada
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: