Process the 'exercise1.txt' file and create a data structure from it.
- Create a dictionary of dictionaries.
- The keys for the outermost dictionary should be the interface names.
- The value corresponding to this interface name is another dictionary with the fields 'ip_address', 'line_status', and 'line_protocol'.
- Use pretty-print to print out your data structure. Your output should be similar to the following:
{'FastEthernet0': {'ip_address': 'unassigned',
'line_protocol': 'down',
'line_status': 'down'},
'FastEthernet1': {'ip_address': 'unassigned',
'line_protocol': 'down',
'line_status': 'down'},
'FastEthernet2': {'ip_address': 'unassigned',
'line_protocol': 'down',
'line_status': 'down'},
'FastEthernet3': {'ip_address': 'unassigned',
'line_protocol': 'down',
'line_status': 'down'},
'FastEthernet4': {'ip_address': '10.220.88.20',
'line_protocol': 'up',
'line_status': 'up'},
'Vlan1': {'ip_address': 'unassigned',
'line_protocol': 'down',
'line_status': 'down'}}