{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/fcd87bf2-3c6e-34f6-a91e-aaebbd04122b","info":{"title":"RESTCONF Performance APIs","description":"RESTCONF APIs exposed by Performance service.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"tags":[{"name":"RESTCONF APIs","description":"Points to note: \nThe actual response will,\n- Have namespace prefixed in the attribute name\n- Not have attributes whose values are null\n- Have the attribute names \"-\" separated in some cases\n- Have additional section with firstIndex and lastIndex attributes"}],"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/performance-restconf-api-overview.md"}},"openapi":"3.1.0","servers":[{"url":"https://{server_ip}:30603/crosswork/performance/restconf/data/v1","description":"Generated server url"}]},"spec":{"type":"object","description":"response","xml":{"name":"response-message","namespace":"urn:cisco:params:xml:ns:yang:nrf-common:v1","prefix":"ns12"},"properties":{"header":{"type":"object","description":"header","properties":{"firstIndex":{"type":"integer","format":"int64","description":"firstIndex","xml":{"prefix":"ns12"}},"lastIndex":{"type":"integer","format":"int64","description":"lastIndex","xml":{"prefix":"ns12"}}},"xml":{"prefix":"ns12"},"$$ref":"#/components/schemas/Header"},"data":{"type":"object","description":"data","xml":{"name":"data","prefix":"ns12"},"properties":{"perf-metrics":{"type":"array","description":"subscription","items":{"type":"object","description":"Holder for device and interface performance metrics","xml":{"name":"perf-metrics","prefix":"ns2"},"properties":{"entityTag":{"type":"string","description":"Generic tag"},"metricName":{"type":"string","description":"Metric name","xml":{"name":"metric-name","prefix":""}},"average":{"type":"number","description":"Average value of metric","xml":{"name":"average","prefix":""}},"minimum":{"type":"number","description":"Minimum value of metric","xml":{"name":"minimum","prefix":""}},"maximum":{"type":"number","description":"Maximum value of metric","xml":{"name":"maximum","prefix":""}},"unit":{"type":"string","description":"Metric Unit Type","xml":{"name":"unit","prefix":""}},"metrics":{"type":"array","description":"Available metrics","xml":{"name":"metrics","prefix":""},"items":{"type":"object","description":"Metric grouping consolidated as keys and data","xml":{"name":"metrics","prefix":"ns2"},"properties":{"entityTag":{"type":"string","description":"Generic tag"},"metricIndex":{"type":"integer","description":"Metric index","xml":{"name":"metric-index","prefix":""},"format":"int64"},"keys":{"type":"object","description":"Keys","xml":{"name":"keys","prefix":"ns2"},"properties":{"entityTag":{"type":"string","description":"Generic tag"},"nodeRef":{"type":"string","description":"Node reference related to the metrics","xml":{"name":"node-ref","prefix":""}},"tpRef":{"type":"string","description":"Termination-Point reference related to the metrics","xml":{"name":"tp-ref","prefix":""}},"cpuName":{"type":"string","description":"cpu name","xml":{"name":"cpu-name","prefix":""}},"memoryPoolName":{"type":"string","description":"Memory pool name","xml":{"name":"memory-pool-name","prefix":""}},"sensorName":{"type":"string","description":"Sensor name","xml":{"name":"sensor-name","prefix":""}},"interfaceName":{"type":"string","description":"Interface name","xml":{"name":"interface-name","prefix":""}},"laneIndex":{"type":"integer","description":"Lane index","xml":{"name":"lane-index","prefix":""},"format":"int64"},"laneId":{"type":"integer","description":"Lane id","xml":{"name":"lane-id","prefix":""},"format":"int64"},"any":{"type":"array","description":"Generic array","items":{"type":"object"}}},"$$ref":"#/components/schemas/Keys"},"data":{"type":"array","description":"data","items":{"type":"object","description":"Data","xml":{"name":"data","prefix":"ns2"},"properties":{"entityTag":{"type":"string","description":"Generic tag"},"value":{"type":"integer","description":"Data value of the metric","xml":{"name":"value","prefix":""},"format":"int64"},"eventTime":{"type":"integer","description":"Data event time","xml":{"name":"event-time","prefix":""}},"timeStamp":{"type":"string","description":"Time stamp of the event","xml":{"name":"time-stamp","prefix":""}},"any":{"type":"array","description":"Generic array","items":{"type":"object"}}},"$$ref":"#/components/schemas/Data"}},"any":{"type":"array","description":"Generic array","items":{"type":"object"}}},"$$ref":"#/components/schemas/Metrics"}},"entries":{"type":"array","description":"Available entries for ENV Temperature","xml":{"name":"entries","prefix":""},"items":{"type":"object","description":"Metric grouping consolidated as keys and data","xml":{"name":"","prefix":""},"properties":{"entityTag":{"type":"string","description":"Generic tag"},"entryIndex":{"type":"integer","description":"entryIndex","xml":{"name":"entry-index","prefix":""},"format":"int64"},"keys":{"type":"object","description":"Keys","xml":{"name":"keys","prefix":"ns2"},"properties":{"entityTag":{"type":"string","description":"Generic tag"},"nodeRef":{"type":"string","description":"Node reference related to the metrics","xml":{"name":"node-ref","prefix":""}},"tpRef":{"type":"string","description":"Termination-Point reference related to the metrics","xml":{"name":"tp-ref","prefix":""}},"cpuName":{"type":"string","description":"cpu name","xml":{"name":"cpu-name","prefix":""}},"memoryPoolName":{"type":"string","description":"Memory pool name","xml":{"name":"memory-pool-name","prefix":""}},"sensorName":{"type":"string","description":"Sensor name","xml":{"name":"sensor-name","prefix":""}},"interfaceName":{"type":"string","description":"Interface name","xml":{"name":"interface-name","prefix":""}},"laneIndex":{"type":"integer","description":"Lane index","xml":{"name":"lane-index","prefix":""},"format":"int64"},"laneId":{"type":"integer","description":"Lane id","xml":{"name":"lane-id","prefix":""},"format":"int64"},"any":{"type":"array","description":"Generic array","items":{"type":"object"}}},"$$ref":"#/components/schemas/Keys"},"average":{"type":"number","description":"Average sensor temperature value","xml":{"name":"average","prefix":""}},"maximum":{"type":"number","description":"Maximum sensor temperature value","xml":{"name":"maximum","prefix":""}},"minimum":{"type":"number","description":"Mininum sensor temperature value","xml":{"name":"minimum","prefix":""}},"current":{"type":"number","description":"current sensor temperature value","xml":{"name":"current","prefix":""}},"any":{"type":"array","description":"Generic array","items":{"type":"object"}}},"$$ref":"#/components/schemas/Entries"}},"any":{"type":"array","description":"Generic array","items":{"type":"object"}}},"$$ref":"#/components/schemas/PerfMetrics"}}},"$$ref":"#/components/schemas/ResponseData"}},"$$ref":"#/components/schemas/ResponseMessage","title":"ResponseMessage"}}