/api/space/managed-domain/managed-elements/{id}

The following operation is supported on this resource:

  • GET - Get information about a managed element
GET /managed-elements/{id}Version 1

This API returns information about a managed element.

Sample Usage

GET /managed-elements/{id}


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    me-idintPathThe ID of the managed element from which to retrieve information. Y
  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <managed-element uri="/api/space/managed-domain/managed-elements/262148">
      <device href="/api/space/device-management/devices/229377">
        <deviceFamily>junos-es</deviceFamily>
        <OSVersion>10.0R2.10</OSVersion>
        <platform>SRX100-LM</platform>
        <serialNumber>AT5109AF0621</serialNumber>
        <name>hsc-srx_100_lehar</name>
        <hostName>hsc-srx_100_lehar</hostName>
        <connectionstatus>down</connectionstatus>
        <id>229377</id>
        <ipAddr>192.168.21.9
        </ipAddr>
        <managedStatus>Connecting</managedStatus>
      </device>
      <ptps href="/api/space/managed-domain/ptps">
        <ptp uri="/api/space/managed-domain/managed-elements/262148/ptps/262144" href="/api/space/managed-domain/ptps/262144" key="262144">
          <name>lo0</name>
          <adminStatus>up</adminStatus>
          <operationStatus>up</operationStatus> ;
          <speed>0</speed>
          <mtu>0</mtu>
          <id>262148</id>
        </ptp>
      </ptps>
      <loopback>
        <id>262144</id>
        <name>lo0</name>
        <deviceId>229377</deviceId>
        <edgePoint>false</edgePoint>
        <isLoopback>true</isLoopback>
        <encapsulation>none</encapsulation>
        <adminStatus>up</adminStatus>
        <operationStatus>up</operationStatus>
        <speed>0</speed>
        <mtu>0</mtu>
        <mtuStr>Unlimited</mtuStr>
      </loopback>
      <ipAddr>192.168.21.9</ipAddr>
      <id>262148</id>
      <equipment-holders href="/api/space/managed-domain/managed-elements/262148/equipment-holders" rel="equipment holders"/>
      <multilayer-subnetworks href="/api/space/managed-domain/managed-elements/262148/multilayer-subnetworks" rel="multilayered subnetworks"/>
      <routing-instances href="/api/space/managed-domain/managed-elements/262148/routing-instances" rel="routing instances"/>
      <software-identities href="/api/space/managed-domain/managed-elements/262148/software-identities" rel="software identities"/>
      <routing-options href="/api/space/managed-domain/managed-elements/262148/routing-options" rel="routing options"/>
      <vlans href="/api/space/managed-domain/managed-elements/262148/vlans" rel="virtual lans"/>
      <routing-engines href="/api/space/managed-domain/managed-elements/262148/routing-engines" rel="routing engines"/>
      <virtual-chassis href="/api/space/managed-domain/managed-elements/262148/virtual-chassis" rel="virtual chassis"/>
    </managed-element>

  • Sample Output JSON:

    {
      "managed-element":{
        "@uri":"/api/space/managed-domain/managed-elements/262148",
        "device":{
          "@href": "/api/space/device-management/devices/229377",
          "deviceFamily":"junos-es",
          "OSVersion":"10.0R2.10",
          "platform":"SRX100-LM",
          "serialNumber":"AT5109AF0621",
          "name":"hsc-srx_100_lehar",
          "hostName":"hsc-srx_100_lehar",
          "connectionstatus":"down","id":229377,
          "ipAddr":"192.168.21.9",
          "managedStatus":"Connecting"
        },
        "ptps":{
          "@href":"/api/space/managed-domain/ptps",
          "ptp":[
            {
             "@uri": "/api/space/managed-domain/managed-elements/262148/ptps/262144",
             "@href": "/api/space/managed-domain/ptps/262144","@key":"262144",
             "name":"lo0",
             "adminStatus":"up",
             "operationStatus":"up",
             "speed":0,
             "mtu":0,
             "id":262148
            }
          ]
        },
        "loopback":{
          "id":262144,
          "name":"lo0",
          "deviceId":229377,
          "edgePoint":false,
         "isLoopback":true,
          "encapsulation":"none",
          "adminStatus":"up",
          "operationStatus":"up",
          "speed":0,
          "mtu":0,
          "mtuStr":"Unlimited"
        },
        "ipAddr":"192.168.21.9",
        "id":262148,
        "equipment-holders":{
          "@href": "/api/space/managed-domain/managed-elements/262148/equipment-holders",
          "@rel":"equipment holders"
        },
        "multilayer-subnetworks":{
          "@href": "/api/space/managed-domain/managed-elements/262148/multilayer-subnetworks",
          "@rel":"multilayered subnetworks"
        },
        "routing-instances":{
          "@href": "/api/space/managed-domain/managed-elements/262148/routing-instances","
          @rel":"routing instances"
        },
        "software-identities":{
          "@href": "/api/space/managed-domain/managed-elements/262148/software-identities",
          "@rel":"software identities"
        },
        "routing-options":{
          "@href": "/api/space/managed-domain/managed-elements/262148/routing-options",
          "@rel":"routing options"
        },
        "vlans":{
          "@href": "/api/space/managed-domain/managed-elements/262148/vlans",
          "@rel":"virtual lans"
        },
        "routing-engines":{
          "@href": "/api/space/managed-domain/managed-elements/262148/routing-engines",
          "@rel":"routing engines"
        },
        "virtual-chassis":{
          "@href": "/api/space/managed-domain/managed-elements/262148/virtual-chassis",
          "@rel":"virtual chassis"
        }
      }

  • Access Control

    The following capabilities are required to access this API: ViewPhysicalInventory