From 42c20fe12abdadbb45d1cc0e91555f891b91a4bb Mon Sep 17 00:00:00 2001 From: abdosi <58047199+abdosi@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:28:40 -0700 Subject: [PATCH] Update result_base.conf --- .../data/voq_chassis/policies.conf/result_base.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/sonic-bgpcfgd/tests/data/voq_chassis/policies.conf/result_base.conf b/src/sonic-bgpcfgd/tests/data/voq_chassis/policies.conf/result_base.conf index f0e3771d1a39..ae8ab9158b6b 100644 --- a/src/sonic-bgpcfgd/tests/data/voq_chassis/policies.conf/result_base.conf +++ b/src/sonic-bgpcfgd/tests/data/voq_chassis/policies.conf/result_base.conf @@ -2,6 +2,7 @@ ! template: bgpd/templates/voq_chassis/policies.conf.j2 ! bgp community-list standard DEVICE_INTERNAL_COMMUNITY permit 12345:556 +bgp community-list standard DEVICE_INTERNAL_FALLBACK_COMMUNITY permit 8075:9307 bgp community-list standard NO_EXPORT permit no-export ! route-map FROM_VOQ_CHASSIS_V4_PEER permit 1 @@ -12,6 +13,12 @@ route-map FROM_VOQ_CHASSIS_V4_PEER permit 1 route-map FROM_VOQ_CHASSIS_V4_PEER permit 2 match community NO_EXPORT set local-preference 80 + on-match next +! +route-map FROM_VOQ_CHASSIS_V4_PEER permit 3 + match community DEVICE_INTERNAL_FALLBACK_COMMUNITY + set comm-list DEVICE_INTERNAL_FALLBACK_COMMUNITY delete + set tag 203 ! route-map FROM_VOQ_CHASSIS_V4_PEER permit 100 ! @@ -33,6 +40,12 @@ route-map FROM_VOQ_CHASSIS_V6_PEER permit 2 route-map FROM_VOQ_CHASSIS_V6_PEER permit 3 match community NO_EXPORT set local-preference 80 + on-match next +! +route-map FROM_VOQ_CHASSIS_V6_PEER permit 4 + match community DEVICE_INTERNAL_FALLBACK_COMMUNITY + set comm-list DEVICE_INTERNAL_FALLBACK_COMMUNITY delete + set tag 203 ! route-map FROM_VOQ_CHASSIS_V6_PEER permit 100 !