asset

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 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 IPs,
	//when asset is first retrieved all IPs are listed in this slice.
	IPAddresses []string
	//The active IP is assigned to this field once identified,
	IPAddress string
	Serial    string
	Vendor    string
	Model     string
	Type      string //server or chassis
	Location  string
	Setup     bool              //If setup is set, butlers will setup the asset.
	Configure bool              //If setup is set, butlers will configure the asset.
	Execute   bool              //If execute is 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 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