Dear Community,
I’ve written a script to interact with nso and check device configurations and apply configurations if needed.
I am using the python maapi api to do so, and when I use the maapi.get_elem(socket, transactionhandle, path)
It is returning enum<int> for a fair few of them, I would like to be able to convert this ncs_value into a string to compare with what I want to set the value to. However the method posted before in this community uses val2str which takes a namespace parameter, There is no yang file associated to my script I’m simply going of the ios ned and would like some advice on what options I have and if there is a namespace for the ios ned that would work in the val2str?
Regards,
Elliot