STORDIS / orca_nw_lib

gNMI python package for SONiC switch discovery and management.
Apache License 2.0
2 stars 3 forks source link

Check for supported speeds before setting speed on an interface. #30

Open kamalkrbh opened 1 year ago

kamalkrbh commented 1 year ago

Before setting speed on port group member or non port group member interfaces , first supported speeds shoiuld be checked. Test cases should be updated accordingly.

kamalkrbh commented 1 year ago

In the speed tests ethernet is fixed to Ethernet0, but for other ethernets e.g. Ethernet68 test fails because speed lets say 10G is not supported. Ideally test case should be able to fetch supported speed and assign any one of them.