Inventory Management API

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

The following operations are supported on this resource:

GET /api/space/managed-domain/managed-elements/{id}/routing-instances (v1)


This API returns the routing instances for a given managed element.

Access Control

The following capabilities are required to access this API:
"ViewPhysicalInventory"


Example Usage

GET /api/space/managed-domain/managed-elements/{id}/routing-instances


Parameters

NameTypeURI TypeDescriptionRequired
me-idintPathThe ID of the managed element from which to retrieve the routing instances. Y

Content Types

  • Produces content types:
    application/vnd.net.juniper.space.managed-domain.routing-instances+xml;version=1
    application/vnd.net.juniper.space.managed-domain.routing-instances+json;version=1


  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <routing-instances size="59">
       <routing-instance uri="/api/space/managed-domain/managed-elements/262144/routing-instances">
          <routeDistinguisher>65412:1</routeDistinguisher>
          <id>1474938</id>
          <name>VPLStest_SO1</name>
       </routing-instance>
    </routing-instances>


  • Sample Output JSON:

    {
    "routing-instances":{
       "@uri":"/api/space/managed-domain/managed-elements/262144/routing-instances",
       "@size":"59",
       "routing-instance":
          [
          {
             "routeDistinguisher":"65412:1",
             "id":"1474938",
             "name":"VPLStest_SO1"
          },
          {
             "routeDistinguisher":"65412:19",
             "id":"1474940",
             "name":"VPLStest_SO10"
          }
          ]
       }
    }