'Class init'

def __init__(self, **kwargs):

    argument_spec = kwargs['argument_spec']
    self.spec = argument_spec
    self.module = AnsibleModule(argument_spec=self.spec, required_together=[('interface_type', 'interface_number')], supports_check_mode=True)
    self.cur_cfg = dict()
    self.cur_cfg['snmp-agent    trap'] = []
    self.cur_cfg['undo    snmp-agent    trap'] = []
    self.state = self.module.params['state']
    self.feature_name = self.module.params['feature_name']
    self.trap_name = self.module.params['trap_name']
    self.interface_type = self.module.params['interface_type']
    self.interface_number = self.module.params['interface_number']
    self.port_number = self.module.params['port_number']
    self.changed = False
    self.updates_cmd = list()
    self.results = dict()
    self.proposed = dict()
    self.existing = dict()
    self.existing['snmp-agent    trap'] = []
    self.existing['undo    snmp-agent    trap'] = []
    self.end_state = dict()
    self.end_state['snmp-agent    trap'] = []
    self.end_state['undo    snmp-agent    trap'] = []
    commands = list()
    cmd1 = 'display    interface    brief'
    commands.append(cmd1)
    self.interface = run_commands(self.module, commands)
