Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assets ¶
type Assets struct { DeviceInventory []*dcim.NetworkDevice CmdbBGPGlobal []*bgp.BGPGlobal CmdbBGPSessions []*bgp.Session CmdbPeerGroups []*bgp.PeerGroup CmdbRoutePolicies []*routingpolicy.RoutePolicy CmdbPrefixLists []*routingpolicy.PrefixList CmdbCommunityLists []*routingpolicy.CommunityList CmdbSNMP []*snmp.SNMP }
func FetchAssets ¶
FetchAssets get data from all ingestors.
func (*Assets) Precompute ¶
func (i *Assets) Precompute() *AssetsPerDevice
func (*Assets) PrintStats ¶
func (i *Assets) PrintStats()
PrintStats prints number of asset per ingestor.
func (*Assets) ReportStats ¶
ReportStats sends stats to current Report.
type AssetsPerDevice ¶
type AssetsPerDevice struct { BGPGlobal map[string]*bgp.BGPGlobal BGPsessions map[string][]*bgp.Session PeerGroups map[string][]*bgp.PeerGroup PrefixLists map[string][]*routingpolicy.PrefixList CommunityLists map[string][]*routingpolicy.CommunityList RoutePolicies map[string][]*routingpolicy.RoutePolicy SNMP map[string]*snmp.SNMP }
Click to show internal directories.
Click to hide internal directories.