Skip to main content

Infrastructure as code network builder

Project description

Logo

Network-Builder

Made with Python maintained - yes Upload to PyPi

Installation

Using pip

pip install Network_Builder

Manually

  1. Download the latest release from the releases tab.
  2. 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


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)

Uploaded Source

Built Distribution

network_builder-0.0.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for network_builder-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8516487d421161b784005f273e0fd5ff59c53d0bf3aa13eaee77095f82f238cb
MD5 c1f3d2b9a00e552c5db1e7ac386f71fc
BLAKE2b-256 892b8006848771f1d38c3a03c31841992f413aa1c29a628dc0e8f0286de15d17

See more details on using hashes here.

File details

Details for the file network_builder-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for network_builder-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cc39b5ec8f562e2fb6b8e842e71cb2d1fea6179bf88ddcf4f1364377002eac7f
MD5 030ba9a98018831a64e7de7a152540c3
BLAKE2b-256 befa7f212be974517a4836c28eab3ceccbc28414185e3f3c6e0fc31ca8486a95

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page