Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cube-frontend-api/cube-cos-openapi
Submodule cube-cos-openapi updated 1 files
+11 −24 docs.yaml
12 changes: 8 additions & 4 deletions packages/cube-frontend-api/sdk/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9908,6 +9908,12 @@ export interface ListNodeGPUCardsResponseDataInner {
* @memberof ListNodeGPUCardsResponseDataInner
*/
'attachedInstances': Array<ListNodeGPUCardsResponseDataInnerAttachedInstancesInner> | 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}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -21286,7 +21292,6 @@ export const GetHealthHistoryModuleTypeEnum = {
Masakari: 'masakari',
Zookeeper: 'zookeeper',
Kafka: 'kafka',
Monasca: 'monasca',
Telegraf: 'telegraf',
Grafana: 'grafana',
Filebeat: 'filebeat',
Expand Down Expand Up @@ -21446,7 +21451,6 @@ export const RepairModuleHealthModuleTypeEnum = {
Masakari: 'masakari',
Zookeeper: 'zookeeper',
Kafka: 'kafka',
Monasca: 'monasca',
Telegraf: 'telegraf',
Grafana: 'grafana',
Filebeat: 'filebeat',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down
12 changes: 12 additions & 0 deletions packages/cube-frontend-web-app/src/mocks/gpu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.MigBackedVgpu,
],
sriovVgpuProfileCountLimit: 10,
deviceProfile: null,
vram: {
allocatedMiB: 32768,
totalMiB: 81920,
Expand Down Expand Up @@ -118,6 +119,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.MigBackedVgpu,
],
sriovVgpuProfileCountLimit: 10,
deviceProfile: null,
vram: {
allocatedMiB: 0,
totalMiB: 4096000,
Expand Down Expand Up @@ -191,6 +193,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.MigBackedVgpu,
],
sriovVgpuProfileCountLimit: 10,
deviceProfile: null,
vram: {
allocatedMiB: 0,
totalMiB: 81920,
Expand Down Expand Up @@ -225,6 +228,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.SriovVgpu,
],
sriovVgpuProfileCountLimit: 10,
deviceProfile: null,
vram: {
allocatedMiB: 12000,
totalMiB: 16384,
Expand Down Expand Up @@ -312,6 +316,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.SriovVgpu,
],
sriovVgpuProfileCountLimit: 10,
deviceProfile: null,
vram: {
allocatedMiB: 0,
totalMiB: 12288,
Expand Down Expand Up @@ -356,6 +361,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.SriovVgpu,
],
sriovVgpuProfileCountLimit: 10,
deviceProfile: null,
vram: {
allocatedMiB: 0,
totalMiB: 16384,
Expand Down Expand Up @@ -384,6 +390,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
},
supportResourceTypes: [GPUSupportResourceType.Pgpu],
sriovVgpuProfileCountLimit: null,
deviceProfile: 'geforce_rtx_4090_1',
vram: {
allocatedMiB: null,
totalMiB: null,
Expand Down Expand Up @@ -427,6 +434,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
},
supportResourceTypes: [GPUSupportResourceType.Pgpu],
sriovVgpuProfileCountLimit: null,
deviceProfile: 'geforce_rtx_4080_1',
vram: {
allocatedMiB: null,
totalMiB: null,
Expand Down Expand Up @@ -455,6 +463,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
},
supportResourceTypes: [GPUSupportResourceType.Pgpu],
sriovVgpuProfileCountLimit: null,
deviceProfile: null,
vram: {
allocatedMiB: 0,
totalMiB: 16384,
Expand Down Expand Up @@ -487,6 +496,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.MigBackedVgpu,
],
sriovVgpuProfileCountLimit: 10,
deviceProfile: 'h100_80gb_pcie_1',
vram: {
allocatedMiB: null,
totalMiB: null,
Expand Down Expand Up @@ -533,6 +543,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.SriovVgpu,
],
sriovVgpuProfileCountLimit: 10,
deviceProfile: null,
vram: {
allocatedMiB: 0,
totalMiB: 49152,
Expand Down Expand Up @@ -578,6 +589,7 @@ const mockGpuCards: Omit<ListNodeGPUCardsResponseDataInner, 'links'>[] = [
GPUSupportResourceType.MigBackedVgpu,
],
sriovVgpuProfileCountLimit: 8,
deviceProfile: null,
vram: {
allocatedMiB: 0,
totalMiB: 24576,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,9 @@ const moduleNameLabelMap: Record<string, string> = {
designate: 'Designate',
rancher: 'Rancher',
masakari: 'Masakari',
senlin: 'Senlin',
watcher: 'Watcher',
zookeeper: 'ZooKeeper',
kafka: 'Kafka',
monasca: 'Monasca',
telegraf: 'Telegraf',
grafana: 'Grafana',
prometheus: 'Prometheus',
Expand Down