Skip to content

Commit

Permalink
[xcvrd] Save the dom_capability of transceiver into db
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanyu99 committed Aug 14, 2020
1 parent 0231b49 commit fdb3c84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonic-xcvrd/scripts/xcvrd
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ def post_port_sfp_info_to_db(logical_port_name, table, transceiver_dict,
('cable_length',port_info_dict['cable_length']),
('specification_compliance',port_info_dict['specification_compliance']),
('nominal_bit_rate',port_info_dict['nominal_bit_rate']),
('application_advertisement',port_info_dict['application_advertisement'] if 'application_advertisement' in port_info_dict else 'N/A')])
('application_advertisement',port_info_dict['application_advertisement'] if 'application_advertisement' in port_info_dict else 'N/A'),
('dom_capability',port_info_dict['dom_capability'])])
table.set(port_name, fvs)
else:
return SFP_EEPROM_NOT_READY
Expand Down

0 comments on commit fdb3c84

Please sign in to comment.