Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.snmp.const Namespace Reference

Variables

string CONF_ACCEPT_ERRORS = "accept_errors"
 
string CONF_AUTH_KEY = "auth_key"
 
string CONF_AUTH_PROTOCOL = "auth_protocol"
 
string CONF_BASEOID = "baseoid"
 
string CONF_COMMUNITY = "community"
 
string CONF_DEFAULT_VALUE = "default_value"
 
string CONF_PRIV_KEY = "priv_key"
 
string CONF_PRIV_PROTOCOL = "priv_protocol"
 
string CONF_VARTYPE = "vartype"
 
string CONF_VERSION = "version"
 
string DEFAULT_AUTH_PROTOCOL = "none"
 
string DEFAULT_COMMUNITY = "public"
 
string DEFAULT_HOST = "localhost"
 
string DEFAULT_NAME = "SNMP"
 
string DEFAULT_PORT = "161"
 
string DEFAULT_PRIV_PROTOCOL = "none"
 
int DEFAULT_TIMEOUT = 8
 
string DEFAULT_VARTYPE = "none"
 
string DEFAULT_VERSION = "1"
 
dictionary MAP_AUTH_PROTOCOLS
 
dictionary MAP_PRIV_PROTOCOLS
 
dictionary SNMP_VERSIONS = {"1": 0, "2c": 1, "3": None}
 

Detailed Description

SNMP constants.

Variable Documentation

◆ CONF_ACCEPT_ERRORS

string homeassistant.components.snmp.const.CONF_ACCEPT_ERRORS = "accept_errors"

Definition at line 3 of file const.py.

◆ CONF_AUTH_KEY

string homeassistant.components.snmp.const.CONF_AUTH_KEY = "auth_key"

Definition at line 4 of file const.py.

◆ CONF_AUTH_PROTOCOL

string homeassistant.components.snmp.const.CONF_AUTH_PROTOCOL = "auth_protocol"

Definition at line 5 of file const.py.

◆ CONF_BASEOID

string homeassistant.components.snmp.const.CONF_BASEOID = "baseoid"

Definition at line 6 of file const.py.

◆ CONF_COMMUNITY

string homeassistant.components.snmp.const.CONF_COMMUNITY = "community"

Definition at line 7 of file const.py.

◆ CONF_DEFAULT_VALUE

string homeassistant.components.snmp.const.CONF_DEFAULT_VALUE = "default_value"

Definition at line 8 of file const.py.

◆ CONF_PRIV_KEY

string homeassistant.components.snmp.const.CONF_PRIV_KEY = "priv_key"

Definition at line 9 of file const.py.

◆ CONF_PRIV_PROTOCOL

string homeassistant.components.snmp.const.CONF_PRIV_PROTOCOL = "priv_protocol"

Definition at line 10 of file const.py.

◆ CONF_VARTYPE

string homeassistant.components.snmp.const.CONF_VARTYPE = "vartype"

Definition at line 12 of file const.py.

◆ CONF_VERSION

string homeassistant.components.snmp.const.CONF_VERSION = "version"

Definition at line 11 of file const.py.

◆ DEFAULT_AUTH_PROTOCOL

string homeassistant.components.snmp.const.DEFAULT_AUTH_PROTOCOL = "none"

Definition at line 14 of file const.py.

◆ DEFAULT_COMMUNITY

string homeassistant.components.snmp.const.DEFAULT_COMMUNITY = "public"

Definition at line 15 of file const.py.

◆ DEFAULT_HOST

string homeassistant.components.snmp.const.DEFAULT_HOST = "localhost"

Definition at line 16 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.snmp.const.DEFAULT_NAME = "SNMP"

Definition at line 17 of file const.py.

◆ DEFAULT_PORT

string homeassistant.components.snmp.const.DEFAULT_PORT = "161"

Definition at line 18 of file const.py.

◆ DEFAULT_PRIV_PROTOCOL

string homeassistant.components.snmp.const.DEFAULT_PRIV_PROTOCOL = "none"

Definition at line 19 of file const.py.

◆ DEFAULT_TIMEOUT

int homeassistant.components.snmp.const.DEFAULT_TIMEOUT = 8

Definition at line 20 of file const.py.

◆ DEFAULT_VARTYPE

string homeassistant.components.snmp.const.DEFAULT_VARTYPE = "none"

Definition at line 22 of file const.py.

◆ DEFAULT_VERSION

string homeassistant.components.snmp.const.DEFAULT_VERSION = "1"

Definition at line 21 of file const.py.

◆ MAP_AUTH_PROTOCOLS

dictionary homeassistant.components.snmp.const.MAP_AUTH_PROTOCOLS
Initial value:
1 = {
2  "none": "usmNoAuthProtocol",
3  "hmac-md5": "usmHMACMD5AuthProtocol",
4  "hmac-sha": "usmHMACSHAAuthProtocol",
5  "hmac128-sha224": "usmHMAC128SHA224AuthProtocol",
6  "hmac192-sha256": "usmHMAC192SHA256AuthProtocol",
7  "hmac256-sha384": "usmHMAC256SHA384AuthProtocol",
8  "hmac384-sha512": "usmHMAC384SHA512AuthProtocol",
9 }

Definition at line 26 of file const.py.

◆ MAP_PRIV_PROTOCOLS

dictionary homeassistant.components.snmp.const.MAP_PRIV_PROTOCOLS
Initial value:
1 = {
2  "none": "usmNoPrivProtocol",
3  "des": "usmDESPrivProtocol",
4  "3des-ede": "usm3DESEDEPrivProtocol",
5  "aes-cfb-128": "usmAesCfb128Protocol",
6  "aes-cfb-192": "usmAesCfb192Protocol",
7  "aes-cfb-256": "usmAesCfb256Protocol",
8 }

Definition at line 36 of file const.py.

◆ SNMP_VERSIONS

dictionary homeassistant.components.snmp.const.SNMP_VERSIONS = {"1": 0, "2c": 1, "3": None}

Definition at line 24 of file const.py.