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.
I will go with ip/address
per documentation is ip/address/primary
I assume that if you dont state primary it take as default
upvoted 1 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, 4 months agolznlxl
Highly Voted 1 year, 5 months ago[Removed]
1 year, 4 months agoRa79
1 year, 1 month agoal_mon
Most Recent 5 months agoPecoto
11 months, 1 week ago