'Get update commands'

def get_update_cmd(self):

    if self.same_conf:
        return
    if (self.enable and (self.enable != self.dldp_conf['dldpEnable'])):
        if (self.enable == 'enable'):
            self.updates_cmd.append('dldp    enable')
        elif (self.enable == 'disable'):
            self.updates_cmd.append('undo    dldp    enable')
            return
    work_mode = 'normal'
    if (self.dldp_conf['dldpWorkMode'] == 'dldpEnhance'):
        work_mode = 'enhance'
    if (self.work_mode and (self.work_mode != work_mode)):
        if (self.work_mode == 'enhance'):
            self.updates_cmd.append('dldp    work-mode    enhance')
        else:
            self.updates_cmd.append('dldp    work-mode    normal')
    if (self.internal and (self.internal != self.dldp_conf['dldpInterval'])):
        self.updates_cmd.append(('dldp    interval    %s' % self.internal))
    if self.auth_mode:
        if (self.auth_mode == 'none'):
            self.updates_cmd.append('undo    dldp    authentication-mode')
        else:
            self.updates_cmd.append(('dldp    authentication-mode    %s    %s' % (self.auth_mode, self.auth_pwd)))
    if (self.reset and (self.reset == 'enable')):
        self.updates_cmd.append('dldp    reset')
