QuestionQ98
Understanding and Using APIs
Refer to the exhibit. A network engineer wants to automate the port enable/disable process on particular Cisco switches. The engineer creates a script that sends a request using RESTCONF and uses ietf as the YANG model and JSON as the payload. Which command enables an interface named Loopback1?
- A enable_function(Loopback1, true, 'iana-if-type:softwareLoopback')
- B enable_function('iana-if-type:softwareLoopback', Loopback1, true,)
- C def enable_function('iana-if-type:softwareLoopback', Loopback1, false,)
- D def enable_function(Loopback1, true, 'iana-if-type:softwareLoopback')
Community Discussion