https://github.com/levy-y/network-builder
A minimal IaC (Infrastructure as Code) tool in python
https://github.com/levy-y/network-builder
iac networking python3 tool
Last synced: 5 months ago
JSON representation
A minimal IaC (Infrastructure as Code) tool in python
- Host: GitHub
- URL: https://github.com/levy-y/network-builder
- Owner: Levy-Y
- License: mit
- Created: 2024-05-08T10:34:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-30T16:44:18.000Z (almost 2 years ago)
- Last Synced: 2025-08-23T19:13:46.372Z (10 months ago)
- Topics: iac, networking, python3, tool
- Language: Python
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Network-Builder
[](https://python.org "Go to Python homepage")  
## Installation
### Using pip
```bash
pip install Network_Builder
```
### Manually
1. Download the latest release from the [releases tab](https://github.com/Levy-Y/Network-Builder/releases).
2. Install the wheel file using pip:
```bash
pip install /path/to/downloaded/wheel/file.whl
```
## Usage
```bash
python -m Network_Builder --config_file
```
## Example config yml example:
```yaml
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](LICENSE) file for details.