RESTCONF Inventory

To view the details of the nodes, equipment, module, chassis, physical-connector and termination-point managed in the system use

  1. TGT, JWT APIs to login
  2. Run the respective API

Example to Understand the Flow of API Execution

[Get Termination Point]

  1. TGT, JWT API to login and get token

  2. Run the API '/crosswork/inventory/restconf/data/v2/resource-ems:termination-point'

  3. To include filter to get specific termination point, for e.g 'ndFdn'

    a. Run node API '/crosswork/inventory/restconf/data/v2/resource-physical:node'
    b. In the json format of the response fetch "nd.fdn"
    c. for e.g "nd.fdn": "MD=CISCO_EMS!ND=RON_NCS5700_14.cisco-lab.com"
    
  4. Now run the API with 'nd-ref' filter as below

    /crosswork/inventory/restconf/data/v2/resource-ems:termination-point?ndFdn=MD=CISCO_EMS!ND=RON_NCS5700_14.cisco-lab.com