An engineer must create a script to append and modify device entries in a JSON-formatted file. The script must work as follows:
✑ Until interrupted from the keyboard, the script reads in the hostname of a device, its management IP address operating system type, and CLI remote access protocol.
✑ After being interrupted, the script displays the entered entries and adds them to the JSON-formatted file, replacing existing entries whose hostname matches.
The contents of the JSON-formatted file are as follows:
Drag and drop the statements onto the blanks within the code to complete the script. Not all options are used.
Select and Place:
MO_2022
Highly Voted 1 year, 11 months agoArnaud_R1
Highly Voted 2 years, 2 months agox3rox
1 year, 10 months agosharonmiller
Most Recent 3 months, 3 weeks ago[Removed]
5 months, 1 week ago[Removed]
4 months, 3 weeks ago[Removed]
6 months ago[Removed]
5 months, 2 weeks agowengzaii96
7 months, 3 weeks agoeojedad
1 year, 8 months agonushadu
1 year, 11 months agoccnptoppler34
2 years, 2 months ago