From 917f5893a0d56a94a202b01eee4673f9e4b5a4b1 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 18 Jan 2010 13:09:03 -0800 Subject: Allow none as argument to set community --- .../policy/route-map/node.tag/rule/node.tag/set/community/node.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def index b8dcf529..c7643436 100644 --- a/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def +++ b/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def @@ -7,10 +7,10 @@ comp_help: \1 \t\tcommunity in 4 octet AS:value format no-advertise\tdon't advertise this route to any peer (NO_ADVERTISE) no-export\t\tdon't advertise outside of this AS of confederation boundry (NO_EXPORT) -allowed:echo "local-as no-advertise no-export internet additive" +allowed:echo "none local-AS no-advertise no-export internet additive" syntax:expression: pattern $VAR(@) "^[[:digit:]]+:[[:digit:]]+$" \ - || $VAR(@) in "local-as", "no-advertise","no-export","internet","additive" \ + || $VAR(@) in "none","local-AS","no-advertise","no-export","internet","additive" \ ; "$VAR(@): Unknown community string or attribute" commit:expression: $VAR(../../action/) != ""; \ -- cgit v1.2.3