File tree 2 files changed +6
-5
lines changed
src/sonic-bgpcfgd/bgpcfgd
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def do_work():
90
90
log_notice ("switch type is dpu, starting bfd manager" )
91
91
#TODO: use swsscommon.STATE_BFD_SOFTWARE_SESSION_TABLE_NAME onces definition is in master
92
92
#managers.append(BfdMgr(common_objs, "STATE_DB", swsscommon.STATE_BFD_SOFTWARE_SESSION_TABLE_NAME))
93
- managers .append (BfdMgr (common_objs , "STATE_DB" , "SOFTWARE_BFD_SESSION_TABLE " ))
93
+ managers .append (BfdMgr (common_objs , "STATE_DB" , "BFD_SOFTWARE_SESSION_TABLE " ))
94
94
95
95
runner = Runner (common_objs ['cfg_mgr' ])
96
96
for mgr in managers :
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ class BfdMgr(Manager):
11
11
is updated """
12
12
13
13
MULTIPLIER = 3
14
- RX_INTERVAL = 200
15
- TX_INTERVAL = 200
14
+ RX_INTERVAL_MS = 200
15
+ TX_INTERVAL_MS = 200
16
16
17
17
def __init__ (self , common_objs , db , table ):
18
18
"""
@@ -64,11 +64,12 @@ def dict_to_fs(self, d):
64
64
65
65
def get_def_res_fields (self ):
66
66
return {
67
+ # DSCP is 48 by default
67
68
'multihop' : False ,
68
69
'local' : '' ,
69
70
'detect-multiplier' : self .MULTIPLIER ,
70
- 'receive-interval_ms' : self .RX_INTERVAL ,
71
- 'transmit-interval_ms' : self .TX_INTERVAL ,
71
+ 'receive-interval_ms' : self .RX_INTERVAL_MS ,
72
+ 'transmit-interval_ms' : self .TX_INTERVAL_MS ,
72
73
'passive-mode' : True ,
73
74
}
74
75
You can’t perform that action at this time.
0 commit comments