Skip to main content

No project description provided

Project description

netswitcher (nt)

Usage: nt [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Commands:
  acl
  lacp
  speed
  state
  status

Installation

git clone https://github.com/Fearkin/netswitcher

poetry install

Usage:

nt acl [action] - команда для работы с ACL

Name of interface should be ge-(0-9)/(0-9)/(0-9)

  • add ACL_name interface_name - Adds ACL rule with given name to interface

  • create name IP - Creates ACL rule with given name

  • delete name IP - Deletes IP from ACL with given name

  • find name - Shows ACL with given name

  • prune name - Deletes ACL rule with given name

  • remove ACL_name interface_name - Removes ACL rule with given name from interface

nt status [action] - команда для проверки интерфейсов

  • int name - Shows current state of interface

  • lacp name - Shows active LACP with given name and all created LACP

  • show name OR show --mac MAC - Shows current configuration of interface

nt speed [action] - команда для изменения скорости

  • desc name description - Set description for interface

  • set name speed (10m|100m|1g) - Set speed for interface

nt lacp [action] - команда для работы с LACP

  • create port (0-9) description interface1 interface2 - Creates LACP

  • delete port (0-9) - Deletes LACP

  • remove name - Removes interface from LACP

nt state on/off name - включить/выключить интерфейс

Project details


Download files

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

Source Distribution

netswitcher-0.2.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netswitcher-0.2.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file netswitcher-0.2.1.tar.gz.

File metadata

  • Download URL: netswitcher-0.2.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/6.1.0-13-amd64

File hashes

Hashes for netswitcher-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c3baee06f280fec8ceceefa7d5393ca43744bf42125a129d1cb4541772d867dd
MD5 aaa30cfba1eb602e0e65975f48517e36
BLAKE2b-256 f1d47a69f57218df4c42a0142929042bf1aa5b8d7c6cfcfb5dada49a9df3da5f

See more details on using hashes here.

File details

Details for the file netswitcher-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: netswitcher-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/6.1.0-13-amd64

File hashes

Hashes for netswitcher-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cc686bdead1ffd877f348bcc19ef79bfa2473e88a3734d083c28e4df7eb66c1
MD5 aae1e74df9adb4f48f501f14a27ef13c
BLAKE2b-256 2aaa3fc2a1dc51233ff2ffd5a2cc3dcefff7f4ca7c7e2247c969e8d357024a3d

See more details on using hashes here.

Supported by

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