Cody Jackson cb76589e95
Allowing the SR-IOV-Network Devices and PCI Devices list pages to render
It looks like addon names were added/changed so I updated those. I also fixed the DeviceList component by adding inherritAttrs: false because rows was getting set incorrectly.
2024-10-23 17:01:00 +02:00

65 lines
1.2 KiB
JavaScript

export const MemoryUnit = [{
label: 'Mi',
value: 'Mi'
}, {
label: 'Gi',
value: 'Gi'
},
{
label: 'TiB',
value: 'Ti'
}];
export const InterfaceOption = [{
label: 'VirtIO',
value: 'virtio'
}, {
label: 'SATA',
value: 'sata'
}, {
label: 'SCSI',
value: 'scsi'
}];
export const SOURCE_TYPE = {
NEW: 'New',
IMAGE: 'VM Image',
ATTACH_VOLUME: 'Existing Volume',
CONTAINER: 'Container'
};
export const VOLUME_TYPE = [{
label: 'disk',
value: 'disk'
}, {
label: 'cd-rom',
value: 'cd-rom'
}];
export const ACCESS_CREDENTIALS = {
RESET_PWD: 'userPassword',
INJECT_SSH: 'sshPublicKey'
};
export const RunStrategys = ['Always', 'RerunOnFailure', 'Manual', 'Halted'];
export const VOLUME_DATA_SOURCE_KIND = {
VolumeSnapshot: 'VolumeSnapshot',
PersistentVolumeClaim: 'Volume'
};
export const FLOW_TYPE = {
LOGGING: 'Logging',
AUDIT: 'Audit',
EVENT: 'Event'
};
export const ADD_ONS = {
HARVESTER_SEEDER: 'harvester-seeder',
PCI_DEVICE_CONTROLLER: 'pcidevices-controller',
RANCHER_LOGGING: 'rancher-logging',
RANCHER_MONITORING: 'rancher-monitoring',
VM_IMPORT_CONTROLLER: 'vm-import-controller',
NVIDIA_DRIVER_TOOLKIT_CONTROLLER: 'nvidia-driver-toolkit'
};