Skip to main content

A library for managing VyOS routers over SSH

Project description

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()

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vymgmt-0.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file vymgmt-0.1.tar.gz.

File metadata

  • Download URL: vymgmt-0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vymgmt-0.1.tar.gz
Algorithm Hash digest
SHA256 738de8d374fef68d264f9e003af27b97af37ad0a3b51151ce8c2fb827da98e3b
MD5 05b381b0df0c5bff1ac26d6e940de278
BLAKE2b-256 b52ef344509c67aa10b51d7bda2b10b2d11152d83e6b4644068c235893257968

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page