 Documentation
      ¶
      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
 Click to show internal directories. 
   Click to hide internal directories.