{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/aec5c4a2-bcff-3f98-bfdb-2d20859244c1","info":{"title":"Crosswork ClusterManager API","description":"ClusterManager provides API methods for managing Crosswork cluster. This includes getting cluster and node summary, getting cluster and node health information. It also provides APIs to collect showtech, rebalance cluster and set or get login banner.","version":"3.0.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/CLUSTER/cluster-overview.md"}},"openapi":"3.0.0","servers":[{"url":"/crosswork/platform/v2"}],"securitySchemes":{"api_key":{"description":"security definitions details","type":"apiKey","name":"Authorization","in":"header"}}},"spec":{"type":"object","properties":{"app_name":{"type":"string"},"app_id":{"type":"string"},"app_parameters":{"type":"object","properties":{"status":{"type":"string","title":"Status"},"availability":{"type":"string","title":"High-Availability status"},"recommendation":{"type":"string"},"description":{"type":"string"}},"$$ref":"#/components/schemas/clusterAppParameters"},"app_resource":{"type":"object","properties":{"cpu_summary":{"type":"object","properties":{"current_usage":{"type":"string"},"used":{"type":"string"},"total":{"type":"string"},"thresholds":{"type":"object","properties":{"medium_range_start":{"type":"integer","format":"int32"},"high_range_start":{"type":"integer","format":"int32"}},"title":"Usage Thresholds in percent for CPU, Memory or Disk\nLow : 0 - \u003c medium_range_start\nMedium : medium_range_start - \u003c high_range_start\nHigh : high_range_start - 100","$$ref":"#/components/schemas/clusterResourceThreshold"}},"title":"Summary of Crosswork Resources","$$ref":"#/components/schemas/clusterResourceSummary"},"memory_summary":{"type":"object","properties":{"current_usage":{"type":"string"},"used":{"type":"string"},"total":{"type":"string"},"thresholds":{"type":"object","properties":{"medium_range_start":{"type":"integer","format":"int32"},"high_range_start":{"type":"integer","format":"int32"}},"title":"Usage Thresholds in percent for CPU, Memory or Disk\nLow : 0 - \u003c medium_range_start\nMedium : medium_range_start - \u003c high_range_start\nHigh : high_range_start - 100","$$ref":"#/components/schemas/clusterResourceThreshold"}},"title":"Summary of Crosswork Resources","$$ref":"#/components/schemas/clusterResourceSummary"},"disk_summary":{"type":"object","properties":{"current_usage":{"type":"string"},"used":{"type":"string"},"total":{"type":"string"},"thresholds":{"type":"object","properties":{"medium_range_start":{"type":"integer","format":"int32"},"high_range_start":{"type":"integer","format":"int32"}},"title":"Usage Thresholds in percent for CPU, Memory or Disk\nLow : 0 - \u003c medium_range_start\nMedium : medium_range_start - \u003c high_range_start\nHigh : high_range_start - 100","$$ref":"#/components/schemas/clusterResourceThreshold"}},"title":"Summary of Crosswork Resources","$$ref":"#/components/schemas/clusterResourceSummary"},"node_cpu_summary":{"type":"object","properties":{"current_usage":{"type":"string"},"used":{"type":"string"},"total":{"type":"string"},"thresholds":{"type":"object","properties":{"medium_range_start":{"type":"integer","format":"int32"},"high_range_start":{"type":"integer","format":"int32"}},"title":"Usage Thresholds in percent for CPU, Memory or Disk\nLow : 0 - \u003c medium_range_start\nMedium : medium_range_start - \u003c high_range_start\nHigh : high_range_start - 100","$$ref":"#/components/schemas/clusterResourceThreshold"}},"title":"Summary of Crosswork Resources","$$ref":"#/components/schemas/clusterResourceSummary"},"node_mem_summary":{"type":"object","properties":{"current_usage":{"type":"string"},"used":{"type":"string"},"total":{"type":"string"},"thresholds":{"type":"object","properties":{"medium_range_start":{"type":"integer","format":"int32"},"high_range_start":{"type":"integer","format":"int32"}},"title":"Usage Thresholds in percent for CPU, Memory or Disk\nLow : 0 - \u003c medium_range_start\nMedium : medium_range_start - \u003c high_range_start\nHigh : high_range_start - 100","$$ref":"#/components/schemas/clusterResourceThreshold"}},"title":"Summary of Crosswork Resources","$$ref":"#/components/schemas/clusterResourceSummary"},"last_updated_time":{"type":"string"}},"$$ref":"#/components/schemas/clusterResource"},"micro_service_list":{"type":"object","properties":{"micro_service":{"type":"array","items":{"type":"object","properties":{"Name":{"type":"string","title":"Name of the Service"},"health_state":{"type":"string","enum":["Healthy","Degraded","Down","NA","Unknown"],"default":"Healthy","$$ref":"#/components/schemas/clusterHealthState"},"up_time":{"type":"string","title":"Up time of the Service"},"recommendation":{"type":"string","title":"Recommendation for this Service"},"description":{"type":"string","title":"Description of this Service"},"is_dynamic":{"type":"boolean","title":"Runtime type of this Service"},"micro_service_action":{"type":"object","properties":{"actions":{"type":"array","items":{"type":"object","properties":{"action_name":{"type":"string"},"action_id":{"type":"string"}},"$$ref":"#/components/schemas/clusterAction"}}},"title":"Actions that can be done on a Microservice","$$ref":"#/components/schemas/clusterMicroServiceAction"},"Version":{"type":"string","title":"Version of this service"},"version_history":{"type":"array","items":{"type":"object","properties":{"unit_id":{"type":"string","title":"Immutable Unique application identifier"},"version":{"type":"string","title":"Semantic version of Application containing Major.minor.patch"},"description":{"type":"string","title":"Description of pod,resource"},"creation_time":{"type":"string","format":"int64","title":"Uptime of the pod"}},"title":"Version history of a microservice","$$ref":"#/components/schemas/clusterVersionHistory"},"title":"Deployment unit(Pods) version hsitory"}},"title":"Microservice","$$ref":"#/components/schemas/clusterMicroService"}}},"title":"List of Microservices","$$ref":"#/components/schemas/clusterMicroServiceList"}},"title":"clusterAppDetails","$$ref":"#/components/schemas/clusterAppDetails"}}