summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorG. Paul Ziemba <paulz@labn.net>2016-11-04 17:47:36 +0100
committerLou Berger <lberger@labn.net>2017-01-02 21:04:47 +0100
commit5ee62c66a95b9358275e8c883aed5c68b644dcca (patch)
tree20aa424c3fec051b66121b0842fb128986ac17cb /doc
parentlib/command.c: fix leak id'ed by valgrind (diff)
downloadfrr-5ee62c66a95b9358275e8c883aed5c68b644dcca.tar.xz
frr-5ee62c66a95b9358275e8c883aed5c68b644dcca.zip
BGP: deal with vnc related string ambiguities (issue #9)
- "redist foo" parsing modified to check for foo==vnc and foo==vnc-direct instead of just leading 'v' character - string designating ZEBRA_ROUTE_VNC_DIRECT changed from "vpn" to "vnc-direct" - route_types.pl parser recognizes 7th field to restrict availability of a route type in the redist command to specific daemons - restrict "vnc-direct" to bgpd only (doesn't make sense elsewhere) - vnc documentation updated to match Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/vnc.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/vnc.texi b/doc/vnc.texi
index 341cbfcce..b0d2829ca 100644
--- a/doc/vnc.texi
+++ b/doc/vnc.texi
@@ -726,7 +726,7 @@ provided to other protocols, either via zebra or directly to BGP.
It is important to note that when exporting routes to other protocols,
the downstream protocol must also be configured to import the routes.
For example, when VNC routes are exported to unicast BGP, the BGP
-configuration must include a corresponding @code{redistribute vpn}
+configuration must include a corresponding @code{redistribute vnc-direct}
statement.
@deffn {VNC} {export bgp|zebra mode none|group-nve|registering-nve|ce}
@@ -1115,7 +1115,7 @@ The configuration for @code{VNC-GW 1} is shown below.
router bgp 64512
bgp router-id 192.168.1.101
bgp cluster-id 1.2.3.4
- redistribute vpn
+ redistribute vnc-direct
neighbor 192.168.1.102 remote-as 64512
no neighbor 192.168.1.102 activate
neighbor 192.168.1.103 remote-as 64512