QuestionQ19

Python/PyEZ

Which two PyEZ object methods are automatically included when using a Python context manager?

  • A lock() and unlock()
  • B open() and close()
  • C load() and commit()
  • D pdiff() and diff()
Explanation

A Junos PyEZ context manager automatically calls open() to connect to the device and close() to disconnect from it. Connect to Junos Devices Using Junos PyEZ

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!