vyos@RTR1# delete vpn anyconnect [edit] vyos@RTR1# commit [ vpn anyconnect ] anyconnect authentication mode required delete [ vpn anyconnect ] failed Commit failed
If we use default values in config necessary to use the following construction:
def get_config(): conf = Config() base = ['vpn', 'anyconnect'] if not conf.exists(base): return None