1e7e9171eSGeorge Keishing#!/usr/bin/env python3 218c6f9a4STony Lee 318c6f9a4STony Leer""" 418c6f9a4STony LeeContains channel-related constants. 518c6f9a4STony Lee""" 618c6f9a4STony Lee 718c6f9a4STony Leemedium_type_ipmi_conf_map = { 818c6f9a4STony Lee "reserved": "reserved", 918c6f9a4STony Lee "IPMB (I2C)": "ipmb", 1018c6f9a4STony Lee "ICMB v1.0": "icmb-v1.0", 1118c6f9a4STony Lee "ICMB v0.9": "icmb-v0.9", 1218c6f9a4STony Lee "802.3 LAN": "lan-802.3", 1318c6f9a4STony Lee "Serial/Modem": "serial", 1418c6f9a4STony Lee "Other LAN": "other-lan", 1518c6f9a4STony Lee "PCI SMBus": "pci-smbus", 1618c6f9a4STony Lee "SMBus v1.0/v1.1": "smbus-v1.0", 1718c6f9a4STony Lee "SMBus v2.0": "smbus-v2.0", 1818c6f9a4STony Lee "USB 1.x": "usb-1x", 1918c6f9a4STony Lee "USB 2.x": "usb-2x", 20*20f38712SPatrick Williams "System Interface": "system-interface", 2118c6f9a4STony Lee} 2218c6f9a4STony Lee 2318c6f9a4STony Lee 2418c6f9a4STony Leeprotocol_type_ipmi_conf_map = { 2518c6f9a4STony Lee "reserved": "na", 2618c6f9a4STony Lee "IPMB-1.0": "ipmb-1.0", 2718c6f9a4STony Lee "ICMB-1.0": "icmb-2.0", 2818c6f9a4STony Lee "reserved": "reserved", 2918c6f9a4STony Lee "IPMI-SMBus": "ipmi-smbus", 3018c6f9a4STony Lee "KCS": "kcs", 3118c6f9a4STony Lee "SMIC": "smic", 3218c6f9a4STony Lee "BT-10": "bt-10", 3318c6f9a4STony Lee "BT-15": "bt-15", 3418c6f9a4STony Lee "TMode": "tmode", 3518c6f9a4STony Lee "OEM 1": "oem", 3618c6f9a4STony Lee} 3718c6f9a4STony Lee 3818c6f9a4STony Lee 3918c6f9a4STony Leedisabled_ipmi_conf_map = { 4018c6f9a4STony Lee "disabled": "True", 4118c6f9a4STony Lee "enabled": "False", 4218c6f9a4STony Lee} 4318c6f9a4STony Lee 4418c6f9a4STony Lee 4518c6f9a4STony Leeaccess_mode_ipmi_conf_map = { 4618c6f9a4STony Lee "disabled": "disabled", 4718c6f9a4STony Lee "pre-boot only": "pre-boot", 4818c6f9a4STony Lee "always available": "always_available", 4918c6f9a4STony Lee "shared": "shared", 5018c6f9a4STony Lee} 51