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

pip install nt

or

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

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.1.0.tar.gz (4.1 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.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netswitcher-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 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.1.0.tar.gz
Algorithm Hash digest
SHA256 e0014b717892b7bc3fa2ba7f9cce5ac5f6be09b04c718a766b61ca434eb2b845
MD5 f83502cbb08e0b2953872cb2fc3ac091
BLAKE2b-256 3612ccdfd5e2e7cf0683dae307d3caaa2161db7f1df95cae708f94efc1673b64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netswitcher-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4751c90f05c0193d7fc32b2eef26f54cc4eba6ae1b89a1c1d4f6b1faafe31736
MD5 120f4ed3f93096be72e448a3ef8197ee
BLAKE2b-256 b4ead3421ecaca5854a832fabbc8df7d8f621771c67f178fbd18258d01de6728

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