nsg-ethz / autopower

A software suite to conveniently collect, gather, and display power measurement from networking hardware.
MIT License
2 stars 1 forks source link

Get client side available MCP counters/interfaces to ensure that only valid interfaces can be selected #2

Open UsualSpec opened 2 months ago

UsualSpec commented 2 months ago

Currently, the clients have a whitelist for which counters are allowed: https://github.com/nsg-ethz/autopower/blob/8c40c9d66958f3a008e80ac1d7589f2eb8fe1859/client/config/client_config.json.example#L8 this is to prevent wrong inputs and unavailable interfaces on the client side. It would be good if: