Skip to content

Commit a89643d

Browse files
committed
Remove sub_role from "general" profile based tests
1 parent 13d6d0c commit a89643d

File tree

6 files changed

+1
-27
lines changed

6 files changed

+1
-27
lines changed

src/sonic-bgpcfgd/tests/data/general/instance.conf/param_all_v4.json

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"CONFIG_DB__DEVICE_METADATA": {
3-
"localhost": {
4-
"sub_role": "FrontEnd"
5-
}
6-
},
72
"neighbor_addr": "10.10.10.10",
83
"bgp_session": {
94
"asn": "555",

src/sonic-bgpcfgd/tests/data/general/instance.conf/param_all_v6.json

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"CONFIG_DB__DEVICE_METADATA": {
3-
"localhost": {
4-
"sub_role": "FrontEnd"
5-
}
6-
},
72
"neighbor_addr": "fc::10",
83
"bgp_session": {
94
"asn": "555",

src/sonic-bgpcfgd/tests/data/general/peer-group.conf/param_base.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"CONFIG_DB__DEVICE_METADATA": {
33
"localhost": {
4-
"type": "LeafRouter",
5-
"sub_role": "FrontEnd"
4+
"type": "LeafRouter"
65
}
76
},
87
"CONFIG_DB__BGP_BBR": {

src/sonic-bgpcfgd/tests/data/general/policies.conf/param_all.json

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"CONFIG_DB__DEVICE_METADATA": {
3-
"localhost": {
4-
"sub_role": "FrontEnd"
5-
}
6-
},
72
"loopback0_ipv4": "10.10.10.10/32",
83
"constants": {
94
"bgp": {

src/sonic-bgpcfgd/tests/data/general/policies.conf/param_base.json

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"CONFIG_DB__DEVICE_METADATA": {
3-
"localhost": {
4-
"sub_role": "NotBackEnd"
5-
}
6-
},
72
"loopback0_ipv4": "10.10.10.10/32",
83
"constants": {
94
"bgp": {

src/sonic-bgpcfgd/tests/data/general/policies.conf/param_deny.json

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"CONFIG_DB__DEVICE_METADATA": {
3-
"localhost": {
4-
"sub_role": "FrontEnd"
5-
}
6-
},
72
"loopback0_ipv4": "10.10.10.10/32",
83
"constants": {
94
"bgp": {

0 commit comments

Comments
 (0)