Skip to main content

Control RV6688BCM router

Project description

⟹ Releases are here ⟸

This is library and CLI utils to control the router. It depends on python 3.5 and requests library.

See API in source code - it’s really simple and short.

CLI also have a --help for options =). You may start from this command: python router.pyz --help, where python must be python 3.5 or higher.

provides this output:

usage: router.pyz [OPTIONS] COMMAND [ARGS]...

  --ip TEXT        Router IP
  --user TEXT      Login name
  --password TEXT  Password
  --help           Show this message and exit.

  calls   Calls operations
  nat     NAT operations
  router  Direct router operations

The router-control supports basic environment variables (in addition to command line arguments):

  • RC_IP - IP address to router
  • RC_USER - Login name to router (default: admin)
  • RC_PASSWORD - Password to router (default: admin)

Router operations

Usage: router.pyz router [OPTIONS] COMMAND [ARGS]...

  Direct router operations

  --help  Show this message and exit.

  apply   Apply changes on the router
  export  Print details about router in json
  info    Print details about router


Command: python router.pyz --ip router info

NAT operations

Usage: router.pyz nat [OPTIONS] COMMAND [ARGS]...

  NAT operations

  --help  Show this message and exit.

  create   Create forwarding rule
  disable  Disable (but not remove) rule
  enable   Enable rule
  info     Print forwarding table
  remove   Remove forwarding rule
  rename   Rename forwarding rule
  update   Update forwarding record

Calls operations

Usage: router.pyz calls [OPTIONS] COMMAND [ARGS]...

  Calls operations

  --help  Show this message and exit.

  export  Print calls history in JSON
  info    Print calls history

Project details

Download files

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

Files for rvcm, version 1.0.8
Filename, size & hash File type Python version Upload date
rvcm-1.0.8.linux-x86_64.tar.gz (17.1 kB) View hashes Source None
rvcm-1.0.8-py3.5.egg (28.9 kB) View hashes Egg 3.5
rvcm-1.0.8.tar.gz (8.5 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page