]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_vty.c
bgpd: add define of compilation for vpn commands
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 18 Jan 2017 11:27:52 +0000 (12:27 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 18 Jan 2017 11:39:46 +0000 (12:39 +0100)
commitd6902373107d0e460d85e8342b0d2fff18b08a97
treef3b132ab57c4525eb0d5ea8d1ce9f4d3fff9cc72
parent28436d6d269bacf3297ce2f6a6fafa42a1536323
bgpd: add define of compilation for vpn commands

Use KEEP_OLD_VPN_COMMANDS define to brace some vty commands used by bgp
to configure or show vpnvx contexts using old method, that is to say
using vty keyword vpnv4 or vpnv6 command.
In addition to this, the commit adds two new commands under route-map
with new format:
[no] set ipv4|ipv6 vpn nexthop <IPv4 Address> | <IPv6 Address>
It also add following command in old format:
[no] set vpnv6 nexthop <IPv6 Address>
Note that the commit does not take into account the availability of old
commands that are not available in new format.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h
bgpd/bgp_route.c
bgpd/bgp_routemap.c
bgpd/bgp_vty.c