Skip to content

Commit c49f39b

Browse files
authored
Merge pull request sonic-net#335 from gechiang/202205
Add dependency for tsa_enabled flag before populating peer config and…
2 parents 2fc6aa9 + 9497bb1 commit c49f39b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sonic-bgpcfgd/bgpcfgd/managers_bgp.py

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def __init__(self, common_objs, db_name, table_name, peer_type, check_neig_meta)
107107
deps = [
108108
("CONFIG_DB", swsscommon.CFG_DEVICE_METADATA_TABLE_NAME, "localhost/bgp_asn"),
109109
("CONFIG_DB", swsscommon.CFG_LOOPBACK_INTERFACE_TABLE_NAME, "Loopback0"),
110+
("CONFIG_DB", swsscommon.CFG_BGP_DEVICE_GLOBAL_TABLE_NAME, "tsa_enabled"),
110111
("LOCAL", "local_addresses", ""),
111112
("LOCAL", "interfaces", ""),
112113
]

0 commit comments

Comments
 (0)