Hello,
I had a case where I needed to fetch all the ports status. Using the function, _call_getdeviceswitchportsstatuses, there's no way to identify from which switch we get the ports.
I did a small modification in add_keys() by adding "serial" in relevent_keys.
def add_keys(input_json, output_json):
input_keys = set(input_json.keys())
output_keys = set(output_json.keys())
relevent_keys = {'organizationName', 'organizationId', 'networkName', 'networkId', 'serial' }
Do you think it's good enough to add it to your code?
Good day
Hello,
I had a case where I needed to fetch all the ports status. Using the function, _call_getdeviceswitchportsstatuses, there's no way to identify from which switch we get the ports.
I did a small modification in add_keys() by adding "serial" in relevent_keys.
Do you think it's good enough to add it to your code?
Good day