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

l2_xconnect_dump is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 21.01, 21.06
    • 21.01, 21.06
    • L2
    • None

      Running l2_xconnect_dump (even before configuring anything on VPP) causes VPP (>=21.01) to crash.
      To reproduce one may use the VAT utility.

      $ make run-vat
      vat# l2_xconnect_dump
       rx_sw_if_index tx_sw_if_index
      l2_xconnect_dump error: Misc
      

      With VPP running in a separate terminal:

      $ make run
      WARNING: STARTUP_CONF not defined or file doesn't exist.
               Running with minimal startup config:  unix { interactive cli-listen /run/vpp/cli.sock gid 1000 } dpdk { no-pci } 
          _______    _        _   _____  ___ 
       __/ __/ _ \  (_)__    | | / / _ \/ _ \
       _/ _// // / / / _ \   | |/ / ___/ ___/
       /_/ /____(_)_/\___/   |___/_/  /_/    
      
      DBGvpp# /home/mlenco/dev/vpp/src/vnet/l2/l2_api.c:114 (vl_api_l2_xconnect_dump_t_handler) assertion `(swif->sw_if_index) < vec_len (l2im->configs)' fails
      Aborted
      Makefile:519: recipe for target 'run' failed
      make: *** [run] Error 134
      

            nranns Neale Ranns
            milanlenco Milan Lenco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: