cisco

package
v0.0.0-...-e56e09a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 12 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Switch

type Switch struct {
	Runner nexus.CommandRunner
}

func (*Switch) CheckVlan

func (c *Switch) CheckVlan(vlanID int64) (bool, error)

func (*Switch) GetConfig

func (c *Switch) GetConfig() (string, error)

GetConfig returns running-config of given switch

func (*Switch) GetFirmware

func (c *Switch) GetFirmware() (string, error)

GetFirmware returns Firmware Version of given switch

func (*Switch) GetFullVersion

func (c *Switch) GetFullVersion() (map[string]interface{}, error)

GetFirmware returns Firmware Version of given switch

func (*Switch) Update

func (c *Switch) Update(switchModel string, firmwareImages []*models.FirmwareImage) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL