Hello, Network-Operation is aimed at providing some tools or modules for network automated operation. If you are interested in it, find bugs or have any requirement, feel free to contact me via zc8131868@gmail.com. You may also find more useful methods in some_methods folder. For more details please check examples.docx for reference.
import getpass
pwd = getpass.getpass("pls input your password::")
a = autonet.autonet(
username="chengzheng",
password = pwd,
device_ios= "cisco_ios",
url="/Users/zhengcheng/Desktop/result.txt",
url_error_ip="/Users/zhengcheng/Desktop/error_ip.txt"
)
b = a.PING_IP(["1.1.1.1", "2.2.2.2)]
b = a.PING_Subnet("1.1.1.0/24")
b = a.get_version("30.31.190.94")
b = a.get_serial_number("30.31.190.94")
a.auto_show("1.1.1.1", ["show ntp status"])
a.auto_config("2.2.2.2", ["hostname test", "interface g0/1", "switchport mode trunk"])
a.auto_config_file("1.1.1.1", "commands.txt")
a.close_logging()
For now, autonet has been tested on cisco_ios, cisco_nxos, rg_os. It's no double other OS can use PING_IP or PING_Subnet which is independent on OS command. Autnonet will support more OS later.
Metadata
Release files for autonet 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| autonet-0.2.0.tar.gz | 3.8 kB | Without provenance | Details |
Release files / autonet-0.2.0.tar.gz
| Download URL | autonet-0.2.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5afa8e82527236b9ad333505a79339822a597e2759667ada1e9de6f2e4c8494c
|
|
BLAKE2b-256 checksum How to use checksums |
a192169440a1be8c06e49e7fceda2724120b65ed350d193df5d905088fd927f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for autonet 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.