summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bays <rbays@roatan.(none)>2010-05-25 14:37:40 -0700
committerRobert Bays <rbays@roatan.(none)>2010-05-25 14:37:40 -0700
commitf508cc11b0b62b1735a18c916eb2eed4db08d5d1 (patch)
treeab0342d1eb1c62d358025c426716c0c3481d55d3
parent76ca479d6adf4417e2d97e9e8082fdfb629aaa2f (diff)
downloadvyatta-cfg-quagga-f508cc11b0b62b1735a18c916eb2eed4db08d5d1.tar.gz
vyatta-cfg-quagga-f508cc11b0b62b1735a18c916eb2eed4db08d5d1.zip
re-add the disable-send-comunity node to peer-groups
-rw-r--r--templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/extended/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/node.def2
-rw-r--r--templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/standard/node.def2
3 files changed, 6 insertions, 0 deletions
diff --git a/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/extended/node.def b/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/extended/node.def
new file mode 100644
index 00000000..ddc1844c
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/extended/node.def
@@ -0,0 +1,2 @@
+help: Set to not send extended community attributes to this neighbor
+commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-peergroup-as --as $VAR(../../../@) --neighbor $VAR(../../@)"
diff --git a/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/node.def b/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/node.def
new file mode 100644
index 00000000..c760705e
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/node.def
@@ -0,0 +1,2 @@
+help: Set to not send community attributes to this neighbor
+commit:expression: ($VAR(./extended/) != "") || ($VAR(./standard/) != ""); "protocols bgp $(../../@) neighbor $(../@): you must specify the type of community"
diff --git a/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/standard/node.def b/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/standard/node.def
new file mode 100644
index 00000000..d941da6c
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/standard/node.def
@@ -0,0 +1,2 @@
+help: Set to not send standard community attributes to this neighbor
+commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-peergroup-as --as $VAR(../../../@) --neighbor $VAR(../../@)"