Add port attribute from a Golang script

Tags: #<Tag:0x00007f0642384a10>


I would like to know if it is possible to add and populate a port attribute like ‘802.1X status -> (OK, FAIL)’ for a H3C switch. I already have a script that load this information from the switch.

Can someone point me pieces of code that I should look? Guess:

Could it ever be mainlined?