sushy-tools/sushy_tools/emulator/constants.py
Ilya Etingof e1c844dfa7 Add Virtual Media support
This patch introduces VirtualMedia resource.

This change implements Insert/Eject actions against the VirtualMedia
resource. Although all changes are just persistent mocks - virtual media
emulation is not yet backed by virtualization drivers yet.

The upcoming patches will convey virtual media calls to systems
drivers (e.g. libvirt and/or nova) to make VMs bootable from the
inserted images.

Story: 2005149
Task: 29857
Change-Id: I32c7926865a4817363a5846f155b01b88ea3383c
2019-07-02 16:12:51 +02:00

21 lines
731 B
Python

# Copyright 2019 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
DEVICE_TYPE_PXE = 'Pxe'
DEVICE_TYPE_HDD = 'Hdd'
DEVICE_TYPE_CD = 'Cd'
DEVICE_TYPE_FLOPPY = 'Floppy'