From f508cc11b0b62b1735a18c916eb2eed4db08d5d1 Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Tue, 25 May 2010 14:37:40 -0700 Subject: re-add the disable-send-comunity node to peer-groups --- .../peer-group/node.tag/disable-send-community/extended/node.def | 2 ++ .../bgp/node.tag/peer-group/node.tag/disable-send-community/node.def | 2 ++ .../peer-group/node.tag/disable-send-community/standard/node.def | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/extended/node.def create mode 100644 templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/node.def create mode 100644 templates/protocols/bgp/node.tag/peer-group/node.tag/disable-send-community/standard/node.def (limited to 'templates/protocols/bgp') 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(../../@)" -- cgit v1.2.3