From d4e43b91337856b157a48161db69b53efbde1d9c Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 30 Sep 2024 16:11:55 +0200 Subject: policy: T6751: add missing completion helpers for community-list Add all missing, well-known values for the community-list regex. (cherry picked from commit 3e94e5e318b852dfca36e64d078728d4f5d5304c) --- interface-definitions/policy.xml.in | 48 +++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index eb907cb9e..cbab6173f 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -202,11 +202,11 @@ Regular expression to match against a community-list - local-AS no-advertise no-export internet additive + local-AS no-advertise no-export internet graceful-shutdown accept-own-nexthop accept-own route-filter-translated-v4 route-filter-v4 route-filter-translated-v6 route-filter-v6 llgr-stale no-llgr blackhole no-peer additive <aa:nn> - Community number in AA:NN format + Community number in AA:NN format where AA and NN are (0-65535) local-AS @@ -224,6 +224,50 @@ internet Well-known communities value 0 + + graceful-shutdown + Well-known communities value GRACEFUL_SHUTDOWN 0xFFFF0000 + + + accept-own-nexthop + Well-known communities value ACCEPT_OWN_NEXTHOP 0xFFFF0008 + + + accept-own + Well-known communities value ACCEPT_OWN 0xFFFF0001 65535:1 + + + route-filter-translated-v4 + Well-known communities value ROUTE_FILTER_TRANSLATED_v4 0xFFFF0002 65535:2 + + + route-filter-v4 + Well-known communities value ROUTE_FILTER_v4 0xFFFF0003 65535:3 + + + route-filter-translated-v6 + Well-known communities value ROUTE_FILTER_TRANSLATED_v6 0xFFFF0004 65535:4 + + + route-filter-v6 + Well-known communities value ROUTE_FILTER_v6 0xFFFF0005 65535:5 + + + llgr-stale + Well-known communities value LLGR_STALE 0xFFFF0006 65535:6 + + + no-llgr + Well-known communities value NO_LLGR 0xFFFF0007 65535:7 + + + blackhole + Well-known communities value BLACKHOLE 0xFFFF029A 65535:666 + + + no-peer + Well-known communities value NOPEER 0xFFFFFF04 65535:65284 + additive New value is appended to the existing value -- cgit v1.2.3