Infrastructure as code network builder
Project description
Network-Builder
Installation
Using pip
pip install Network_Builder
Manually
- Download the latest release from the releases tab.
- Install the wheel file using pip:
pip install /path/to/downloaded/wheel/file.whl
Usage
python -m Network_Builder --config_file <file_path>
Example config yml example:
version: '1.0'
devices:
- name: 'device1'
type: 'cisco_ios'
ip: '192.168.1.210'
port: '22'
username: 'admin'
password: 'password'
- name: 'device2'
type: 'cisco_ios'
ip: '192.168.1.211'
port: '22'
username: 'admin'
password: 'password'
tasks:
- name: 'task1 name'
description: 'This is task 1'
device: 'device1'
commands:
- 'show version'
- 'show ip interface brief'
- name: 'task2 name'
description: 'This is task 2'
device: 'device2'
commands:
- 'show version'
- 'show ip interface brief'
Contributing
We welcome contributions from the community. Before submitting a pull request, please ensure that:
- Your feature or bug fix is covered by tests.
- Your code adheres to the existing code style.
- You have added or updated documentation as necessary.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
network_builder-0.0.3.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file network_builder-0.0.3.tar.gz
.
File metadata
- Download URL: network_builder-0.0.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8516487d421161b784005f273e0fd5ff59c53d0bf3aa13eaee77095f82f238cb |
|
MD5 | c1f3d2b9a00e552c5db1e7ac386f71fc |
|
BLAKE2b-256 | 892b8006848771f1d38c3a03c31841992f413aa1c29a628dc0e8f0286de15d17 |
File details
Details for the file network_builder-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: network_builder-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc39b5ec8f562e2fb6b8e842e71cb2d1fea6179bf88ddcf4f1364377002eac7f |
|
MD5 | 030ba9a98018831a64e7de7a152540c3 |
|
BLAKE2b-256 | befa7f212be974517a4836c28eab3ceccbc28414185e3f3c6e0fc31ca8486a95 |