asset

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	// A chassis asset may have more than one IP.
	// When the asset is first retrieved, all IPs are listed in this slice.
	IPAddresses []string
	// The active IP is assigned to this field once identified.
	// When we fail to login to the asset, this field is NOT set.
	IPAddress    string
	Serial       string
	Vendor       string
	HardwareType string
	Type         string // "server" or "chassis"
	Location     string
	Setup        bool              // If set, butlers will setup the asset.
	Configure    bool              // If set, butlers will configure the asset.
	Execute      bool              // If set, butlers will execute given command(s) on the asset.
	Extra        map[string]string // Any extra params needed to be set in a asset.
}

Asset is a unit of Server BMC/Chassis BMC. Assets are passed around from inventories to butlers.

Jump to

Keyboard shortcuts

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