RESTCONF Fault

To retrieve alarms of type system, network and device and see its details.

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

To handle the alarm of type system, network and device.

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

Example to Understand the Flow of API Execution

[Get Alarm]

  1. TGT, JWT API to login and get token

  2. Run the API '/crosswork/alarm/restconf/data/v2/rtm:alarm'

  3. To include filter to get specific alarm, for e.g 'nd-ref'

    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/alarm/restconf/data/v2/rtm:alarm?nd-ref=MD=CISCO_EMS!ND=RON_NCS5700_14.cisco-lab.com