/api/space/device-management/devices/{id}/configurations/raw/match-content (v1)

The following operation is supported on this resource:

  • POST - Match raw configuration of device
POST /devices/{id}/configurations/raw/match-content
(Deprecated)
Version 1

This API is used to match raw configuration content (configuration without applying configuration groups) of a device.

Sample Usage

POST /devices/{id}/configurations/raw/match-content


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    device-idIntegerPathThe ID of the device whose raw configuration content will be to matched. Y
  • Sample Input XML:

     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     <device-configuration>
       <deviceFamily>junos</deviceFamily>
         <deviceConfig>
           <![CDATA[<configuration>< version>9.5R2.7</version></configuration>]]>
         </deviceConfig>
     </device-configuration>

  • Sample Output XML:

     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     <status-message>
      <statusCode>Success</statusCode>
       <errorMessage></errorMessage>
       <errorDetails></errorDetails>
       <rpc_reply></rpc_reply>
       <rpc_request></rpc_request>
     </status-message>

  • Sample Input JSON:


    {
      "device-configuration":{
        "deviceFamily":
          "junos",
          "deviceConfig":
            "<configuration>
              <version>9.5R2.7& lt;/version>
            &nb</configuration>"
      }

  • Sample Output JSON:

    {
       "status-message":
          {
          "statusCode":"Success",
          "errorMessage":"",
          "errorDetails":"",
          "rpc_reply":"",
          "rpc_request":""
          }
    }

  • Access Control

    The following capabilities are required to access this API: DeviceConfiguration

      For the latest version of this API, refer to :
    • version 2