{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/f117fa98-ad23-3ca8-adf8-21349b86b3ff","info":{"title":"Crosswork Performance APIs","description":"Performance APIs allow the user to perform CRUD operations on 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":"7.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/performance-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"http://localhost:8080/crosswork/performance","description":"Generated server url"}]},"spec":{"type":"object","properties":{"policyTemplate":{"type":"string"},"schemasInterval":{"type":"object","additionalProperties":{"type":"object","properties":{"defaultInterval":{"type":"integer","format":"int32"},"pollingIntervals":{"type":"array","items":{"type":"integer","format":"int32"}}},"description":"Maps between the default policy frequency to all possible polling frequencies ","example":{"defaultInterval":300,"pollingIntervals":[0,300,900,1800,3600]},"$$ref":"#/components/schemas/Intervals"},"description":"Polling frequency for each schema in the policy. The key is the schema name and the value is the polling interval in seconds.","example":{"DVAVAILABILITY":{"defaultInterval":300,"pollingIntervals":[0,300,900,1800,3600]},"MEMORY":{"defaultInterval":300,"pollingIntervals":[0,300,900,1800,3600]},"ENVTEMP":{"defaultInterval":300,"pollingIntervals":[0,300,900,1800,3600]},"CPU":{"defaultInterval":300,"pollingIntervals":[0,300,900,1800,3600]}}},"schemasFieldMetadata":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object","properties":{"min":{"type":"string","description":"The lowest possible value of the field.","example":"0"},"max":{"type":"string","description":"The highest possible value of the field.","example":"100"},"unitType":{"type":"string","description":"The field's unit","example":"PERCENTAGE","enum":["NUMBER","KNUMBER","MNUMBER","GNUMBER","PACKETS","KPACKETS","MPACKETS","GPACKETS","TPACKETS","PPACKETS","PACKETS_PER_SECOND","KPACKETS_PER_SECOND","MPACKETS_PER_SECOND","GPACKETS_PER_SECOND","BYTES","KBYTES","MBYTES","GBYTES","TBYTES","PBYTES","BYTES_PER_SECOND","KBYTES_PER_SECOND","MBYTES_PER_SECOND","GBYTES_PER_SECOND","TBYTES_PER_SECOND","BITS","KBITS","MBITS","GBITS","TBITS","PBITS","BITS_PER_SECOND","KBITS_PER_SECOND","MBITS_PER_SECOND","GBITS_PER_SECOND","WATTS","KWATTS","MWATTS","KWATTS_PER_DAY","MWATTS_PER_DAY","MILLIAMP","AMP","PERCENTAGE","CELSIUS","VOLT","DBM","DB","DBQ"]},"additionalFields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the field on which the condition is set"},"values":{"type":"array","description":"The possible values of the condition","items":{"type":"string","description":"The possible values of the condition"}},"value":{"type":"string","description":"The selected value of the condition"},"min":{"type":"string","description":"The bottom limit of the value"},"max":{"type":"string","description":"The upper limit of the value"},"relation":{"type":"string","description":"The operator on the condition","example":"eq"},"fieldInputType":{"type":"string","description":"The type of the conditon's fields","example":"int"},"fieldValueType":{"type":"string","description":"The type of the conditon's value","example":"int"}},"description":"Tca extra fields for QoS.","$$ref":"#/components/schemas/TCAExtraConditionField"}},"displayName":{"type":"string","description":"The field's display name.","example":"CPU Utilization"},"TCAEnabled":{"type":"boolean","description":"true if the field can be set with TCA.","example":true}},"description":"Maps the schema name to every field and its metdata (min, max & unit).","example":{"DVAVAILABILITY":{"deviceAvailability":{"TCAEnabled":false}},"MEMORY":{"memoryUtilization":{"min":"0","max":"100","unitType":"PERCENTAGE","TCAEnabled":true}},"CPU":{"cpuUtilization":{"min":"0","max":"100","unitType":"PERCENTAGE","TCAEnabled":true}},"ENVTEMP":{"envTemperatureX100":{"unitType":"CELSIUS","TCAEnabled":true},"envTemperatureInletX100":{"unitType":"CELSIUS","TCAEnabled":true}}},"$$ref":"#/components/schemas/FieldMetadata"},"description":"Maps the schema name to every field and its metdata (min, max & unit).","example":{"DVAVAILABILITY":{"deviceAvailability":{"TCAEnabled":false}},"MEMORY":{"memoryUtilization":{"min":"0","max":"100","unitType":"PERCENTAGE","TCAEnabled":true}},"CPU":{"cpuUtilization":{"min":"0","max":"100","unitType":"PERCENTAGE","TCAEnabled":true}},"ENVTEMP":{"envTemperatureX100":{"unitType":"CELSIUS","TCAEnabled":true},"envTemperatureInletX100":{"unitType":"CELSIUS","TCAEnabled":true}}}},"description":"Maps the schema name to every field and its metdata (min, max & unit).","example":{"DVAVAILABILITY":{"deviceAvailability":{"TCAEnabled":false}},"MEMORY":{"memoryUtilization":{"min":"0","max":"100","unitType":"PERCENTAGE","TCAEnabled":true}},"CPU":{"cpuUtilization":{"min":"0","max":"100","unitType":"PERCENTAGE","TCAEnabled":true}},"ENVTEMP":{"envTemperatureX100":{"unitType":"CELSIUS","TCAEnabled":true},"envTemperatureInletX100":{"unitType":"CELSIUS","TCAEnabled":true}}}},"schemaDisplayMap":{"type":"object","additionalProperties":{"type":"string"}},"portGroupSupported":{"type":"boolean","description":"True if the policy is interface based","example":true}},"$$ref":"#/components/schemas/MonitoringPolicyTemplate","title":"MonitoringPolicyTemplate"}}