Drag and drop the code from the bottom onto the box where the code is missing to configure a Python script that uses RESTCOMF to add an IP address and subnet mask to an interface. Not all options are used.
yes you are right. json.dumps(ip_address) is correct.
The difference between json.loads() and json.dumps() is that json.loads() converts a JSON encoded string into a Python object while json.dumps() converts a Python object into a JSON encoded one string converted.
ip_address ={"address": "192..x." , "mask: 2255." } is a python objetct and we need json to configure
Using ip/address/primary/address:
This path would be used only if the YANG model explicitly required it, which is not the case for Cisco IOS-XE RESTCONF.
It's:
1. A - https://10.0.0.20:443/
2. E - ip/address
3. B - json.dumps(ip_address)
upvoted 5 times
...
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
EvoRed
Highly Voted 1 year, 1 month agolznlxl
Highly Voted 1 year, 3 months ago[Removed]
1 year, 2 months agoRa79
11 months, 2 weeks agoal_mon
Most Recent 2 months, 2 weeks agoPecoto
8 months, 3 weeks ago[Removed]
1 year, 3 months ago