(self, address, port, mib, dry=False)
Constructor

        Args:
            address : SNMP agent's IP address
            port    : SNMP agent's port
            mib     : Target SNMP MIB
            dry     : Dry run mode
Constructor
Constructor
def __init__(self, address, port, mib, dry=False):
        """Constructor

        Args:
            address : SNMP agent's IP address
            port    : SNMP agent's port
            mib     : Target SNMP MIB
            dry     : Dry run mode

        """
        assert (ip_address(address))  # parse address
        self.address = address
        self.port = port
        self.mib = mib
        self.dry = dry
        self.engine = SnmpEngine()
        self._dump_mib()
def __init__ ( self , address , port , mib , dry = False ) : assert ( ip_address ( address ) ) # parse address self . address = address self . port = port self . mib = mib self . dry = dry self . engine = SnmpEngine ( ) self . _dump_mib ( )