andytruett / HPmiko

HPmiko is a middle-man script to simplify extracting data from HP/Aruba Procurve switches using Netmiko

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HPmiko

HPmiko is a middle-man script to simplify extracting data from HP/Aruba Procurve switches using Netmiko

Installation

To install HPmiko, simply use pip:

$ pip install HPmiko

HPmiko has the following requirements (which pip will install for you)

  • netmiko >= 2.4.0

Documentation

https://andytruett.github.io/HPmiko/

Usage

import HPmiko

ip = 127.0.0.1
username = "admin"
password = "password"

my_switch = HPmiko.HP(ip, username, password)

my_switch.connect()

hostname = my_switch.get_hostname()
print(hostname)

About

HPmiko is a middle-man script to simplify extracting data from HP/Aruba Procurve switches using Netmiko

License:MIT License


Languages

Language:Python 100.0%