JN0-420 · Question #42
In a Python commit script, which object provides the post-inheritance candidate configuration?
The correct answer is B. Junos_Configuration. Python automation scripts import the Junos_Context dictionary when the script must access information about the script execution environment. The Junos_Configuration object is required when the commit script must read and manipulate the post-inheritance candidate configuration.
Question
In a Python commit script, which object provides the post-inheritance candidate configuration?
Options
- ACommit-Script-Input
- BJunos_Configuration
- CCandidate_Configuration
- DCheckout_Configuration
How the community answered
(34 responses)- A6% (2)
- B85% (29)
- C3% (1)
- D6% (2)
Explanation
Python automation scripts import the Junos_Context dictionary when the script must access information about the script execution environment. The Junos_Configuration object is required when the commit script must read and manipulate the post-inheritance candidate configuration.
Topics
Community Discussion
No community discussion yet for this question.