'Get snmp local engine operation'

def get_snmp_local_engine(self, **kwargs):

    module = kwargs['module']
    regular = '|    include    snmp    |    include    local-engineid'
    flags = list()
    flags.append(regular)
    tmp_cfg = get_config(module, flags)
    if tmp_cfg:
        tmp_data = tmp_cfg.split('snmp-agent    local-engineid    ')
        self.local_engine_id = tmp_data[1]
