From e6884d3611a842c63cf1c11938045171a1770850 Mon Sep 17 00:00:00 2001 From: Abhishek Dosi Date: Wed, 13 Nov 2024 05:21:15 +0000 Subject: [PATCH] More changes Signed-off-by: Abhishek Dosi --- .../tests/data/general/policies.conf/result_all.conf | 3 +++ .../tests/data/general/policies.conf/result_base.conf | 3 +++ .../tests/data/general/policies.conf/result_deny.conf | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_all.conf b/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_all.conf index f19b98a859c8..fb51eadeb01f 100644 --- a/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_all.conf +++ b/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_all.conf @@ -1,6 +1,9 @@ ! ! template: bgpd/templates/general/policies.conf.j2 ! +ip prefix-list DEFAULT_IPV4 permit 0.0.0.0/0 +ipv6 prefix-list DEFAULT_IPV6 permit ::/0 +! ! please don't remove. 65535 entries are default rules ! which works when allow_list is enabled, but new configuration ! is not applied diff --git a/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_base.conf b/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_base.conf index 671eea007cf9..b7fa74f98b5c 100644 --- a/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_base.conf +++ b/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_base.conf @@ -1,6 +1,9 @@ ! ! template: bgpd/templates/general/policies.conf.j2 ! +ip prefix-list DEFAULT_IPV4 permit 0.0.0.0/0 +ipv6 prefix-list DEFAULT_IPV6 permit ::/0 +! route-map FROM_BGP_PEER_V4 permit 100 ! route-map TO_BGP_PEER_V4 permit 100 diff --git a/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_deny.conf b/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_deny.conf index fdc10b84bf8f..08d768fd41e3 100644 --- a/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_deny.conf +++ b/src/sonic-bgpcfgd/tests/data/general/policies.conf/result_deny.conf @@ -1,6 +1,9 @@ ! ! template: bgpd/templates/general/policies.conf.j2 ! +ip prefix-list DEFAULT_IPV4 permit 0.0.0.0/0 +ipv6 prefix-list DEFAULT_IPV6 permit ::/0 +! ! please don't remove. 65535 entries are default rules ! which works when allow_list is enabled, but new configuration ! is not applied