Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1261

Incorrect API definition for FibPath in ip.api

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: High High
    • None
    • 18.04
    • VPP API Infra

      One field seems to have the API defined incorrectly:

      [
      
          "vl_api_fib_mpls_label_t",
          "label_stack",
          16
      ]

       

       should be: 

      [
          "vl_api_fib_mpls_label_t",
          "label_stack",
          0,
          "n_label"
      ]

       

      This causes our bin api generator (GoVPP) to produce code which cannot be encoded/decoded automatically. We have to manually fix this after every generator execution.

            nranns Neale Ranns
            ondrej-fabry Ondrej Fabry
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: