Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnacSource ¶ added in v0.2.0
type DnacSource struct { common.Config // Dnac fetched data. Initialized in init functions. Sites map[string]dnac.ResponseSitesGetSiteResponse // SiteID -> Site Devices map[string]dnac.ResponseDevicesGetDeviceListResponse // DeviceID -> Device Interfaces map[string]dnac.ResponseDevicesGetAllInterfacesResponse // InterfaceID -> Interface Vlans map[int]dnac.ResponseDevicesGetDeviceInterfaceVLANsResponse // VlanID -> Vlan WirelessLANInterfaceName2VlanID map[string]int // InterfaceName -> VlanID SSID2WirelessProfileDetails map[string]dnac.ResponseItemWirelessGetWirelessProfileProfileDetailsSSIDDetails SSID2WlanGroupName map[string]string // SSID -> WirelessLANGroup name SSID2SecurityDetails map[string]dnac.ResponseItemWirelessGetEnterpriseSSIDSSIDDetails // WirelessLANName -> SSIDDetails // Relations between dnac data. Initialized in init functions. Site2Parent map[string]string // Site ID -> Parent Site ID Site2Devices map[string]map[string]bool // Site ID - > set of device IDs Device2Site map[string]string // Device ID -> Site ID DeviceID2InterfaceIDs map[string][]string // DeviceID -> []InterfaceID // Netbox related data for easier access. Initialized in sync functions. DeviceID2isMissingPrimaryIP sync.Map // Variable for storing devices without primary IP. See ds.syncMissingDevicePrimaryIPs VID2nbVlan sync.Map // VlanID -> nbVlan SiteID2nbSite sync.Map // SiteID -> nbSite DeviceID2nbDevice sync.Map // DeviceID -> nbDevice InterfaceID2nbInterface sync.Map // InterfaceID -> nbInterface }
func (*DnacSource) Init ¶ added in v0.2.0
func (ds *DnacSource) Init() error
func (*DnacSource) Sync ¶ added in v0.2.0
func (ds *DnacSource) Sync(nbi *inventory.NetboxInventory) error
Click to show internal directories.
Click to hide internal directories.