@@ -32,6 +32,7 @@ PORT_OPER_STATUS = "oper_status"
32
32
PORT_ADMIN_STATUS = "admin_status"
33
33
PORT_SPEED = "speed"
34
34
PORT_MTU_STATUS = "mtu"
35
+ PORT_FEC = "fec"
35
36
PORT_DESCRIPTION = "description"
36
37
PORT_OPTICS_TYPE = "type"
37
38
PORT_PFC_ASYM_STATUS = "pfc_asym"
@@ -340,7 +341,7 @@ def appl_db_sub_intf_status_get(appl_db, config_db, front_panel_ports_list, port
340
341
341
342
# ========================== interface-status logic ==========================
342
343
343
- header_stat = ['Interface' , 'Lanes' , 'Speed' , 'MTU' , 'Alias' , 'Vlan' , 'Oper' , 'Admin' , 'Type' , 'Asym PFC' ]
344
+ header_stat = ['Interface' , 'Lanes' , 'Speed' , 'MTU' , 'FEC' , ' Alias' , 'Vlan' , 'Oper' , 'Admin' , 'Type' , 'Asym PFC' ]
344
345
header_stat_sub_intf = ['Sub port interface' , 'Speed' , 'MTU' , 'Vlan' , 'Admin' , 'Type' ]
345
346
346
347
class IntfStatus (object ):
@@ -366,6 +367,7 @@ class IntfStatus(object):
366
367
appl_db_port_status_get (self .appl_db , key , PORT_LANES_STATUS ),
367
368
appl_db_port_status_get (self .appl_db , key , PORT_SPEED ),
368
369
appl_db_port_status_get (self .appl_db , key , PORT_MTU_STATUS ),
370
+ appl_db_port_status_get (self .appl_db , key , PORT_FEC ),
369
371
appl_db_port_status_get (self .appl_db , key , PORT_ALIAS ),
370
372
config_db_vlan_port_keys_get (self .combined_int_to_vlan_po_dict , self .front_panel_ports_list , key ),
371
373
appl_db_port_status_get (self .appl_db , key , PORT_OPER_STATUS ),
@@ -379,6 +381,7 @@ class IntfStatus(object):
379
381
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_LANES_STATUS , self .portchannel_speed_dict ),
380
382
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_SPEED , self .portchannel_speed_dict ),
381
383
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_MTU_STATUS , self .portchannel_speed_dict ),
384
+ appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_FEC , self .portchannel_speed_dict ),
382
385
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_ALIAS , self .portchannel_speed_dict ),
383
386
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , "vlan" , self .portchannel_speed_dict ),
384
387
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_OPER_STATUS , self .portchannel_speed_dict ),
0 commit comments