RESTCONF Performance
To view performance metrics of,
- OTU-Controller utilization
- Optics lane utilization
- Optical SFPS
- Memory utilization
- Device env temperature
- CPU utilization
- Interface utilization
- Crc utilization
- TGT, JWT APIs to login
- Run the respective API
Example to Understand the Flow of API Execution
[OTU-Controller utilization]
TGT, JWT API to login and get token
To run this API we need to have mandatory query params value before
node-ref=<value>
It can be obtained from the node API response '/crosswork/inventory/restconf/data/v2/resource-physical:node'. For e.g. in the json format of the response, "nd.fdn": "MD=CISCO_EMS!ND=EPN8201-124-53.cisco-lab.com"
timeInterval=<value>
e.g 30, for specified time interval in second
interfaceName=<value>
It can be obtained from the termination point API response '/crosswork/inventory/restconf/data/v2/resource-ems:termination-point'. For e.g. in the json format of the response, "tp.discovered-name": "CoherentDSP0/0/0/0"
Run the API
'/crosswork/performance/restconf/data/v1/resource-network:performance-otu-controller?node-ref=MD=CISCO_EMS!ND=EPN8201-124-53.cisco-lab.com&interfaceName=CoherentDSP0/0/0/0&timeInterval=30'