{"type":"api","title":"Get cat-function-pack consumers","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/7dc17182-c0a2-3a06-aef0-fb5fc1dcca2f","info":{"title":"cat-fp-deployment-manager service APIs","description":"APIs exposed by cat-fp-deployment-manager service","termsOfService":"http://www.cisco.com/web/siteassets/legal/terms_condition.html","contact":{"name":"Cisco Systems","url":"https://www.cisco.com","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/CNC/cat-fp-deployment-manager-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cnc-host}:{cnc-port}/crosswork/cat/cat-fp-deployment-manager-service/v1","variables":{"cnc-host":{"default":"127.0.0.1","description":"host name or ip address of the target CNC Cluster"},"cnc-port":{"default":"30603","description":"port number of the target CNC Cluster"}}}],"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"spec":{"tags":["cat-fp-deployer"],"summary":"Get cat-function-pack consumers","description":"Get function pack deployment active consumers and nodes.","operationId":"getConsumers","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"},"example":"{\"nodes\":{\"/cat-fp-deployment-manager/cat-inventory-0\":\"DEPLOYED\",\"/cat-fp-deployment-manager_data/cat-service-overlay-1\":\"{\\\"serviceName\\\":\\\"cat-service-overlay\\\",\\\"host\\\":\\\"cat-service-overlay-1\\\",\\\"shouldRestart\\\":true}\",\"/cat-fp-deployment-manager/cat-restconf-0\":\"DEPLOYED\",\"/cat-fp-deployment-manager/cat-service-overlay-0\":\"DEPLOYED\",\"/cat-fp-deployment-manager_data/cat-service-overlay-0\":\"{\\\"serviceName\\\":\\\"cat-service-overlay\\\",\\\"host\\\":\\\"cat-service-overlay-0\\\",\\\"shouldRestart\\\":true}\",\"/cat-fp-deployment-manager\":\"DEPLOYED At time: 2023-06-13_19-08-32\",\"/cat-fp-deployment-manager/cat-inventory-1\":\"DEPLOYED\",\"/cat-fp-deployment-manager/version\":\"{\\\"cfpArchiveVersion\\\":\\\"6.0.9\\\",\\\"podVersion\\\":\\\"6.0.0-735-39f51a077-velop_release-230529\\\",\\\"lastSucceedDeployTime\\\":1686683312241,\\\"lastBeginCommitTime\\\":1686683244006}\",\"/cat-fp-deployment-manager_data/nso-connector-0\":\"{\\\"serviceName\\\":\\\"nso-connector\\\",\\\"host\\\":\\\"nso-connector-0\\\",\\\"shouldRestart\\\":false}\",\"/cat-fp-deployment-manager/cat-service-overlay-1\":\"DEPLOYED\",\"/cat-fp-deployment-manager/nso-connector-0\":\"DEPLOYED\",\"/cat-fp-deployment-manager/nso-connector-1\":\"DEPLOYED\",\"/cat-fp-deployment-manager/cat-ui-service-0\":\"DEPLOYED\",\"/cat-fp-deployment-manager/cat-ui-service-1\":\"DEPLOYED\",\"/cat-fp-deployment-manager_data/cat-restconf-1\":\"{\\\"serviceName\\\":\\\"cat-restconf\\\",\\\"host\\\":\\\"cat-restconf-1\\\",\\\"shouldRestart\\\":true}\",\"/cat-fp-deployment-manager_data/cat-restconf-0\":\"{\\\"serviceName\\\":\\\"cat-restconf\\\",\\\"host\\\":\\\"cat-restconf-0\\\",\\\"shouldRestart\\\":true}\",\"/cat-fp-deployment-manager/restart\":\"DEPLOYED\",\"/cat-fp-deployment-manager_data\":\"{}\",\"/cat-fp-deployment-manager_data/cat-inventory-1\":\"{\\\"serviceName\\\":\\\"cat-inventory\\\",\\\"host\\\":\\\"cat-inventory-1\\\",\\\"shouldRestart\\\":false}\",\"/cat-fp-deployment-manager_data/cat-ui-service-1\":\"{\\\"serviceName\\\":\\\"cat-ui-service\\\",\\\"host\\\":\\\"cat-ui-service-1\\\",\\\"shouldRestart\\\":true}\",\"/cat-fp-deployment-manager_data/cat-inventory-0\":\"{\\\"serviceName\\\":\\\"cat-inventory\\\",\\\"host\\\":\\\"cat-inventory-0\\\",\\\"shouldRestart\\\":false}\",\"/cat-fp-deployment-manager_data/cat-ui-service-0\":\"{\\\"serviceName\\\":\\\"cat-ui-service\\\",\\\"host\\\":\\\"cat-ui-service-0\\\",\\\"shouldRestart\\\":true}\",\"/cat-fp-deployment-manager/result\":\"CNC Function Packs DEPLOYED At time: 2023-06-13_19-08-32\",\"/cat-fp-deployment-manager/cat-restconf-1\":\"DEPLOYED\"}}"}}},"500":{"description":"Internal server error"}},"__originalOperationId":"getConsumers","security":[{"bearerAuth":[]}],"method":"get","path":"/twophasecommitrunner/getConsumers"}}