summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-03-05 12:59:03 +0200
committersever-sever <v.gletenko@vyos.io>2020-04-02 16:07:48 +0300
commitf64e496f5a77d8bdc4127f40557d8da2d640efe3 (patch)
tree248aff9cb5aeb1a67b0273a640b05ac844653341
parentcee68343fba90b0703e806fd3c5c93d74853ec52 (diff)
downloadvyatta-cfg-quagga-f64e496f5a77d8bdc4127f40557d8da2d640efe3.tar.gz
vyatta-cfg-quagga-f64e496f5a77d8bdc4127f40557d8da2d640efe3.zip
bgp: T2100:Bgp route advertisement with rib checks
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl6
-rw-r--r--templates/protocols/bgp/node.tag/parameters/disable-network-import-check/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/parameters/network-import-check/node.def1
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 359eb972..7126716c 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -720,9 +720,9 @@ my %qcom = (
set => 'router bgp #3 ; bgp deterministic-med',
del => 'router bgp #3 ; no bgp deterministic-med',
},
- 'protocols bgp var parameters disable-network-import-check' => {
- set => 'router bgp #3 ; no bgp network import-check',
- del => 'router bgp #3 ; bgp network import-check',
+ 'protocols bgp var parameters network-import-check' => {
+ set => 'router bgp #3 ; bgp network import-check',
+ del => 'router bgp #3 ; no bgp network import-check',
},
'protocols bgp var parameters distance' => {
set => undef,
diff --git a/templates/protocols/bgp/node.tag/parameters/disable-network-import-check/node.def b/templates/protocols/bgp/node.tag/parameters/disable-network-import-check/node.def
deleted file mode 100644
index 30004e64..00000000
--- a/templates/protocols/bgp/node.tag/parameters/disable-network-import-check/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Disable IGP route check for network statements
diff --git a/templates/protocols/bgp/node.tag/parameters/network-import-check/node.def b/templates/protocols/bgp/node.tag/parameters/network-import-check/node.def
new file mode 100644
index 00000000..29e5e916
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/parameters/network-import-check/node.def
@@ -0,0 +1 @@
+help: Enable IGP route check for network statements