Description

The KB article defines few details about the CSO Job "Image Stage" which is used to stage an Image on the Spoke devices.

Solution

  1. The Images that needs to be staged i.e. copied from CSO to the spokes can be uploaded into CSO at an OpCO level.

    Under Home > Resources > Images, a user can click on "+" button on Top right to upload a tgz file.

  2. Navigate to a Tenant under the said OpCo and navigate to Home > Resources > Images to stage the said Image to one or multiple spokes.

  3. Select the said Image and select "Stage" button on top right. A Dialogue box asking user to select the devices image needs to be staged.

  4. Upon selection, user has two Options:

     Run Now or  Schedule at a later stage
    (User may choose to execute as per his/her plan)

Once the Job is executed, a job appears as below in the Home > Monitor > Jobs section:

Image Stage new_junos-srxmr-x86-20.4R3-S5.4 to CPENFXr025successEastCoast[email protected]2Mar 14, 2023, 1:22:52 PMMar 14, 2023, 1:32:55 PM

Log Details:

Note: In the Job details, CSO generates a temporary URL that can be used by Spoke to initiate a download for the required Image file
Job logs:

Mar 14, 2023, 1:22:52 PMDeploy image started in central
Mar 14, 2023, 1:22:52 PMReady to start job for device [u'default-domain', u'EastCoast', u'CPENFXr025']
Mar 14, 2023, 1:22:53 PMTemp url for region regional : https://10.85.189.66/v1/AUTH_3ede549a46cc41bbb79afa96ef4b5bd8/mycontainer/image_default-domain_default-project_junos-srxmr-x86-64-20.4R3-S5.4.tgz?temp_url_sig=386e7fc71dab159fabd3731cc67b66bdf6269bb2&temp_url_expires=1678996373
Mar 14, 2023, 1:22:53 PMDeploy image job initiated in region regional, region_job_id 80efc054-e6ed-4162-b8a0-830ef1b6f391
Task: regional/80efc054-e6ed-4162-b8a0-830ef1b6f391
Mar 14, 2023, 1:32:45 PMTask complete


This table defines how on different spoke platforms, a different protocol is used, and where on the device the same is saved:

Device TypeFile Download ProcessFile Download Destination
NFX250 Standalonefile copy [GWR]/var/host-mnt/var/tmp [GWR]
NFX250 Clusterwget [JDM], scp [JDM to GWR] /var/tmp [JDM], /var/host-mnt/var/tmp [GWR]
SRXfile copy [GWR]/var/tmp

Modification History

2023-03-24: First Draft