Git Product home page Git Product logo

junos-update's People

Contributors

gertcrossdream avatar shigechika avatar

Stargazers

 avatar

Watchers

 avatar  avatar

junos-update's Issues

ERROR: jinstall-ppc is already installed

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 remote package

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'

request system snapshot delete * for EX-Series

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>

after firmware updated, prevent from config rollback

compare with show system commit | grep ^0 and file list detail /config/juniper.conf.gz

  • show system commit
<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>
  • file list detail /config/juniper.conf.gz
<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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.