hope you can help me with this.
I have a nested dictionary like this:
Inventory = {'devicename': {'Interface1': {'port_setting1': 'value', 'port_setting2': 'value'}, 'Interface2': {'port_setting1': 'value', 'port_setting2': 'value'}}}
I want to create a csv out of that with the following format:
devicename, interface1, value of port_setting1, value of portsetting2
devicename, interface2, value of port_setting1, value of portsetting2
Can you help me how to handle this?
Thanks!