asupparser

package
v4.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distro

type Distro struct {
	Text string `xml:",chardata"`
}

Distro represents OS distribution

type Docker

type Docker struct {
	Text string `xml:",chardata"`
}

Docker represents docker daemon of NLT

type HostInfoRoot

type HostInfoRoot struct {
	AttrHost    string     `xml:"host,attr"`
	AttrVersion string     `xml:"version,attr"`
	Multipath   Multipath  `xml:"multipath,omitempty"`
	NLT         NLT        `xml:"nlt,omitempty"`
	OS          OS         `xml:"os,omitempty"`
	SystemInfo  SystemInfo `xml:"systeminfo,omitempty"`
}

HostInfoRoot represents root element of xml data collected

type HostInformation

type HostInformation struct {
	SystemInfo         JSONSystemInfo
	OS                 JSONOS
	GetWindowsFeature  []JSONGetWindowsFeature
	MpioRegisteredDsms JSONMpioRegisteredDsms
}

HostInformation represents Windows host information

type Hostname

type Hostname struct {
	Text string `xml:",chardata"`
}

Hostname represents hostname of system

type ITNInfo

type ITNInfo struct {
	Attrtimestamp string `xml:"timestamp,attr"`
	Text          string `xml:",chardata"`
}

ITNInfo represents ITN Info header element of host info collection

type JSONDsmParameter

type JSONDsmParameter struct {
	DsmName    string
	DsmVersion string
}

JSONDsmParameter represents DSM information

type JSONGetWindowsFeature

type JSONGetWindowsFeature struct {
	Name        string
	Installed   bool
	FeatureType string
}

JSONGetWindowsFeature represents windows feature element

type JSONMpioRegisteredDsms

type JSONMpioRegisteredDsms struct {
	NumberDSMs    int
	DsmParameters []JSONDsmParameter
}

JSONMpioRegisteredDsms represents registered windows DSM information

type JSONOS

type JSONOS struct {
	Name    string
	Version string
}

JSONOS represents os element

type JSONSystemInfo

type JSONSystemInfo struct {
	Name         string
	Manufacturer string
	Model        string
}

JSONSystemInfo represents systeminfo element

type Kernel

type Kernel struct {
	Text string `xml:",chardata"`
}

Kernel represents kernel version of the host

type Manufacturer

type Manufacturer struct {
	Text string `xml:",chardata"`
}

Manufacturer represents system manufacturer info

type Multipath

type Multipath struct {
	Attrversion   string        `xml:"version,attr"`
	MultipathConf MultipathConf `xml:"conf,omitempty"`
}

Multipath represents multipath version and multipath.conf settings

type MultipathBlacklist

type MultipathBlacklist struct {
	MultipathDevice  MultipathDevice  `xml:"device,omitempty"`
	MultipathEntries MultipathEntries `xml:"entries,omitempty"`
}

MultipathBlacklist represents blacklist section of multipath.conf

type MultipathBlacklistExceptions

type MultipathBlacklistExceptions struct {
	MultipathDevice  MultipathDevice  `xml:"device,omitempty"`
	MultipathEntries MultipathEntries `xml:"entries,omitempty"`
}

MultipathBlacklistExceptions represents blacklist_exceptions section of multipath.conf

type MultipathConf

type MultipathConf struct {
	MultipathBlackList           MultipathBlacklist           `xml:"blacklist,omitempty"`
	MultipathBlacklistExceptions MultipathBlacklistExceptions `xml:"blacklist_exceptions,omitempty"`
	MultipathDefaults            MultipathDefaults            `xml:"defaults,omitempty"`
	MultipathDevices             MultipathDevices             `xml:"devices,omitempty"`
}

MultipathConf represents multipath.conf settings

type MultipathDefaults

type MultipathDefaults struct {
	MultipathProperties MultipathProperties `xml:"properties,omitempty"`
}

MultipathDefaults represents defaults section of multipath.conf

