I am trying to establish the below goal with dictionary, however I am unable to do so since I new to python.
{\'GigabitEthernet1\': {\'ipv4\': {\'192.168.41.128\': {\'pre