]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: remove encap safi vty related files bgp_encap.h|c
authorLou Berger <lberger@labn.net>
Tue, 23 May 2017 19:34:43 +0000 (15:34 -0400)
committerLou Berger <lberger@labn.net>
Tue, 23 May 2017 19:34:43 +0000 (15:34 -0400)
Signed-off-by: Lou Berger <lberger@labn.net>
bgpd/Makefile.am
bgpd/bgp_encap.c [deleted file]
bgpd/bgp_encap.h [deleted file]
bgpd/bgp_packet.c
bgpd/bgp_route.c
bgpd/bgpd.c
vtysh/Makefile.am

index b6ed9a4d6db726e6d18ce453e901ce57ef2eef81..ad455edfcde343c011ccb39f42604bc6b1b9cc29 100644 (file)
@@ -80,7 +80,7 @@ libbgp_a_SOURCES = \
        bgp_mplsvpn.c bgp_nexthop.c \
        bgp_damp.c bgp_table.c bgp_advertise.c bgp_vty.c bgp_mpath.c \
        bgp_nht.c bgp_updgrp.c bgp_updgrp_packet.c bgp_updgrp_adv.c bgp_bfd.c \
-       bgp_encap.c bgp_encap_tlv.c $(BGP_VNC_RFAPI_SRC) bgp_attr_evpn.c \
+       bgp_encap_tlv.c $(BGP_VNC_RFAPI_SRC) bgp_attr_evpn.c \
        bgp_evpn.c bgp_evpn_vty.c bgp_vpn.c
 
 noinst_HEADERS = \
@@ -91,7 +91,7 @@ noinst_HEADERS = \
        bgp_ecommunity.h bgp_lcommunity.h \
        bgp_mplsvpn.h bgp_nexthop.h bgp_damp.h bgp_table.h \
        bgp_advertise.h bgp_vty.h bgp_mpath.h bgp_nht.h \
-       bgp_updgrp.h bgp_bfd.h bgp_encap.h bgp_encap_tlv.h bgp_encap_types.h \
+       bgp_updgrp.h bgp_bfd.h bgp_encap_tlv.h bgp_encap_types.h \
        $(BGP_VNC_RFAPI_HD) bgp_attr_evpn.h bgp_evpn.h bgp_evpn_vty.h bgp_vpn.h
 
 bgpd_SOURCES = bgp_main.c
diff --git a/bgpd/bgp_encap.c b/bgpd/bgp_encap.c
deleted file mode 100644 (file)
index debd94d..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-
-/*
- * This file created by LabN Consulting, L.L.C.
- *
- *
- * This file is based on bgp_mplsvpn.c which is Copyright (C) 2000
- * Kunihiro Ishiguro <kunihiro@zebra.org>
- *
- */
-
-/* 
-
-This file is part of GNU Zebra.
-
-GNU Zebra is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the
-Free Software Foundation; either version 2, or (at your option) any
-later version.
-
-GNU Zebra is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Zebra; see the file COPYING.  If not, write to the Free
-Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
-#include <zebra.h>
-
-#include "command.h"
-#include "prefix.h"
-#include "log.h"
-#include "memory.h"
-#include "stream.h"
-#include "filter.h"
-
-#include "bgpd/bgpd.h"
-#include "bgpd/bgp_table.h"
-#include "bgpd/bgp_route.h"
-#include "bgpd/bgp_attr.h"
-#include "bgpd/bgp_ecommunity.h"
-#include "bgpd/bgp_lcommunity.h"
-#include "bgpd/bgp_mplsvpn.h"
-#include "bgpd/bgp_vty.h"
-#include "bgpd/bgp_encap.h"
-
-#if ENABLE_BGP_VNC
-#include "bgpd/rfapi/rfapi_backend.h"
-#endif
-
-void
-bgp_encap_init (void)
-{
-}
diff --git a/bgpd/bgp_encap.h b/bgpd/bgp_encap.h
deleted file mode 100644 (file)
index 37ccf13..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/* 
- *
- * Copyright 2009-2015, LabN Consulting, L.L.C.
- *
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
- */
-
-#ifndef _QUAGGA_BGP_ENCAP_H
-#define _QUAGGA_BGP_ENCAP_H
-#include "bgpd/bgp_route.h"
-
-extern void bgp_encap_init (void);
-#include "bgp_encap_types.h"
-#endif /* _QUAGGA_BGP_ENCAP_H */
index 9e813746945b492c0b0a52c302ca7db442045fcb..77395bf8596a9f4ea5b558fc641e88f34d2fef56 100644 (file)
@@ -50,8 +50,6 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 #include "bgpd/bgp_network.h"
 #include "bgpd/bgp_mplsvpn.h"
 #include "bgpd/bgp_evpn.h"
-#include "bgpd/bgp_encap.h"
-#include "bgpd/bgp_evpn.h"
 #include "bgpd/bgp_advertise.h"
 #include "bgpd/bgp_vty.h"
 #include "bgpd/bgp_updgrp.h"
index a4c8f0bd1b5f8c114335bee3bad66f718bccdb92..38e696d11ba76690af5200a86ab36ed713fa39f3 100644 (file)
@@ -53,7 +53,6 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 #include "bgpd/bgp_filter.h"
 #include "bgpd/bgp_fsm.h"
 #include "bgpd/bgp_mplsvpn.h"
-#include "bgpd/bgp_encap.h"
 #include "bgpd/bgp_nexthop.h"
 #include "bgpd/bgp_damp.h"
 #include "bgpd/bgp_advertise.h"
index 1da69c9f3204c9f32b9ca2ed6bd2f0edab714632..94433df2f39277d3058cfe042130adf52a9b1154 100644 (file)
@@ -61,7 +61,6 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 #include "bgpd/bgp_nexthop.h"
 #include "bgpd/bgp_damp.h"
 #include "bgpd/bgp_mplsvpn.h"
-#include "bgpd/bgp_encap.h"
 #if ENABLE_BGP_VNC
 #include "bgpd/rfapi/bgp_rfapi_cfg.h"
 #include "bgpd/rfapi/rfapi_backend.h"
@@ -7695,7 +7694,6 @@ bgp_init (void)
   bgp_route_map_init ();
   bgp_scan_vty_init();
   bgp_mplsvpn_init ();
-  bgp_encap_init ();
 #if ENABLE_BGP_VNC
   rfapi_init ();
 #endif
index 9b81f99607f59e5cb7d639d525abb9614a4f1b66..a8dbb8d71df869f032c38a768ca692e255f6c40f 100644 (file)
@@ -47,7 +47,6 @@ if BGPD
 vtysh_scan += $(top_srcdir)/bgpd/bgp_bfd.c
 vtysh_scan += $(top_srcdir)/bgpd/bgp_debug.c
 vtysh_scan += $(top_srcdir)/bgpd/bgp_dump.c
-vtysh_scan += $(top_srcdir)/bgpd/bgp_encap.c
 vtysh_scan += $(top_srcdir)/bgpd/bgp_evpn_vty.c
 vtysh_scan += $(top_srcdir)/bgpd/bgp_filter.c
 vtysh_scan += $(top_srcdir)/bgpd/bgp_mplsvpn.c