misc: deprecate gbp and its dependents 17/28817/15
authorNeale Ranns <nranns@cisco.com>
Mon, 14 Sep 2020 07:41:48 +0000 (07:41 +0000)
committerDamjan Marion <dmarion@me.com>
Tue, 23 Nov 2021 13:03:36 +0000 (13:03 +0000)
Type: improvement

Signed-off-by: Neale Ranns <nranns@cisco.com>
Signed-off-by: BenoƮt Ganne <bganne@cisco.com>
Change-Id: I2f30a4f04fd9a8635ce2d259b5fd5b0c85cee8c3

72 files changed:
MAINTAINERS
extras/deprecated/plugins/gbp/CMakeLists.txt [moved from src/plugins/gbp/CMakeLists.txt with 100% similarity]
extras/deprecated/plugins/gbp/gbp.api [moved from src/plugins/gbp/gbp.api with 100% similarity]
extras/deprecated/plugins/gbp/gbp.h [moved from src/plugins/gbp/gbp.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_api.c [moved from src/plugins/gbp/gbp_api.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_bridge_domain.c [moved from src/plugins/gbp/gbp_bridge_domain.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_bridge_domain.h [moved from src/plugins/gbp/gbp_bridge_domain.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_classify.c [moved from src/plugins/gbp/gbp_classify.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_classify.h [moved from src/plugins/gbp/gbp_classify.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_classify_node.c [moved from src/plugins/gbp/gbp_classify_node.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_contract.c [moved from src/plugins/gbp/gbp_contract.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_contract.h [moved from src/plugins/gbp/gbp_contract.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_endpoint.c [moved from src/plugins/gbp/gbp_endpoint.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_endpoint.h [moved from src/plugins/gbp/gbp_endpoint.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_endpoint_group.c [moved from src/plugins/gbp/gbp_endpoint_group.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_endpoint_group.h [moved from src/plugins/gbp/gbp_endpoint_group.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_ext_itf.c [moved from src/plugins/gbp/gbp_ext_itf.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_ext_itf.h [moved from src/plugins/gbp/gbp_ext_itf.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_fwd.c [moved from src/plugins/gbp/gbp_fwd.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_fwd_dpo.c [moved from src/plugins/gbp/gbp_fwd_dpo.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_fwd_dpo.h [moved from src/plugins/gbp/gbp_fwd_dpo.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_fwd_node.c [moved from src/plugins/gbp/gbp_fwd_node.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_itf.c [moved from src/plugins/gbp/gbp_itf.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_itf.h [moved from src/plugins/gbp/gbp_itf.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_learn.c [moved from src/plugins/gbp/gbp_learn.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_learn.h [moved from src/plugins/gbp/gbp_learn.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_learn_node.c [moved from src/plugins/gbp/gbp_learn_node.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_policy.c [moved from src/plugins/gbp/gbp_policy.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_policy.h [moved from src/plugins/gbp/gbp_policy.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_policy_dpo.c [moved from src/plugins/gbp/gbp_policy_dpo.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_policy_dpo.h [moved from src/plugins/gbp/gbp_policy_dpo.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_policy_node.c [moved from src/plugins/gbp/gbp_policy_node.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_recirc.c [moved from src/plugins/gbp/gbp_recirc.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_recirc.h [moved from src/plugins/gbp/gbp_recirc.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_route_domain.c [moved from src/plugins/gbp/gbp_route_domain.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_route_domain.h [moved from src/plugins/gbp/gbp_route_domain.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_scanner.c [moved from src/plugins/gbp/gbp_scanner.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_scanner.h [moved from src/plugins/gbp/gbp_scanner.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_subnet.c [moved from src/plugins/gbp/gbp_subnet.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_subnet.h [moved from src/plugins/gbp/gbp_subnet.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_types.h [moved from src/plugins/gbp/gbp_types.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_vxlan.c [moved from src/plugins/gbp/gbp_vxlan.c with 100% similarity]
extras/deprecated/plugins/gbp/gbp_vxlan.h [moved from src/plugins/gbp/gbp_vxlan.h with 100% similarity]
extras/deprecated/plugins/gbp/gbp_vxlan_node.c [moved from src/plugins/gbp/gbp_vxlan_node.c with 100% similarity]
extras/deprecated/plugins/gbp/test_gbp.py [moved from test/test_gbp.py with 100% similarity]
extras/deprecated/plugins/l2e/CMakeLists.txt [moved from src/plugins/l2e/CMakeLists.txt with 100% similarity]
extras/deprecated/plugins/l2e/l2e.api [moved from src/plugins/l2e/l2e.api with 100% similarity]
extras/deprecated/plugins/l2e/l2e.c [moved from src/plugins/l2e/l2e.c with 100% similarity]
extras/deprecated/plugins/l2e/l2e.h [moved from src/plugins/l2e/l2e.h with 100% similarity]
extras/deprecated/plugins/l2e/l2e_api.c [moved from src/plugins/l2e/l2e_api.c with 100% similarity]
extras/deprecated/plugins/l2e/l2e_node.c [moved from src/plugins/l2e/l2e_node.c with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/decap.c [moved from src/vnet/vxlan-gbp/decap.c with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/dir.dox [moved from src/vnet/vxlan-gbp/dir.dox with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/encap.c [moved from src/vnet/vxlan-gbp/encap.c with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/test_vxlan_gbp.py [moved from test/test_vxlan_gbp.py with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/vpp_vxlan_gbp_tunnel.py [moved from test/vpp_vxlan_gbp_tunnel.py with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/vxlan_gbp.api [moved from src/vnet/vxlan-gbp/vxlan_gbp.api with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/vxlan_gbp.c [moved from src/vnet/vxlan-gbp/vxlan_gbp.c with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/vxlan_gbp.h [moved from src/vnet/vxlan-gbp/vxlan_gbp.h with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/vxlan_gbp_api.c [moved from src/vnet/vxlan-gbp/vxlan_gbp_api.c with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/vxlan_gbp_error.def [moved from src/vnet/vxlan-gbp/vxlan_gbp_error.def with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/vxlan_gbp_packet.c [moved from src/vnet/vxlan-gbp/vxlan_gbp_packet.c with 100% similarity]
extras/deprecated/vnet/vxlan-gbp/vxlan_gbp_packet.h [moved from src/vnet/vxlan-gbp/vxlan_gbp_packet.h with 100% similarity]
src/vnet/CMakeLists.txt
src/vnet/l2/l2_fwd.c
src/vnet/l2/l2_input.h
src/vnet/l2/l2_input_node.c
src/vnet/l2/l2_output.h
test/patches/scapy-2.3.3/vxlan.patch
test/patches/scapy-2.4/vxlan.py.patch [deleted file]
test/test_dvr.py
test/vpp_papi_provider.py

index ddcacae..fc04395 100644 (file)
@@ -286,12 +286,6 @@ I: vxlan-gpe
 M:     Hongjun Ni <hongjun.ni@intel.com>
 F:     src/vnet/vxlan-gpe/
 
-VNET VXLAN-GBP
-I:     vxlan-gbp
-M:     Mohsin Kazmi <sykazmi@cisco.com>
-M:     Neale Ranns <neale@graphiant.com>
-F:     src/vnet/vxlan-gbp/
-
 VNET IPIP
 I:     ipip
 Y:     src/vnet/ipip/FEATURE.yaml
@@ -433,11 +427,6 @@ I: builtinurl
 M:     Dave Barach <vpp@barachs.net>
 F:     src/plugins/builtinurl/
 
-Plugin - Group Based Policy (GBP)
-I:     gbp
-M:     Neale Ranns <neale@graphiant.com>
-F:     src/plugins/gbp/
-
 Plugin - GTPU
 I:     gtpu
 M:     Hongjun Ni <hongjun.ni@intel.com>
@@ -693,11 +682,6 @@ I: svs
 M:     Neale Ranns <neale@graphiant.com>
 F:     src/plugins/svs/
 
-Plugin - LAN Emulation
-I:     l2e
-M:     Neale Ranns <neale@graphiant.com>
-F:     src/plugins/l2e/
-
 Plugin - IPv6 Connection Tracker
 I:     ct6
 M:     Dave Barach <vpp@barachs.net>
index 5de06da..5dd7cdb 100644 (file)
@@ -778,30 +778,6 @@ list(APPEND VNET_HEADERS
 
 list(APPEND VNET_API_FILES mpls/mpls.api)
 
-##############################################################################
-# Tunnel protocol: vxlan-gbp
-##############################################################################
-list(APPEND VNET_SOURCES
-  vxlan-gbp/decap.c
-  vxlan-gbp/encap.c
-  vxlan-gbp/vxlan_gbp_api.c
-  vxlan-gbp/vxlan_gbp.c
-  vxlan-gbp/vxlan_gbp_packet.c
-)
-
-list (APPEND VNET_MULTIARCH_SOURCES
-  vxlan-gbp/decap.c
-  vxlan-gbp/encap.c
-)
-
-list(APPEND VNET_HEADERS
-  vxlan-gbp/vxlan_gbp.h
-  vxlan-gbp/vxlan_gbp_packet.h
-  vxlan-gbp/vxlan_gbp_error.def
-)
-
-list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api)
-
 ##############################################################################
 # Tunnel protocol: vxlan-gpe
 ##############################################################################
index 3414f6c..1ee3a53 100644 (file)
@@ -215,8 +215,7 @@ l2fwd_process (vlib_main_t * vm,
        * unless some other feature is inserted before uu_flood
        */
       if (vnet_buffer (b0)->l2.feature_bitmap &
-         (L2INPUT_FEAT_UU_FLOOD |
-          L2INPUT_FEAT_UU_FWD | L2INPUT_FEAT_GBP_FWD))
+         (L2INPUT_FEAT_UU_FLOOD | L2INPUT_FEAT_UU_FWD))
        {
          *next0 = vnet_l2_feature_next (b0, msm->feat_next_node_index,
                                         L2INPUT_FEAT_FWD);
index ba4c4b6..7d1dc9c 100644 (file)
@@ -136,17 +136,10 @@ l2input_bd_config (u32 bd_index)
  _(ARP_UFWD,      "l2-uu-fwd")                  \
  _(ARP_TERM,      "arp-term-l2bd")              \
  _(UU_FLOOD,      "l2-flood")                   \
- _(GBP_FWD,       "gbp-fwd")                    \
  _(UU_FWD,        "l2-uu-fwd")                  \
  _(FWD,           "l2-fwd")                     \
  _(RW,            "l2-rw")                      \
  _(LEARN,         "l2-learn")                   \
- _(L2_EMULATION,  "l2-emulation")               \
- _(GBP_LEARN,     "gbp-learn-l2")               \
- _(GBP_LPM_ANON_CLASSIFY, "l2-gbp-lpm-anon-classify") \
- _(GBP_NULL_CLASSIFY, "gbp-null-classify")      \
- _(GBP_SRC_CLASSIFY,  "gbp-src-classify")       \
- _(GBP_LPM_CLASSIFY,  "l2-gbp-lpm-classify")    \
  _(VTR,           "l2-input-vtr")               \
  _(L2_IP_QOS_RECORD, "l2-ip-qos-record")        \
  _(VPATH,         "vpath-input-l2")             \
index 3638a8a..74625b2 100644 (file)
@@ -141,9 +141,8 @@ classify_and_dispatch (l2input_main_t * msm, vlib_buffer_t * b0, u16 * next0)
       u8 protocol = ((ip6_header_t *) l3h0)->protocol;
 
       /* Disable bridge forwarding (flooding will execute instead if not xconnect) */
-      feat_mask &= ~(L2INPUT_FEAT_FWD |
-                    L2INPUT_FEAT_UU_FLOOD |
-                    L2INPUT_FEAT_UU_FWD | L2INPUT_FEAT_GBP_FWD);
+      feat_mask &=
+       ~(L2INPUT_FEAT_FWD | L2INPUT_FEAT_UU_FLOOD | L2INPUT_FEAT_UU_FWD);
 
       if (ethertype != ETHERNET_TYPE_ARP)
        feat_mask &= ~(L2INPUT_FEAT_ARP_UFWD);
index 1cc1e73..201f5e1 100644 (file)
@@ -81,9 +81,6 @@ extern vlib_node_registration_t l2output_node;
 #define foreach_l2output_feat \
  _(OUTPUT,            "interface-output")           \
  _(SPAN,              "span-l2-output")             \
- _(GBP_POLICY_LPM,    "gbp-policy-lpm")            \
- _(GBP_POLICY_PORT,   "gbp-policy-port")            \
- _(GBP_POLICY_MAC,    "gbp-policy-mac")             \
  _(CFM,               "feature-bitmap-drop")        \
  _(QOS,               "feature-bitmap-drop")        \
  _(ACL,               "l2-output-acl")              \
index 71493dd..556df4d 100644 (file)
@@ -8,5 +8,4 @@ diff --git a/scapy/layers/vxlan.py b/scapy/layers/vxlan.py
 +bind_layers(UDP, VXLAN, dport=4790)  # RFC standard vxlan-gpe port
  bind_layers(UDP, VXLAN, dport=6633)  # New IANA assigned port for use with NSH
  bind_layers(UDP, VXLAN, dport=8472)  # Linux implementation port
-+bind_layers(UDP, VXLAN, dport=48879) # RFC standard vxlan-gbp port
  bind_layers(VXLAN, Ether, {'flags': 0x8})
diff --git a/test/patches/scapy-2.4/vxlan.py.patch b/test/patches/scapy-2.4/vxlan.py.patch
deleted file mode 100644 (file)
index c5876a4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/scapy/layers/vxlan.py b/scapy/layers/vxlan.py
-index 03c3a5a..ee30f28 100644
---- a/scapy/layers/vxlan.py
-+++ b/scapy/layers/vxlan.py
-@@ -69,6 +69,7 @@ bind_layers(UDP, VXLAN, dport=4789)  # RFC standard vxlan port
- bind_layers(UDP, VXLAN, dport=4790)  # RFC standard vxlan-gpe port
- bind_layers(UDP, VXLAN, dport=6633)  # New IANA assigned port for use with NSH
- bind_layers(UDP, VXLAN, dport=8472)  # Linux implementation port
-+bind_layers(UDP, VXLAN, dport=48879) # iVXLAN port
- bind_layers(UDP, VXLAN, sport=4789)
- bind_layers(UDP, VXLAN, sport=4790)
- bind_layers(UDP, VXLAN, sport=6633)
index 8531b85..c0424a3 100644 (file)
@@ -252,159 +252,6 @@ class TestDVR(VppTestCase):
         sub_if_on_pg3.remove_vpp_config()
         sub_if_on_pg2.remove_vpp_config()
 
-    def test_l2_emulation(self):
-        """ L2 Emulation """
-
-        #
-        # non distinct L3 packets, in the tag/non-tag combos
-        #
-        pkt_no_tag = (Ether(src=self.pg0.remote_mac,
-                            dst=self.pg1.remote_mac) /
-                      IP(src="2.2.2.2",
-                         dst="1.1.1.1") /
-                      UDP(sport=1234, dport=1234) /
-                      Raw(b'\xa5' * 100))
-        pkt_to_tag = (Ether(src=self.pg0.remote_mac,
-                            dst=self.pg2.remote_mac) /
-                      IP(src="2.2.2.2",
-                         dst="1.1.1.2") /
-                      UDP(sport=1234, dport=1234) /
-                      Raw(b'\xa5' * 100))
-        pkt_from_tag = (Ether(src=self.pg3.remote_mac,
-                              dst=self.pg2.remote_mac) /
-                        Dot1Q(vlan=93) /
-                        IP(src="2.2.2.2",
-                           dst="1.1.1.1") /
-                        UDP(sport=1234, dport=1234) /
-                        Raw(b'\xa5' * 100))
-        pkt_from_to_tag = (Ether(src=self.pg3.remote_mac,
-                                 dst=self.pg2.remote_mac) /
-                           Dot1Q(vlan=93) /
-                           IP(src="2.2.2.2",
-                              dst="1.1.1.2") /
-                           UDP(sport=1234, dport=1234) /
-                           Raw(b'\xa5' * 100))
-        pkt_bcast = (Ether(src=self.pg0.remote_mac,
-                           dst="ff:ff:ff:ff:ff:ff") /
-                     IP(src="2.2.2.2",
-                        dst="255.255.255.255") /
-                     UDP(sport=1234, dport=1234) /
-                     Raw(b'\xa5' * 100))
-
-        #
-        # A couple of sub-interfaces for tags
-        #
-        sub_if_on_pg2 = VppDot1QSubint(self, self.pg2, 92)
-        sub_if_on_pg3 = VppDot1QSubint(self, self.pg3, 93)
-        sub_if_on_pg2.admin_up()
-        sub_if_on_pg3.admin_up()
-
-        #
-        # Put all the interfaces into a new bridge domain
-        #
-        self.vapi.sw_interface_set_l2_bridge(
-            rx_sw_if_index=self.pg0.sw_if_index, bd_id=1)
-        self.vapi.sw_interface_set_l2_bridge(
-            rx_sw_if_index=self.pg1.sw_if_index, bd_id=1)
-        self.vapi.sw_interface_set_l2_bridge(
-            rx_sw_if_index=sub_if_on_pg2.sw_if_index, bd_id=1)
-        self.vapi.sw_interface_set_l2_bridge(
-            rx_sw_if_index=sub_if_on_pg3.sw_if_index, bd_id=1)
-        self.vapi.l2_interface_vlan_tag_rewrite(
-            sw_if_index=sub_if_on_pg2.sw_if_index, vtr_op=L2_VTR_OP.L2_POP_1,
-            push_dot1q=92)
-        self.vapi.l2_interface_vlan_tag_rewrite(
-            sw_if_index=sub_if_on_pg3.sw_if_index, vtr_op=L2_VTR_OP.L2_POP_1,
-            push_dot1q=93)
-
-        #
-        # Disable UU flooding, learning and ARP termination. makes this test
-        # easier as unicast packets are dropped if not extracted.
-        #
-        self.vapi.bridge_flags(bd_id=1, is_set=0,
-                               flags=(1 << 0) | (1 << 3) | (1 << 4))
-
-        #
-        # Add a DVR route to steer traffic at L3
-        #
-        route_1 = VppIpRoute(
-            self, "1.1.1.1", 32,
-            [VppRoutePath("0.0.0.0",
-                          self.pg1.sw_if_index,
-                          type=FibPathType.FIB_PATH_TYPE_DVR)])
-        route_2 = VppIpRoute(
-            self, "1.1.1.2", 32,
-            [VppRoutePath("0.0.0.0",
-                          sub_if_on_pg2.sw_if_index,
-                          type=FibPathType.FIB_PATH_TYPE_DVR)])
-        route_1.add_vpp_config()
-        route_2.add_vpp_config()
-
-        #
-        # packets are dropped because bridge does not flood unknown unicast
-        #
-        self.send_and_assert_no_replies(self.pg0, pkt_no_tag)
-
-        #
-        # Enable L3 extraction on pgs
-        #
-        self.vapi.l2_emulation(self.pg0.sw_if_index)
-        self.vapi.l2_emulation(self.pg1.sw_if_index)
-        self.vapi.l2_emulation(sub_if_on_pg2.sw_if_index)
-        self.vapi.l2_emulation(sub_if_on_pg3.sw_if_index)
-
-        #
-        # now we expect the packet forward according to the DVR route
-        #
-        rx = self.send_and_expect(self.pg0, pkt_no_tag * NUM_PKTS, self.pg1)
-        self.assert_same_mac_addr(pkt_no_tag, rx)
-        self.assert_has_no_tag(rx)
-
-        rx = self.send_and_expect(self.pg0, pkt_to_tag * NUM_PKTS, self.pg2)
-        self.assert_same_mac_addr(pkt_to_tag, rx)
-        self.assert_has_vlan_tag(92, rx)
-
-        rx = self.send_and_expect(self.pg3, pkt_from_tag * NUM_PKTS, self.pg1)
-        self.assert_same_mac_addr(pkt_from_tag, rx)
-        self.assert_has_no_tag(rx)
-
-        rx = self.send_and_expect(self.pg3,
-                                  pkt_from_to_tag * NUM_PKTS,
-                                  self.pg2)
-        self.assert_same_mac_addr(pkt_from_tag, rx)
-        self.assert_has_vlan_tag(92, rx)
-
-        #
-        # but broadcast packets are still flooded
-        #
-        self.send_and_expect(self.pg0, pkt_bcast * 33, self.pg2)
-
-        #
-        # cleanup
-        #
-        self.vapi.l2_emulation(self.pg0.sw_if_index,
-                               enable=0)
-        self.vapi.l2_emulation(self.pg1.sw_if_index,
-                               enable=0)
-        self.vapi.l2_emulation(sub_if_on_pg2.sw_if_index,
-                               enable=0)
-        self.vapi.l2_emulation(sub_if_on_pg3.sw_if_index,
-                               enable=0)
-
-        self.vapi.sw_interface_set_l2_bridge(
-            rx_sw_if_index=self.pg0.sw_if_index, bd_id=1, enable=0)
-        self.vapi.sw_interface_set_l2_bridge(
-            rx_sw_if_index=self.pg1.sw_if_index, bd_id=1, enable=0)
-        self.vapi.sw_interface_set_l2_bridge(
-            rx_sw_if_index=sub_if_on_pg2.sw_if_index, bd_id=1, enable=0)
-        self.vapi.sw_interface_set_l2_bridge(
-            rx_sw_if_index=sub_if_on_pg3.sw_if_index, bd_id=1, enable=0)
-
-        route_1.remove_vpp_config()
-        route_2.remove_vpp_config()
-        sub_if_on_pg3.remove_vpp_config()
-        sub_if_on_pg2.remove_vpp_config()
-
 
 if __name__ == '__main__':
     unittest.main(testRunner=VppTestRunner)
index 0d52145..1c5b6c5 100644 (file)
@@ -652,10 +652,6 @@ class VppPapiProvider(object):
                             'is_ip6': is_ip6
                         }})
 
-    def vxlan_gbp_tunnel_dump(self, sw_if_index=0xffffffff):
-        return self.api(self.papi.vxlan_gbp_tunnel_dump,
-                        {'sw_if_index': sw_if_index})
-
     def pppoe_add_del_session(
             self,
             client_ip,
@@ -960,30 +956,6 @@ class VppPapiProvider(object):
         return self.api(self.papi.punt_socket_deregister,
                         {'punt': reg})
 
-    def gbp_endpoint_dump(self):
-        """ GBP endpoint Dump """
-        return self.api(self.papi.gbp_endpoint_dump, {})
-
-    def gbp_recirc_dump(self):
-        """ GBP recirc Dump """
-        return self.api(self.papi.gbp_recirc_dump, {})
-
-    def gbp_ext_itf_dump(self):
-        """ GBP recirc Dump """
-        return self.api(self.papi.gbp_ext_itf_dump, {})
-
-    def gbp_subnet_dump(self):
-        """ GBP Subnet Dump """
-        return self.api(self.papi.gbp_subnet_dump, {})
-
-    def gbp_contract_dump(self):
-        """ GBP contract Dump """
-        return self.api(self.papi.gbp_contract_dump, {})
-
-    def gbp_vxlan_tunnel_dump(self):
-        """ GBP VXLAN tunnel add/del """
-        return self.api(self.papi.gbp_vxlan_tunnel_dump, {})
-
     def igmp_enable_disable(self, sw_if_index, enable, host):
         """ Enable/disable IGMP on a given interface """
         return self.api(self.papi.igmp_enable_disable,