'config tunnel mode vxlan'

def config_tunnel_mode(self):

    if self.tunnel_mode_vxlan:
        cmd = 'ip    tunnel    mode    vxlan'
        exist = is_config_exist(self.config, cmd)
        if (self.tunnel_mode_vxlan == 'enable'):
            if (not exist):
                self.cli_add_command(cmd)
        elif exist:
            self.cli_add_command(cmd, undo=True)
