Juniper
JN0-422 · 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). Explanation/Reference:
PyEZ
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?
Exhibit
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
(42 responses)- A5% (2)
- B83% (35)
- C2% (1)
- D10% (4)
Explanation
Explanation/Reference:
Topics
#PyEZ#RPC syntax#get_interface_information#terse flag
Community Discussion
No community discussion yet for this question.
