Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArpData ¶ added in v0.5.3
type ArpData struct { XMLName xml.Name `xml:"response"` // This ensures the root element is correctly recognized Status string `xml:"status,attr"` // This captures the "status" attribute in the response tag Result ArpResult `xml:"result"` // This nests the result struct under the result tag }
Structs to parse xml arp data response.
type PaloAltoSource ¶
type PaloAltoSource struct { common.Config // Paloalto data. Initialized in init functions. SystemInfo map[string]string // Map storing system information VirtualSystems map[string]vsys.Entry // VirtualSystem name -> VirtualSystem SecurityZones map[string]zone.Entry // SecurityZone name -> SecurityZone Iface2SecurityZone map[string]string // Iface name -> SecurityZone name Iface2VirtualRouter map[string]string // Iface name -> VirtualRouter name Ifaces map[string]eth.Entry // Iface name -> Iface Iface2SubIfaces map[string][]layer3.Entry // Iface name -> SubIfaces VirtualRouters map[string]router.Entry // VirtualRouter name -> VirutalRouter ArpData []ArpEntry // Array of arp entreies // NBFirewall representing paloalto firewall created in syncDevice func. NBFirewall *objects.Device }
func (*PaloAltoSource) Init ¶
func (pas *PaloAltoSource) Init() error
func (*PaloAltoSource) Sync ¶
func (pas *PaloAltoSource) Sync(nbi *inventory.NetboxInventory) error
Click to show internal directories.
Click to hide internal directories.