Uploaded image for project: 'hicn'
  1. hicn
  2. HICN-385

fix route removal in hicnctrl, code uniformization in hicn-light control api

XMLWordPrintable

      • hicn-light control API does not use the ip_address_t data structure as in the rest of the codebase. Because of uniformization with VPP, padding for IPv4 addresses has been moved before, and thus breaks the population of the commands data structures by libhicnctrl. This change moves to using ip_address_t in the control commands too.
      • accessors to ip_address_t buffer were prone to error due to newly introduced padding before piv4 content. They have been removed and the code adapted consequently.
      • libhicnctrl was incorrectly considering the face_id to be optional for route removal.
      • to avoid divergence between commands.h files used in hicn-light and libhicnctrl, libhicnctrl should use a symlink

      NOTE: this issue fixes a bug triggering the presence of 0.0.0.0 IP addresses in control commands

            jordan.auge Jordan Augé
            jordan.auge Jordan Augé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: