Add Juniper ISSU and NSSU support#400
Draft
mattmiller87 wants to merge 14 commits into
Draft
Conversation
d366b46 to
ff4f8a5
Compare
There was a problem hiding this comment.
Pull request overview
This PR extends the Junos device driver to support Juniper ISSU/NSSU upgrade flows and adds a system snapshot helper intended to enforce dual-partition best practices during upgrades.
Changes:
- Add
issu/nssuoptions toJunosDevice.install_os()and adjust upgrade/reboot handling logic. - Add
JunosDevice.install_os_multi()to perform multi-member (virtual-chassis) upgrades without NSSU. - Add
request_system_snapshot()plus polling-based verification for snapshot completion.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| pyntc/devices/jnpr_device.py | Adds ISSU/NSSU install options, a multi-device install flow, and snapshot request/verification helpers. |
| changes/mm.added | Adds a changelog entry for the new Juniper install options. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cf77af7 to
e9407cc
Compare
e9407cc to
43bb7c6
Compare
jtdub
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Pull Request
This PR adds Juniper install options for in-service software upgrade and nonstop software upgrade for SRX and EX devices.
This is in testing and may need some revisions.
SDK docs - https://junos-pyez.readthedocs.io/en/2.8.2/jnpr.junos.utils.html#jnpr.junos.utils.sw.SW.install
rpc.cli() - used to run commands not available in the sdk.
Change Notes
Justification