1#!/usr/bin/env python3
2
3r"""
4Contains channel-related constants.
5"""
6
7medium_type_ipmi_conf_map = {
8    "reserved": "reserved",
9    "IPMB (I2C)": "ipmb",
10    "ICMB v1.0": "icmb-v1.0",
11    "ICMB v0.9": "icmb-v0.9",
12    "802.3 LAN": "lan-802.3",
13    "Serial/Modem": "serial",
14    "Other LAN": "other-lan",
15    "PCI SMBus": "pci-smbus",
16    "SMBus v1.0/v1.1": "smbus-v1.0",
17    "SMBus v2.0": "smbus-v2.0",
18    "USB 1.x": "usb-1x",
19    "USB 2.x": "usb-2x",
20    "System Interface": "system-interface",
21}
22
23
24protocol_type_ipmi_conf_map = {
25    "reserved": "na",
26    "IPMB-1.0": "ipmb-1.0",
27    "ICMB-1.0": "icmb-2.0",
28    "reserved": "reserved",
29    "IPMI-SMBus": "ipmi-smbus",
30    "KCS": "kcs",
31    "SMIC": "smic",
32    "BT-10": "bt-10",
33    "BT-15": "bt-15",
34    "TMode": "tmode",
35    "OEM 1": "oem",
36}
37
38
39disabled_ipmi_conf_map = {
40    "disabled": "True",
41    "enabled": "False",
42}
43
44
45access_mode_ipmi_conf_map = {
46    "disabled": "disabled",
47    "pre-boot only": "pre-boot",
48    "always available": "always_available",
49    "shared": "shared",
50}
51