REST Resources
/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-devices | Version 3 |
Lists the Devices associated with the Software Package
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:
Name Type URI Type Description Required image-id Integer Path Image ID Y
-
Accept Headers:
application/vnd.net.juniper.space.software-management.associated-devices+xml;version=3
application/vnd.net.juniper.space.software-management.associated-devices+json;version=3
<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>
{
"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 :