Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Application Versions and Compatibility

    Applications created using the Junos SDK provide binary compatibility across the different releases of the Junos OS in a particular release train. For example, all the applications developed using the Junos SDK Release 10.3 are binary compatible with Junos OS releases 10.3R1, 10.3R2, 10.3R3, and so on.

    Note: It is a general practice that applications created using the Junos SDK are built with a target Junos OS release. That is, if 11.4 is the Junos OS release used to create an application, then that is the major release used to install and run the application. Whether it is, for example, 11.4R1 or 11.4R2, does not matter.

    But suppose you have Junos OS Release 11.1 on your device and you use the request system software add command to install an application developed using Junos SDK Release 10.4. The Junos OS gracefully refuses any attempt to add the software to the device.

    .
    .
    .
    WARNING: Package 'jnx_ifinfo' is not compatible with package 'jkernel': 
    WARNING:     Major version number mismatch 
    WARNING:     (jnx_ifinfo:10 != jkernel:11) 
    ERROR: JUNOS version incompatible - source compatibility supported from 11.1 - 11.current_jbase_minor 
    ERROR: jnx-example fails requirements check 
    Installation failed for package '/var/tmp/jnx-example-10.4I20100917_1456.tgz'  
    

    The following example shows how an application package is verified and installed.

    user@router> request system software add jnx-example-i386-12.1-app1.0.tgz
    NOTICE: Validating configuration against jnx-example-i386-12.1-app1.0.tgz.
    NOTICE: Use the 'no-validate' option to skip this if desired.
    Checking compatibility with configuration
    Initializing...
    Using jbase-12.1R1.9
    Verified manifest signed by PackageProduction_12_1_0
    Verified jbase-12.1R1.9 signed by PackageProduction_12_1_0
    Using /var/home/jnpr/jnx-example-i386-12.1-app1.0.tgz
    +junos-package.xml validates
    Verified jnx-example-12.1-app1.0 signed by juniper-internaldevelopment-2
    Verified manifest signed by juniper-internaldevelopment-2
    Using jruntime-12.1R1.9
    Verified manifest signed by PackageProduction_12_1_0
    Verified jruntime-12.1R1.9 signed by PackageProduction_12_1_0
    Using jkernel64-12.1R1.9
    Verified manifest signed by PackageProduction_12_1_0
    Verified jkernel64-12.1R1.9 signed by PackageProduction_12_1_0
    Using jroute-12.1R1.9
    Verified manifest signed by PackageProduction_12_1_0
    Verified jroute-12.1R1.9 signed by PackageProduction_12_1_0
    Using jcrypto64-12.1R1.9
    Verified manifest signed by PackageProduction_12_1_0
    Verified jcrypto64-12.1R1.9 signed by PackageProduction_12_1_0
    Hardware Database regeneration succeeded
    Validating against /config/juniper.conf.gz
    Validation succeeded
    Installing package '/var/home/jnpr/jnx-example-i386-12.1-app1.0.tgz' ...
    +junos-package.xml validates
    Verified jnx-example-12.1-app1.0 signed by juniper-internaldevelopment-2
    Available space: 2959398 require: 3180
    Mounted jnx-example package on /dev/md10...
    Verified manifest signed by juniper-internaldevelopment-2
    Reloading /config/juniper.conf.gz ...
    Activating /config/juniper.conf.gz ...
    Restarting mgd ...
    Restarting bslockd ...
    Saving package file in /var/sw/pkg/jnx-example-12.1-app1.0.tgz ...
    Saving state for rollback ...
    
    WARNING: cli has been replaced by an updated version:
    CLI release 12.1R1.9 built by builder on 2012-03-24 08:36:49 UTC
    Restart cli using the new version ? [yes,no] (yes)
    
    Restarting cli ...
    user@router>
    

    Published: 2012-06-28