iosxe

package
v1.11.6 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HWInventory

type HWInventory struct {
	Type         string `xml:"hw-type"`
	DevIndex     string `xml:"hw-dev-index"`
	Version      string `xml:"version"`
	PartNumber   string `xml:"part-number"`
	SerialNumber string `xml:"serial-number"`
	Description  string `xml:"hw-description"`
	DevName      string `xml:"dev-name"`
	Class        string `xml:"hw-class"`
}

HWInventory holds the part and serial numbers from each inventory entry.

type IOSXESource

type IOSXESource struct {
	common.Config

	// IOSXE fetched data. Initialized in init functions.
	HardwareInfo hardwareReply
	SystemInfo   systemReply
	Interfaces   map[string]iface
	ArpEntries   []arpEntry

	// IOSXE synced data. Created in sync functions.
	NBDevice     *objects.Device
	NBInterfaces map[string]*objects.Interface // interfaceName -> netboxInterface
}

func (*IOSXESource) Init

func (is *IOSXESource) Init() error

func (*IOSXESource) Sync

func (is *IOSXESource) Sync(nbi *inventory.NetboxInventory) error

Jump to

Keyboard shortcuts

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