/api/space/software-management/packages/{image-id}/associated-devices

The following operation is supported on this resource:

  • GET - Lists the Devices associated with the Software Package
GET /packages/{image-id}/associated-devicesVersion 3

Lists the Devices associated with the Software Package

SOFTWARE PACKAGE
ASSOCIATION WITH THE DEVICE
JAM (Junos Agile Methodology) - Junos Continuity Software Package Either Staged or Deployed
Junos Software Package Staged
.

Sample Usage

GET /packages/{image-id}/associated-devices


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    image-idIntegerPathImage ID Y
  • Sample Output XML:
    <associated-devices total="1" uri="/api/space/software-management/packages/491549/associated-devices">
         <associated-device
               href="/api/space/device-management/devices/524323" uri="/api/space/software-management/packages/491549/associated-devices/524323">
               <checksum-status>VALID</checksum-status>
               <device-name>EX150_5</device-name>
               <deployed-status>DEPLOYED</deployed-status>
               <checksum-time>2017-04-14T19:53:43Z</checksum-time>
               <staged-status>NOTSTAGED</staged-status>
               <device-id>524323</device-id>
               <ip-address>192.168.150.5</ip-address>
         </associated-device>
    </associated-devices>

  • Sample Output JSON:
    {
       "associated-devices" : {
         "@uri" :
         "/api/space/software-management/packages/491549/associated-devices" ,
         "@total" : "1" ,
         "associated-device" : {
           "@href" : "/api/space/device-management/devices/524323" ,
           "@uri" :
           "/api/space/software-management/packages/491549/associated-devices/524323"
           ,
           "checksum-status" : "VALID" ,
           "device-name" : "EX150_5" ,
           "deployed-status" : "DEPLOYED" ,
           "checksum-time" : "2017-04-14T19:53:43Z" ,
           "staged-status" : "NOTSTAGED" ,
           "device-id" : 524323 ,
           "ip-address" : "192.168.150.5"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: ViewImageAssocitedDeviceCap

      For other non-deprecated versions of this API, refer to :
    • version 2