@@ -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"
@@ -339,7 +340,7 @@ def appl_db_sub_intf_status_get(appl_db, config_db, front_panel_ports_list, port
339
340
340
341
# ========================== interface-status logic ==========================
341
342
342
- header_stat = ['Interface' , 'Lanes' , 'Speed' , 'MTU' , 'Alias' , 'Vlan' , 'Oper' , 'Admin' , 'Type' , 'Asym PFC' ]
343
+ header_stat = ['Interface' , 'Lanes' , 'Speed' , 'MTU' , 'FEC' , ' Alias' , 'Vlan' , 'Oper' , 'Admin' , 'Type' , 'Asym PFC' ]
343
344
header_stat_sub_intf = ['Sub port interface' , 'Speed' , 'MTU' , 'Vlan' , 'Admin' , 'Type' ]
344
345
345
346
class IntfStatus (object ):
@@ -365,6 +366,7 @@ class IntfStatus(object):
365
366
appl_db_port_status_get (self .appl_db , key , PORT_LANES_STATUS ),
366
367
appl_db_port_status_get (self .appl_db , key , PORT_SPEED ),
367
368
appl_db_port_status_get (self .appl_db , key , PORT_MTU_STATUS ),
369
+ appl_db_port_status_get (self .appl_db , key , PORT_FEC ),
368
370
appl_db_port_status_get (self .appl_db , key , PORT_ALIAS ),
369
371
config_db_vlan_port_keys_get (self .combined_int_to_vlan_po_dict , self .front_panel_ports_list , key ),
370
372
appl_db_port_status_get (self .appl_db , key , PORT_OPER_STATUS ),
@@ -378,6 +380,7 @@ class IntfStatus(object):
378
380
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_LANES_STATUS , self .portchannel_speed_dict ),
379
381
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_SPEED , self .portchannel_speed_dict ),
380
382
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_MTU_STATUS , self .portchannel_speed_dict ),
383
+ appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_FEC , self .portchannel_speed_dict ),
381
384
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_ALIAS , self .portchannel_speed_dict ),
382
385
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , "vlan" , self .portchannel_speed_dict ),
383
386
appl_db_portchannel_status_get (self .appl_db , self .config_db , po , PORT_OPER_STATUS , self .portchannel_speed_dict ),
0 commit comments