skip to navigation
skip to content

vymgmt 0.1

A library for managing VyOS routers over SSH

Provides a programmatic interface to VyOS set/delete/commit commands and simple wrappers for running arbitrary commands on VyOS over SSH.

Usage example:

import vymgmt

vyos = vymgmt.Router('192.0.2.1', 'vyos', password='vyos', port=22)

vyos.login()
vyos.configure()

vyos.set("protocols static route 203.0.113.0/25 next-hop 192.0.2.20")
vyos.delete("system options reboot-on-panic")

vyos.commit()
vyos.save()
vyos.exit()
vyos.logout()
 
File Type Py Version Uploaded on Size
vymgmt-0.1.tar.gz (md5, pgp) Source 2016-09-06 3KB