Related Documentation
Get All BIOS Validations
Use this API to retrieve data about BIOS validations from all the devices managed by Junos Space Service Now.
URI
https://[host]/api/juniper/servicenow/device-analysis/BIOSValidations (HTTP method = GET)
Consumes
None
Produces
- application/vnd.juniper.servicenow.device-analysis.biosvalidations+xml;version=1
- application/vnd.juniper.servicenow.device-analysis.biosvalidations+json;version=1
Response Elements
Element | Type | Description |
---|---|---|
uri | String | Link to the BIOS validation collection |
size | Integer | Number of records in the collection |
biosValidation | biosValidation | BIOS validation |
href | String | Link to an individual BIOS validation in a BIOS validation collection |
key | Integer | ID of the BIOS validation |
junosVersion | Integer | Version of Junos from which the BIOS data is collected |
organizationName | String | Organization from which data for BIOS validation was received |
deviceGroupName | String | Device group of the organization from which the data for BIOS validation was received |
device | String | Device from which the data for BIOS validation was received |
product | String | Product family of the device from which the data for BIOS validation was received |
entity | String | Routing Engine of the device from which the data for BIOS validation was received For a device with dual RE, the values are re0 and re1. |
status | String | Status of validating the BIOS data received from the device. The possible values are:
|
occurred | Date | Date and time when the BIOS data was received from the device for BIOS integrity check |
Sample Output
Sample XML Output
<bios-validations uri="/api/juniper/servicenow/device-analysis/BIOSValidations" size="2"> <biosValidation href="/api/juniper/servicenow/device-analysis/BIOSValidations/786473" key="786473" uri="/api/juniper/servicenow/device-analysis/BIOSValidations/786473" junosVersion="12.3R6.6"> <organizationName>TestOrg</organizationName> <deviceGroupName>Default for TestOrg</deviceGroupName> <device>mx-480-sn2</device> <product>MX480</product> <entity>re1</entity> <status>Pending Submission</status> <occurred>2014-12-17 20:37:06 IST</occurred> </biosValidation> <biosValidation href="/api/juniper/servicenow/device-analysis/BIOSValidations/786446" key="786446" uri="/api/juniper/servicenow/device-analysis/BIOSValidations/786446" junosVersion="12.3R6.6"> <organizationName>TestOrg</organizationName> <deviceGroupName>Default for TestOrg</deviceGroupName> <device>mx-480-sn2</device> <product>MX480</product> <entity>re0</entity> <status>Case Created</status> <occurred>2014-12-17 20:37:37 IST</occurred> </biosValidation> </bios-validations>
Sample JSON Output
{ "bios-validations": { "@uri": "/api/juniper/servicenow/device-analysis/BIOSValidations", "@size": "2", "biosValidation": [ { "@href": "/api/juniper/servicenow/device-analysis/BIOSValidations/786473", "@key": "786473", "@uri": "/api/juniper/servicenow/device-analysis/BIOSValidations/786473", "@junosVersion": "12.3R6.6", "organizationName": "TestOrg", "deviceGroupName": "Default for TestOrg", "device": "mx-480-sn2", "product": "MX480", "entity": "re1", "status": "Pending Submission", "occurred": "2014-12-17 20:37:06 IST" }, { "@href": "/api/juniper/servicenow/device-analysis/BIOSValidations/786446", "@key": "786446", "@uri": "/api/juniper/servicenow/device-analysis/BIOSValidations/786446", "@junosVersion": "12.3R6.6", "organizationName": "TestOrg", "deviceGroupName": "Default for TestOrg", "device": "mx-480-sn2", "product": "MX480", "entity": "re0", "status": "Case Created", "occurred": "2014-12-17 20:37:37 IST" } ] } }