Juniper
JN0-420 · Question #44
Click the Exhibit button. Exhibit: You need to programmatically extract interface information using PyEZ from your MX Series device. You log in and use the show interfaces terse | display xml rpc…
The correct answer is B. dev.rpc.get_interface_information(terse=True). See the full explanation below for the reasoning.
Question
Click the Exhibit button. Exhibit:
You need to programmatically extract interface information using PyEZ from your MX Series device. You log in and use the show interfaces terse | display xml rpc command and see the information shown in the exhibit. What is the correct PyEZ syntax to accomplish this task?
Options
- Adev.rpc.get-interface-information()
- Bdev.rpc.get_interface_information(terse=True)
- Cdev.rpc.get-interface-information(terse=True)
- Ddev.rpc.get_interface_information()
How the community answered
(18 responses)- A6% (1)
- B83% (15)
- C11% (2)
Community Discussion
No community discussion yet for this question.