type MultipathDevice

type MultipathDevice struct {
	MultipathProperties MultipathProperties `xml:"properties,omitempty"`
}

MultipathDevice represents device section of multipath.conf

type MultipathDevices

type MultipathDevices struct {
	MultipathDevice MultipathDevice `xml:"device,omitempty"`
}

MultipathDevices represents devices section of multipath.conf

type MultipathEntries

type MultipathEntries struct {
	MultipathProperties MultipathProperties `xml:"properties,omitempty"`
}

MultipathEntries represents parameter entries in multipath.conf

type MultipathProperties

type MultipathProperties struct {
	MultipathProperty []MultipathProperty `xml:"property,omitempty"`
}

MultipathProperties represents various property key-value pairs in multipath.conf

type MultipathProperty

type MultipathProperty struct {
	Attrname  string `xml:"name,attr"`
	Attrvalue string `xml:"value,attr"`
}

MultipathProperty represents key-value property in multipath.conf

type NCM

type NCM struct {
	Text string `xml:",chardata"`
}

NCM represents NCM info

type NCMScaleout

type NCMScaleout struct {
	Text string `xml:",chardata"`
}

NCMScaleout represent scale-out mode info

type NLT

type NLT struct {
	Attrversion string      `xml:"version,attr"`
	Docker      Docker      `xml:"docker,omitempty"`
	NCM         NCM         `xml:"ncm,omitempty"`
	NCMScaleout NCMScaleout `xml:"ncmscaleout,omitempty"`
	Oracle      Oracle      `xml:"oracle,omitempty"`
}

NLT represents NLT version and component info

type OS

type OS struct {
	Distro  Distro  `xml:"distro,omitempty"`
	Kernel  Kernel  `xml:"kernel,omitempty"`
	Sanboot Sanboot `xml:"sanboot,omitempty"`
	Version Version `xml:"version,omitempty"`
}

OS represents various information about OS

type Oracle

type Oracle struct {
	Text string `xml:",chardata"`
}

Oracle represents oracle daemon info

type ProductName

type ProductName struct {
	Text string `xml:",chardata"`
}

ProductName represent server information

type Root

type Root struct {
	ITNInfo      ITNInfo      `xml:"itn_info,omitempty"`
	HostInfoRoot HostInfoRoot `xml:"root,omitempty"`
}

Root represents root element of XML

type Sanboot

type Sanboot struct {
	Text string `xml:",chardata"`
}

Sanboot represents is system is booted from SAN

type SystemInfo

type SystemInfo struct {
	AttrTimestamp string       `xml:"timestamp,attr"`
	Hostname      Hostname     `xml:"hostname,omitempty"`
	Manufacturer  Manufacturer `xml:"manufacturer,omitempty"`
	ProductName   ProductName  `xml:"productname,omitempty"`
}

SystemInfo represents system information

type Version

type Version struct {
	Text string `xml:",chardata"`
}

Version represents OS version info

type XMLArrayHeader

type XMLArrayHeader struct {
	TimeStamp string `xml:"timestamp,attr"`
}

XMLArrayHeader represents header added by GDD for host info

type XMLDataEntry

type XMLDataEntry struct {
	TimeStamp   string
	XMLHostInfo string
}

XMLDataEntry represents each host entry in the host info log

type XMLNodeHostInfo

type XMLNodeHostInfo struct {
	// OS generic XML nodes
	XMLName    xml.Name `xml:"root"`
	Host       string   `xml:"host,attr"`
	Version    string   `xml:"version,attr"`
	SystemInfo string   `xml:"systeminfo"`
	OS         string   `xml:"os"`

	// Windows specific XML nodes
	GetWindowsFeature string `xml:"GET_WINDOWSFEATURE"`
	MpioRegisteredDsm string `xml:"MPIO_REGISTERED_DSM"`
}

XMLNodeHostInfo represent root element for host information

Jump to

Keyboard shortcuts

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