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.2.0.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.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netswitcher-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0f39197f7e9c591d4ec56a8cbf7d916c0d4964b7516bc80267b7e4e131e3c93a
MD5 afcf0e2b019b846aad86e417ddea7fab
BLAKE2b-256 3ccd776b84739417e66886f405153cb54bf445dc954a1eec5a7e3c7355ec2458

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netswitcher-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3b086ba56456486c6d67ae4f860607fe73e487cd79fbacbbc27ead0312bb049
MD5 eaf30144795e950ad80ab533abe901d3
BLAKE2b-256 ed094a8fdafbea3af133e6e046e5dff71815975f02fcee8c5338b391e53057ef

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