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

Inconsistent behaviour when adding L2 FIB filter entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 16.09, 16.12
    • None
    • None

      CLI allows to add filter entry without specifying interface id:

      l2fib add 00:11:22:33:44:55 0 filter

      which calls l2fib_add_entry with sw_if_index == ~0,

      but l2fib_add_del message sent using binary apis, results in VNET_API_ERROR_INVALID_SW_IF_INDEX

      (vl_api_l2fib_add_del_t_handler does some validation before calling l2fib_add_entry)

            sk1u06b3 Pavel Kotucek
            mgradzki Marek Gradzki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h