Skip to content

fratelemk/aruba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automating VLAN creation on Aruba ProCurve switches with Python

This repository provides a Python script that automates the process of configuring VLANs on an Aruba ProCurve switch using the Netmiko library.

The script uses a YAML file to specify the configuration for the switch and VLANs. Below is an example of a valid configuration:

switch:
    host: 192.168.1.23
    username: admin
    password: admin
    device_type: aruba_procurve

vlan:
    - 2:
        name: RENDER_FARM_VLAN
        tagged: 1
        untagged: 2-12
    - 4:
        name: LAB_VLAN
        untagged: 32

Requirements

  • Python 3.x
  • Netmiko
  • PyYAML (for reading configuration from a YAML file, already bundled with Netmiko)

You can install the required Python libraries with:

pip install netmiko

Usage

python configure.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages