Yes, this is the expected behavior. These deleted VXLAN tunnels in the down 
state are placed in a pool so that it can be reused when more VXLAN tunnels are 
created later. On creating a VXLAN tunnel, any of these deleted ones are reused 
first, before new interfaces are created for the VXLAN tunnel.

Regards,
John

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)
Sent: Tuesday, January 10, 2017 3:45 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Deleting VXLAN interface doesn't delete it from interface 
dump

Hi,

I'm trying delete VXLAN tunnel interfaces and after they are deleted they are 
still in show interfaces but with down state.

vat# exec create vxlan tunnel src 172.16.1.1 dst 172.16.1.2 vni 1
vat# exec create vxlan tunnel src 172.16.1.1 dst 172.16.1.2 vni 2
vat# exec create vxlan tunnel src 172.16.1.1 dst 172.16.1.2 vni 3
vat# exec create vxlan tunnel src 172.16.1.1 dst 172.16.1.2 vni 2 del

vat# exec show vxlan tunnel
[0] src 172.16.1.1 dst 172.16.1.2 vni 1 sw_if_index 3 encap_fib_index 0 
fib_entry_index 19 decap_next l2
[2] src 172.16.1.1 dst 172.16.1.2 vni 3 sw_if_index 5 encap_fib_index 0 
fib_entry_index 19 decap_next l2

vat# exec show interface
              Name               Idx       State          Counter          Count
vxlan_tunnel0                     3         up
vxlan_tunnel1                     4        down
vxlan_tunnel2                     5         up

Is this expected behavior or should I open a Jira ticket?
Loopbacks and subinterfaces are deleted also from show interface.

Thanks,
  Matej
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
  • [vpp-dev] Del... Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)
    • Re: [vpp... John Lo (loj)
      • Re: ... Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)
        • ... John Lo (loj)
          • ... Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)
        • ... Alec Hothan (ahothan)

Reply via email to