0.0
No commit activity in last 3 years
No release in over 3 years
Library for accessing commutateurs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

commutateurs

A simple gem to manage network switches

Supported devices

  • Cisco Catalyst
  • H3c
  • Juniper SSG
  • HP Procurve (in progress)
  • Fortigate

Examples

require 'commutateurs'

include Commutateurs

credentials = Credentials.new("login", "password", "enable")

verbose = true
device = Cisco.new("hostname", credentials, verbose) # or H3c.new
device.connect
device.enable

puts device.execute("sh interface status")

device.disconnect