SnmpTrap#
- class SnmpTrap(address=None, username=None, protocol=None, port=None, should_inform=None, engine_id=None, version=None, reciever_name=None, community_string=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModelSNMP trap details.
- Parameters:
address (required) – (
address)username (max=64 chars) – (
username) SNMP username. For SNMP trap v3 version, SNMP username is required parameter.protocol – (
protocol)port – (
port) SNMP port.should_inform – (
should_inform) SNMP information status.engine_id – (
engine_id) SNMP engine Id.version (required) – (
version)reciever_name (max=64 chars) – (
reciever_name) SNMP receiver name.community_string – (
community_string) Community string(plaintext) for SNMP version 2.0.
- property community_string#
Community string(plaintext) for SNMP version 2.0.
- Type:
str
- property engine_id#
SNMP engine Id.
- Type:
str
- property port#
SNMP port.
- Type:
int
- property protocol#
- Type:
- property reciever_name#
SNMP receiver name.
- Type:
str
- property should_inform#
SNMP information status.
- Type:
bool
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property username#
SNMP username. For SNMP trap v3 version, SNMP username is required parameter.
- Type:
str
- property version#
- Type: