diff --git a/packages/cube-frontend-api/cube-cos-openapi b/packages/cube-frontend-api/cube-cos-openapi index a34418d33..6217dc430 160000 --- a/packages/cube-frontend-api/cube-cos-openapi +++ b/packages/cube-frontend-api/cube-cos-openapi @@ -1 +1 @@ -Subproject commit a34418d338c775429c3405fdb80813fd5bbda2aa +Subproject commit 6217dc43032e8bb170200d646313b4b01e144eec diff --git a/packages/cube-frontend-api/sdk/api.ts b/packages/cube-frontend-api/sdk/api.ts index a900d96d6..8b8aff1c5 100644 --- a/packages/cube-frontend-api/sdk/api.ts +++ b/packages/cube-frontend-api/sdk/api.ts @@ -9908,6 +9908,12 @@ export interface ListNodeGPUCardsResponseDataInner { * @memberof ListNodeGPUCardsResponseDataInner */ 'attachedInstances': Array | null; + /** + * The Cyborg device profile a flavor\'s accel:device_profile must name to be scheduled onto this card. Only a pgpu card has one: sriovVgpu and migBackedVgpu cards are scheduled through the PCI alias reported on each of their profiles. Null on every other resource type, and on a pgpu card whose profile has not been created yet or could not be looked up. + * @type {string} + * @memberof ListNodeGPUCardsResponseDataInner + */ + 'deviceProfile': string | null; /** * * @type {ListNodeGPUCardsResponseDataInnerLinks} @@ -20977,7 +20983,7 @@ export interface HealthApiGetHealthHistoryRequest { /** * The name of the module to retrieve health history. use GET /api/v1/datacenters/{dataCenter}/services/{serviceType} to get the module list. - * @type {'link' | 'clock' | 'dns' | 'bootstrap' | 'license' | 'etcd' | 'nodelist' | 'hacluster' | 'rabbitmq' | 'mysql' | 'mongodb' | 'vip' | 'haproxy_ha' | 'ceph' | 'ceph_mon' | 'ceph_osd' | 'ceph_rgw' | 'ceph_mds' | 'ceph_mgr' | 'rbd_target' | 'fc_link' | 'haproxy' | 'httpd' | 'skyline' | 'api' | 'memcache' | 'k3s' | 'keycloak' | 'neutron' | 'nova' | 'cyborg' | 'ironic' | 'glance' | 'cinder' | 'manila' | 'swift' | 'heat' | 'octavia' | 'designate' | 'rancher' | 'masakari' | 'zookeeper' | 'kafka' | 'monasca' | 'telegraf' | 'grafana' | 'filebeat' | 'auditbeat' | 'logstash' | 'opensearch' | 'opensearch-dashboards' | 'influxdb' | 'kapacitor'} + * @type {'link' | 'clock' | 'dns' | 'bootstrap' | 'license' | 'etcd' | 'nodelist' | 'hacluster' | 'rabbitmq' | 'mysql' | 'mongodb' | 'vip' | 'haproxy_ha' | 'ceph' | 'ceph_mon' | 'ceph_osd' | 'ceph_rgw' | 'ceph_mds' | 'ceph_mgr' | 'rbd_target' | 'fc_link' | 'haproxy' | 'httpd' | 'skyline' | 'api' | 'memcache' | 'k3s' | 'keycloak' | 'neutron' | 'nova' | 'cyborg' | 'ironic' | 'glance' | 'cinder' | 'manila' | 'swift' | 'heat' | 'octavia' | 'designate' | 'rancher' | 'masakari' | 'zookeeper' | 'kafka' | 'telegraf' | 'grafana' | 'filebeat' | 'auditbeat' | 'logstash' | 'opensearch' | 'opensearch-dashboards' | 'influxdb' | 'kapacitor'} * @memberof HealthApiGetHealthHistory */ readonly moduleType: GetHealthHistoryModuleTypeEnum @@ -21131,7 +21137,7 @@ export interface HealthApiRepairModuleHealthRequest { /** * The name of the module to repair. use GET /api/v1/datacenters/{dataCenter}/services/{serviceType} to get the module list. - * @type {'link' | 'clock' | 'dns' | 'bootstrap' | 'license' | 'etcd' | 'nodelist' | 'hacluster' | 'rabbitmq' | 'mysql' | 'mongodb' | 'vip' | 'haproxy_ha' | 'ceph' | 'ceph_mon' | 'ceph_osd' | 'ceph_rgw' | 'ceph_mds' | 'ceph_mgr' | 'rbd_target' | 'fc_link' | 'haproxy' | 'httpd' | 'skyline' | 'api' | 'memcache' | 'k3s' | 'keycloak' | 'neutron' | 'nova' | 'cyborg' | 'ironic' | 'glance' | 'cinder' | 'manila' | 'swift' | 'heat' | 'octavia' | 'designate' | 'rancher' | 'masakari' | 'zookeeper' | 'kafka' | 'monasca' | 'telegraf' | 'grafana' | 'filebeat' | 'auditbeat' | 'logstash' | 'opensearch' | 'opensearch-dashboards' | 'influxdb' | 'kapacitor'} + * @type {'link' | 'clock' | 'dns' | 'bootstrap' | 'license' | 'etcd' | 'nodelist' | 'hacluster' | 'rabbitmq' | 'mysql' | 'mongodb' | 'vip' | 'haproxy_ha' | 'ceph' | 'ceph_mon' | 'ceph_osd' | 'ceph_rgw' | 'ceph_mds' | 'ceph_mgr' | 'rbd_target' | 'fc_link' | 'haproxy' | 'httpd' | 'skyline' | 'api' | 'memcache' | 'k3s' | 'keycloak' | 'neutron' | 'nova' | 'cyborg' | 'ironic' | 'glance' | 'cinder' | 'manila' | 'swift' | 'heat' | 'octavia' | 'designate' | 'rancher' | 'masakari' | 'zookeeper' | 'kafka' | 'telegraf' | 'grafana' | 'filebeat' | 'auditbeat' | 'logstash' | 'opensearch' | 'opensearch-dashboards' | 'influxdb' | 'kapacitor'} * @memberof HealthApiRepairModuleHealth */ readonly moduleType: RepairModuleHealthModuleTypeEnum @@ -21286,7 +21292,6 @@ export const GetHealthHistoryModuleTypeEnum = { Masakari: 'masakari', Zookeeper: 'zookeeper', Kafka: 'kafka', - Monasca: 'monasca', Telegraf: 'telegraf', Grafana: 'grafana', Filebeat: 'filebeat', @@ -21446,7 +21451,6 @@ export const RepairModuleHealthModuleTypeEnum = { Masakari: 'masakari', Zookeeper: 'zookeeper', Kafka: 'kafka', - Monasca: 'monasca', Telegraf: 'telegraf', Grafana: 'grafana', Filebeat: 'filebeat', diff --git a/packages/cube-frontend-ui-library/src/stories/components/CosPanel/CosDashboardPanel/mockData.ts b/packages/cube-frontend-ui-library/src/stories/components/CosPanel/CosDashboardPanel/mockData.ts index 57d54e858..867e699d4 100644 --- a/packages/cube-frontend-ui-library/src/stories/components/CosPanel/CosDashboardPanel/mockData.ts +++ b/packages/cube-frontend-ui-library/src/stories/components/CosPanel/CosDashboardPanel/mockData.ts @@ -24,7 +24,7 @@ const getMockEvent = (index: number): Event => { at 192.168.0.8 is reachable`, host: 'dell13', category: 'Net', - service: 'senlin', + service: 'neutron', metadata: 'id:940c6a1f-1f42-4152a87e-56c0309939df', time: 'yyyy/mm/dd 00:00', } diff --git a/packages/cube-frontend-web-app/src/mocks/gpu.ts b/packages/cube-frontend-web-app/src/mocks/gpu.ts index 3e148d009..b261ad3c8 100644 --- a/packages/cube-frontend-web-app/src/mocks/gpu.ts +++ b/packages/cube-frontend-web-app/src/mocks/gpu.ts @@ -30,6 +30,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.MigBackedVgpu, ], sriovVgpuProfileCountLimit: 10, + deviceProfile: null, vram: { allocatedMiB: 32768, totalMiB: 81920, @@ -118,6 +119,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.MigBackedVgpu, ], sriovVgpuProfileCountLimit: 10, + deviceProfile: null, vram: { allocatedMiB: 0, totalMiB: 4096000, @@ -191,6 +193,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.MigBackedVgpu, ], sriovVgpuProfileCountLimit: 10, + deviceProfile: null, vram: { allocatedMiB: 0, totalMiB: 81920, @@ -225,6 +228,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.SriovVgpu, ], sriovVgpuProfileCountLimit: 10, + deviceProfile: null, vram: { allocatedMiB: 12000, totalMiB: 16384, @@ -312,6 +316,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.SriovVgpu, ], sriovVgpuProfileCountLimit: 10, + deviceProfile: null, vram: { allocatedMiB: 0, totalMiB: 12288, @@ -356,6 +361,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.SriovVgpu, ], sriovVgpuProfileCountLimit: 10, + deviceProfile: null, vram: { allocatedMiB: 0, totalMiB: 16384, @@ -384,6 +390,7 @@ const mockGpuCards: Omit[] = [ }, supportResourceTypes: [GPUSupportResourceType.Pgpu], sriovVgpuProfileCountLimit: null, + deviceProfile: 'geforce_rtx_4090_1', vram: { allocatedMiB: null, totalMiB: null, @@ -427,6 +434,7 @@ const mockGpuCards: Omit[] = [ }, supportResourceTypes: [GPUSupportResourceType.Pgpu], sriovVgpuProfileCountLimit: null, + deviceProfile: 'geforce_rtx_4080_1', vram: { allocatedMiB: null, totalMiB: null, @@ -455,6 +463,7 @@ const mockGpuCards: Omit[] = [ }, supportResourceTypes: [GPUSupportResourceType.Pgpu], sriovVgpuProfileCountLimit: null, + deviceProfile: null, vram: { allocatedMiB: 0, totalMiB: 16384, @@ -487,6 +496,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.MigBackedVgpu, ], sriovVgpuProfileCountLimit: 10, + deviceProfile: 'h100_80gb_pcie_1', vram: { allocatedMiB: null, totalMiB: null, @@ -533,6 +543,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.SriovVgpu, ], sriovVgpuProfileCountLimit: 10, + deviceProfile: null, vram: { allocatedMiB: 0, totalMiB: 49152, @@ -578,6 +589,7 @@ const mockGpuCards: Omit[] = [ GPUSupportResourceType.MigBackedVgpu, ], sriovVgpuProfileCountLimit: 8, + deviceProfile: null, vram: { allocatedMiB: 0, totalMiB: 24576, diff --git a/packages/cube-frontend-web-app/src/pages/home/health/homeHealthPageUtils.ts b/packages/cube-frontend-web-app/src/pages/home/health/homeHealthPageUtils.ts index c26696a62..3abfacf96 100644 --- a/packages/cube-frontend-web-app/src/pages/home/health/homeHealthPageUtils.ts +++ b/packages/cube-frontend-web-app/src/pages/home/health/homeHealthPageUtils.ts @@ -87,11 +87,9 @@ const moduleNameLabelMap: Record = { designate: 'Designate', rancher: 'Rancher', masakari: 'Masakari', - senlin: 'Senlin', watcher: 'Watcher', zookeeper: 'ZooKeeper', kafka: 'Kafka', - monasca: 'Monasca', telegraf: 'Telegraf', grafana: 'Grafana', prometheus: 'Prometheus',