{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/0a9b2acc-7c69-3a2d-a85e-640d9a4fe06c","info":{"title":"Service Health Assurance Graph APIs","description":"APIs for requesting assurance-graph data stored in the Crosswork Service Health application.","termsOfService":"terms-of-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"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/ServiceHealth/sh_assurance_graph_overview.md"}},"openapi":"3.0.1","servers":[{"url":"/crosswork/aa/agmgr/v1/"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Security token for authorizing requests for these APIs.","name":"Authorization","in":"header"}}},"spec":{"type":"object","description":"Service Health Report","properties":{"healthStatus":{"type":"string","description":"Service Health Statuses: \n - UNKNOWN: Default state that CNC-ISTP displays when monitoring is not enabled for a given service.\n - MONITORING_INITIATED: When Service Health receives a monitoring request for a given service, the service gets initialized to this state.\n - MONITORING_FAILED: State reflecting that Service Health ran into some internal error or failure. Sample failures: collection job failure, unexpected feed coming in from device etc.\n - MONITORING_PAUSED: State reflecting that monitoring is in the 'pause' state; that is, monitoring is not active but historical data is available for inspection via the timeline.\n - SERVICE_UP: All the different subservices of the Service that are being monitored are healthy, with no issues to report.\n - SERVICE_DOWN: All the different subservices of the Service that are being monitored are reporting issues. Corresponding symptoms should provide more details about the issues being encountered.\n - SERVICE_DEGRADED: Some of the subservices of that Service that are being monitored are reporting issues. Corresponding symptoms should provide more details about the issues being encountered.","default":"UNKNOWN","enum":["UNKNOWN","MONITORING_INITIATED","MONITORING_FAILED","MONITORING_PAUSED","SERVICE_UP","SERVICE_DOWN","SERVICE_DEGRADED"],"$$ref":"#/components/schemas/HealthStatus"},"monitoringStatus":{"type":"string","description":"Monitoring statuses: \n - MONITORING_UNKNOWN: default status when the monitoring status is unknown.\n - MONITORING_SUCCESS: Success state when there are no errors in monitoring.\n - ENCOUNTERED_ERRORS: State reflects the monitoring errors.","default":"MONITORING_UNKNOWN","enum":["MONITORING_UNKNOWN","MONITORING_SUCCESS","ENCOUNTERED_ERRORS"],"$$ref":"#/components/schemas/MonitoringStatus"},"liveMetricFeeds":{"type":"object","description":"Live Metric Feeds","additionalProperties":{"type":"object","description":"Live metric feed","properties":{"metricLabel":{"type":"string","description":"Metric identifier. SubserviceClass definition provides this label value."},"description":{"description":"Reflects 'description' field in SSC","type":"string"},"threshold":{"description":"Reflects 'threshold' field in SSC","type":"string"},"unitType":{"description":"Unit type for the given metric","type":"string"},"feedVal":{"type":"object","description":"Output Metric Value","properties":{"s":{"type":"string","description":"String value of OutputMetricValue"},"f":{"type":"number","format":"float","description":"Float value of OutputMetricValue"},"d":{"type":"number","format":"double","description":"Double value of OutputMetricValue"},"i":{"type":"string","format":"int64","description":"Int64 value of OutputMetricValue"},"u":{"type":"string","format":"uint64","description":"Uint64 value of OutputMetricValue"},"b":{"type":"boolean","description":"Boolean value of OutputMetricValue"},"updateTimestamp":{"type":"string","format":"int64","description":"Update Timestamp of OutputMetricValue"}},"$$ref":"#/components/schemas/OutputMetricValue"},"updateTimestamp":{"description":"Time when the feed was last updated","type":"string","format":"int64"}},"$$ref":"#/components/schemas/liveMetricFeed"}},"subserviceHealthReports":{"type":"object","description":"Subservice Health Reports","additionalProperties":{"type":"object","description":"Subservice Oper State","properties":{"healthScore":{"type":"integer","description":"Health score","format":"int64"},"healthStatus":{"type":"string","description":"Service Health Statuses: \n - UNKNOWN: Default state that CNC-ISTP displays when monitoring is not enabled for a given service.\n - MONITORING_INITIATED: When Service Health receives a monitoring request for a given service, the service gets initialized to this state.\n - MONITORING_FAILED: State reflecting that Service Health ran into some internal error or failure. Sample failures: collection job failure, unexpected feed coming in from device etc.\n - MONITORING_PAUSED: State reflecting that monitoring is in the 'pause' state; that is, monitoring is not active but historical data is available for inspection via the timeline.\n - SERVICE_UP: All the different subservices of the Service that are being monitored are healthy, with no issues to report.\n - SERVICE_DOWN: All the different subservices of the Service that are being monitored are reporting issues. Corresponding symptoms should provide more details about the issues being encountered.\n - SERVICE_DEGRADED: Some of the subservices of that Service that are being monitored are reporting issues. Corresponding symptoms should provide more details about the issues being encountered.","default":"UNKNOWN","enum":["UNKNOWN","MONITORING_INITIATED","MONITORING_FAILED","MONITORING_PAUSED","SERVICE_UP","SERVICE_DOWN","SERVICE_DEGRADED"],"$$ref":"#/components/schemas/HealthStatus"},"liveMetricFeeds":{"type":"object","description":"Live metric feeds","additionalProperties":{"type":"object","description":"Live metric feed","properties":{"metricLabel":{"type":"string","description":"Metric identifier. SubserviceClass definition provides this label value."},"description":{"description":"Reflects 'description' field in SSC","type":"string"},"threshold":{"description":"Reflects 'threshold' field in SSC","type":"string"},"unitType":{"description":"Unit type for the given metric","type":"string"},"feedVal":{"type":"object","description":"Output Metric Value","properties":{"s":{"type":"string","description":"String value of OutputMetricValue"},"f":{"type":"number","format":"float","description":"Float value of OutputMetricValue"},"d":{"type":"number","format":"double","description":"Double value of OutputMetricValue"},"i":{"type":"string","format":"int64","description":"Int64 value of OutputMetricValue"},"u":{"type":"string","format":"uint64","description":"Uint64 value of OutputMetricValue"},"b":{"type":"boolean","description":"Boolean value of OutputMetricValue"},"updateTimestamp":{"type":"string","format":"int64","description":"Update Timestamp of OutputMetricValue"}},"$$ref":"#/components/schemas/OutputMetricValue"},"updateTimestamp":{"description":"Time when the feed was last updated","type":"string","format":"int64"}},"$$ref":"#/components/schemas/liveMetricFeed"}},"rootExpressionStatus":{"type":"object","description":"Output Simple Value","properties":{"str":{"type":"string","description":"String value of outputSimpleValue"},"fl":{"type":"number","description":"Float value of outputSimpleValue","format":"float"},"d":{"type":"number","description":"Double value of outputSimpleValue","format":"double"},"int":{"type":"string","description":"Int64 value of outputSimpleValue","format":"int64"},"u":{"type":"string","description":"Uint64 value of outputSimpleValue","format":"uint64"},"b":{"type":"boolean","description":"Boolean value of outputSimpleValue"},"strList":{"type":"object","description":"List of Output SimpleValue String List","properties":{"list":{"type":"array","description":"List of OutputSimpleValueStringList","items":{"type":"string","description":"string"}}},"$$ref":"#/components/schemas/OutputSimpleValueStringList"},"flList":{"type":"object","description":"Output SimpleValue Float List","properties":{"list":{"type":"array","description":"List of OutputSimpleValueFloatList","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/OutputSimpleValueFloatList"},"intList":{"type":"object","description":"Output SimpleValue Int List","properties":{"list":{"type":"array","description":"List of OutputSimpleValueIntList","items":{"type":"string","description":"Int64","format":"int64"}}},"$$ref":"#/components/schemas/OutputSimpleValueIntList"},"uintList":{"type":"object","description":"List of Output SimpleValue Uint List","properties":{"list":{"type":"array","description":"List of OutputSimpleValueUintList","items":{"type":"string","description":"unit64","format":"uint64"}}},"$$ref":"#/components/schemas/OutputSimpleValueUintList"},"bList":{"type":"object","description":"Output SimpleValue Boolean List","properties":{"list":{"type":"array","description":"List of OutputSimpleValueBoolList","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/OutputSimpleValueBoolList"},"status":{"type":"object","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"symptoms":{"type":"array","description":"Symptoms of OutputSimpleValueStatus","items":{"$ref":"#/components/schemas/ExptrackerOutputSymptom","$$ref":"#/components/schemas/ExptrackerOutputSymptom"}}},"description":"Status which represents the health and symptoms.","$$ref":"#/components/schemas/OutputSimpleValueStatus"},"alert":{"type":"object","description":"Simple Value Alert","properties":{"level":{"type":"string","description":"Level of SimpleValueAlert"},"message":{"type":"string","description":"Message of SimpleValueAlert"}},"$$ref":"#/components/schemas/SimpleValueAlert"},"dList":{"type":"object","description":"Output SimpleValue Double List","properties":{"list":{"type":"array","description":"List of OutputSimpleValueDoubleList","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/OutputSimpleValueDoubleList"},"nodeID":{"type":"string","description":"Node-id of outputSimpleValue"},"calculations":{"type":"object","description":"Output Calculations","properties":{"expLabel":{"type":"string","description":"Exp Label of OutputCalculations"},"evalExpressionString":{"type":"string","description":"Eval Expression String of OutputCalculations"},"observedValue":{"type":"string","description":"Observed value of OutputCalculations"},"symptomMetrics":{"type":"array","description":"Symptom metrics of OutputCalculations","items":{"type":"object","description":"Output Calculations Symptom Metric","properties":{"metricInstance":{"type":"string","description":"MetricInstance of OutputCalculationsSymptomMetric"},"value":{"type":"string","description":"Value of OutputCalculationsSymptomMetric"},"displayLabel":{"type":"string","description":"Display label of OutputCalculationsSymptomMetric"}},"$$ref":"#/components/schemas/OutputCalculationsSymptomMetric"}},"subExps":{"type":"array","description":"SubExps of OutputCalculations","items":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"}},"profileConstants":{"title":"map\u003ckey, value\u003e\n key: Constant name\n value: Value defined for this constant in the respective Config Profile\nExample:\n \"profileConstants\": {\n \"CPU_THRESHOLD_MAX\": \"80\"\n }","type":"object","description":"Profile Constants of OutputCalculations","additionalProperties":{"type":"string","description":"Additional Properties of Profile Constants"}}},"$$ref":"#/components/schemas/OutputCalculations"},"subserviceName":{"type":"string","description":"SubserviceName of outputSimpleValue"},"symptoms":{"type":"array","description":"Symptoms of outputSimpleValue","items":{"type":"object","description":"Exptracker Output Symptom","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"label":{"type":"string","description":"Label of ExptrackerOutputSymptom"},"start":{"type":"string","description":"Start of ExptrackerOutputSymptom","format":"int64"},"end":{"type":"string","description":"End of ExptrackerOutputSymptom","format":"int64"},"calculations":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"},"symptoms":{"type":"array","description":"Symptoms of ExptrackerOutputSymptom","items":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"}},"priority":{"type":"integer","description":"Priority of ExptrackerOutputSymptom","format":"int64"},"nodeID":{"type":"string","description":"nodeId of ExptrackerOutputSymptom"},"cdgID":{"type":"string","description":"cdgId of ExptrackerOutputSymptom"}},"$$ref":"#/components/schemas/ExptrackerOutputSymptom"}},"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"send":{"type":"boolean","description":"Send of outputSimpleValue"},"errors":{"type":"array","description":"Errors of outputSimpleValue","items":{"type":"object","description":"Exptracker Output Symptom","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"label":{"type":"string","description":"Label of ExptrackerOutputSymptom"},"start":{"type":"string","description":"Start of ExptrackerOutputSymptom","format":"int64"},"end":{"type":"string","description":"End of ExptrackerOutputSymptom","format":"int64"},"calculations":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"},"symptoms":{"type":"array","description":"Symptoms of ExptrackerOutputSymptom","items":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"}},"priority":{"type":"integer","description":"Priority of ExptrackerOutputSymptom","format":"int64"},"nodeID":{"type":"string","description":"nodeId of ExptrackerOutputSymptom"},"cdgID":{"type":"string","description":"cdgId of ExptrackerOutputSymptom"}},"$$ref":"#/components/schemas/ExptrackerOutputSymptom"}}},"$$ref":"#/components/schemas/outputSimpleValue"},"ruleTriggerConditions":{"type":"object","description":"SubserviceOperState Rule Trigger Conditions.","properties":{"activate":{"type":"object","description":"Output Conditionals","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"treeID":{"type":"string","description":"TreeID of OutputConditionals"},"value":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"},"labels":{"type":"object","description":"Labels of OutputConditionals","additionalProperties":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"}},"nodeID":{"type":"string","description":"Node id of OutputConditionals"},"treeType":{"type":"string","description":"Output Tree Type","default":"HEALTH","enum":["HEALTH","CONDITIONAL_ACTIVATE","CONDITIONAL_DEACTIVATE","CONDITIONAL_UPDATE","DYNAMIC"],"$$ref":"#/components/schemas/OutputTreeType"},"calculations":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"},"send":{"type":"boolean","description":"Boolean value of OutputConditionals"}},"$$ref":"#/components/schemas/OutputConditionals"},"deactivate":{"type":"object","description":"Output Conditionals","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"treeID":{"type":"string","description":"TreeID of OutputConditionals"},"value":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"},"labels":{"type":"object","description":"Labels of OutputConditionals","additionalProperties":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"}},"nodeID":{"type":"string","description":"Node id of OutputConditionals"},"treeType":{"type":"string","description":"Output Tree Type","default":"HEALTH","enum":["HEALTH","CONDITIONAL_ACTIVATE","CONDITIONAL_DEACTIVATE","CONDITIONAL_UPDATE","DYNAMIC"],"$$ref":"#/components/schemas/OutputTreeType"},"calculations":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"},"send":{"type":"boolean","description":"Boolean value of OutputConditionals"}},"$$ref":"#/components/schemas/OutputConditionals"},"update":{"type":"object","description":"Output Conditionals","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"treeID":{"type":"string","description":"TreeID of OutputConditionals"},"value":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"},"labels":{"type":"object","description":"Labels of OutputConditionals","additionalProperties":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"}},"nodeID":{"type":"string","description":"Node id of OutputConditionals"},"treeType":{"type":"string","description":"Output Tree Type","default":"HEALTH","enum":["HEALTH","CONDITIONAL_ACTIVATE","CONDITIONAL_DEACTIVATE","CONDITIONAL_UPDATE","DYNAMIC"],"$$ref":"#/components/schemas/OutputTreeType"},"calculations":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"},"send":{"type":"boolean","description":"Boolean value of OutputConditionals"}},"$$ref":"#/components/schemas/OutputConditionals"},"ruleTriggerParamMap":{"description":"Map to store the received conditionals parameters with their values.","type":"object","additionalProperties":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"}},"paramMapWithTimestamp":{"description":"Map with key as parameter name and value as timestamp.","type":"object","additionalProperties":{"type":"string","format":"int64"}}},"$$ref":"#/components/schemas/subserviceOperStateRuleTriggerConditions"},"componentErrors":{"type":"object","description":"Component errors","additionalProperties":{"type":"object","description":"Each component's list of error messages","properties":{"errorMsgs":{"type":"array","description":"List if Error messages","items":{"type":"object","properties":{"errorMsg":{"type":"string","description":"Error message"},"createdTs":{"type":"string","description":"Created Timestamp"}},"description":"To store each component's list of error messages and its timestamp.","$$ref":"#/components/schemas/componentErrorError"}}},"$$ref":"#/components/schemas/componentError"}},"healthTs":{"description":"The last time the subservice health got updated","type":"string","format":"int64"},"trackerTs":{"type":"string","description":"The last time the subservice health was updated due to health updates sent by the tracker.","format":"int64"},"subGraph":{"type":"object","description":"Service Graph","properties":{"SubserviceDependencies":{"type":"array","description":"Subservice Dependencies","items":{"type":"object","description":"Subservice SG Node","properties":{"id":{"description":"subservice-id - UUID","type":"string"},"subserviceClass":{"description":"SubserviceClass Name","type":"string"},"namespace":{"type":"string","description":"Subservice namespace"},"description":{"type":"string","description":"SubserviceClass Description"},"staticId":{"description":"Combination of subservice_class, namespace and config","type":"string"},"config":{"description":"Subservice Config","type":"object","properties":{"args":{"type":"array","description":"List of arguments passed to this subservice.","items":{"type":"object","description":"Subservice Config Arg","properties":{"parameter":{"type":"object","description":"HPElem Param","properties":{"name":{"type":"string","description":"Name of this parameter. Examples: DEVICE, IFNAME, IFENTRY, VPN."},"description":{"type":"string","description":"Description of HPElemParam"},"type":{"type":"string","description":"ParamType allows HPMgr to interpret the nature of the argument values passed while instantiating Heuristic Package elements like Rule, Subservice etc.","default":"PARAM_TYPE_NON_LIST","enum":["PARAM_TYPE_NON_LIST","PARAM_TYPE_LIST"],"$$ref":"#/components/schemas/HPElemParamType"}},"$$ref":"#/components/schemas/HPElemParam"},"values":{"description":"Given argument could be a list of values like [Tor-A, Tor-B] for given key-name 'Devices'","type":"array","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/SubserviceConfigArg"}}},"$$ref":"#/components/schemas/subserviceConfig"},"dynamicSS":{"description":"Flag indicating if the given subservice is dynamic","type":"boolean"},"subDeps":{"type":"array","description":"Hard Dependencies: List of Subservice-ids which are of string type.","items":{"type":"string","description":"String"}},"softSubDeps":{"type":"array","description":"Soft Dependencies: List of Subservice-ids which are of string type.","items":{"type":"string","description":"String"}},"dynamicSubDeps":{"type":"array","description":"List of hard and soft dynamic subservice dependencies. These lists can change dynamically independent of the rest of the service graph.","items":{"type":"string","description":"String"}},"dynamicSoftSubDeps":{"type":"array","description":"Dynamic Soft Dependencies: List of Subservice-ids which are of string type.","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/SubserviceSGNode"}},"SoftRootSubserviceNodes":{"type":"array","description":"List of Subservice-ids that have a soft relationship with the service node.","items":{"type":"string"}}},"$$ref":"#/components/schemas/serviceGraph"},"monitoringStatus":{"type":"string","description":"Monitoring statuses: \n - MONITORING_UNKNOWN: default status when the monitoring status is unknown.\n - MONITORING_SUCCESS: Success state when there are no errors in monitoring.\n - ENCOUNTERED_ERRORS: State reflects the monitoring errors.","default":"MONITORING_UNKNOWN","enum":["MONITORING_UNKNOWN","MONITORING_SUCCESS","ENCOUNTERED_ERRORS"],"$$ref":"#/components/schemas/MonitoringStatus"}},"$$ref":"#/components/schemas/SubserviceOperState"}}},"$$ref":"#/components/schemas/ServiceHealthReport","title":"ServiceHealthReport"}}