nerdexam
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

JN0-422 question #44 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)
  • A
    5% (2)
  • B
    83% (35)
  • C
    2% (1)
  • D
    10% (4)

Explanation

Explanation/Reference:

Topics

#PyEZ#RPC syntax#get_interface_information#terse flag

Community Discussion

No community discussion yet for this question.

Full JN0-422 Practice