From 220312c74b4d73072e6cbc0137785c031a634aae Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 18 Apr 2021 13:58:06 +0200 Subject: xml: policy: T2425: add additional valueHelp or completionHelp nodes * community-list gained proper valueHelp nodes * route-map set community gained proper valueHelp nodes * route-map set comm-list now has a completion helper searching in "policy community-list" --- interface-definitions/policy.xml.in | 58 +++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 18 deletions(-) (limited to 'interface-definitions/policy.xml.in') diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 3a769dea1..cd22052f0 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -166,7 +166,7 @@ Regular expression to match against an AS path - <asn> + txt AS path regular expression (ex: "64501 64502") @@ -201,10 +201,33 @@ #include - Regular expression to match against a community list + Regular expression to match against a community-list + + local-AS no-advertise no-export internet additive + <aa:nn> - Community list regular expression or one of: internet, local-AS, no-advertise, no-export + Community number in AA:NN format + + + local-AS + Well-known communities value NO_EXPORT_SUBCONFED 0xFFFFFF03 + + + no-advertise + Well-known communities value NO_ADVERTISE 0xFFFFFF02 + + + no-export + Well-known communities value NO_EXPORT 0xFFFFFF01 + + + internet + Well-known communities value 0 + + + additive + New value is appended to the existing value @@ -246,11 +269,11 @@ <rt aa:nn:nn> - Extended community list regular expression + Route Target regular expression - <soo aa:nn> - Extended community list regular expression + <soo aa:nn:nn> + Site of Origin regular expression @@ -287,7 +310,7 @@ Regular expression to match against a large community list <aa:nn:nn> - Large community list regular expression + Large Community value @@ -913,6 +936,9 @@ BGP communities with a community-list + + policy community-list + txt BGP communities with a community-list @@ -935,36 +961,32 @@ <aa:nn> - Community in 4 octet AS:value format + Community number in AA:NN format local-AS - local-AS + Well-known communities value NO_EXPORT_SUBCONFED 0xFFFFFF03 no-advertise - no-advertise + Well-known communities value NO_ADVERTISE 0xFFFFFF02 no-export - no-export + Well-known communities value NO_EXPORT 0xFFFFFF01 internet - internet + Well-known communities value 0 additive - additive + New value is appended to the existing value none - none + No community attribute - -- cgit v1.2.3