shigechika / junos-update Goto Github PK
View Code? Open in Web Editor NEWautomatic detection juniper's model and automatic junos package update
License: Apache License 2.0
automatic detection juniper's model and automatic junos package update
License: Apache License 2.0
mx5.example.jp: installing software ... please be patient ...
mx5.example.jp: software pkgadd package-result: 1
Output:
Installing package '/var/tmp/jinstall-ppc-20.4R3.8-signed.tgz' ...
Verified jinstall-ppc-20.4R3.8.tgz signed by PackageProductionECP256_2021 method ECDSA256+SHA256
Adding jinstall-ppc...
ERROR: jinstall-ppc is already installed
ERROR: jinstall-ppc-20.4R3.8-signed fails post-install
Installation failed for package '/var/tmp/jinstall-ppc-20.4R3.8-signed.tgz'
install error without /var/tmp/package
srx.example.jp: request-package-checks-pending-install rpc is not supported on given device
srx.example.jp: validating software against current config, please be patient ...
Traceback (most recent call last):
:
File "/usr/local/lib/python3.6/site-packages/jnpr/junos/utils/sw.py", line 964, in install
remote_package, issu, nssu, dev_timeout=timeout
File "/usr/local/lib/python3.6/site-packages/jnpr/junos/utils/sw.py", line 351, in validate
rc = int(rsp.findtext("package-result"))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
EX-series have less storage and sometimes need to delete snapshots.
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/21.4R0/junos">
<rpc>
<request-snapshot>
<delete>*</delete>
</request-snapshot>
</rpc>
<cli>
<banner>{master:0}</banner>
</cli>
</rpc-reply>
compare with show system commit | grep ^0
and file list detail /config/juniper.conf.gz
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/21.4R0/junos">
<rpc>
<get-commit-information>
</get-commit-information>
</rpc>
<cli>
<banner>{master}</banner>
</cli>
</rpc-reply>
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/21.4R0/junos">
<rpc>
<file-list>
<detail/>
<path>/config/juniper.conf.gz</path>
</file-list>
</rpc>
<cli>
<banner>{master}</banner>
</cli>
</rpc-reply>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.