api

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BluefieldConfig added in v0.5.0

type BluefieldConfig struct {
	BulefieldIP string `yaml:"bulefieldIP"`
}

type Filter added in v0.4.0

type Filter struct {
	MacPrefix []string `yaml:"macPrefix"`
}

type HttpBootConfig added in v0.5.0

type HttpBootConfig struct {
	BootFile       string `yaml:"bootFile"`
	ClientSpecific bool   `yaml:"clientSpecific"`
}

type IPAMConfig added in v0.5.0

type IPAMConfig struct {
	Namespace string   `yaml:"namespace"`
	Subnets   []string `yaml:"subnets"`
}

type Inventory

type Inventory struct {
	Name       string `yaml:"name"`
	MacAddress string `yaml:"macAddress"`
}

type MACFilterConfig added in v0.5.1

type MACFilterConfig struct {
	AllowList []string `yaml:"allowList"`
	DenyList  []string `yaml:"denyList"`
}

type MetalConfig added in v0.5.0

type MetalConfig struct {
	NamePrefix  string      `yaml:"namePrefix"`
	Inventories []Inventory `yaml:"hosts"`
	Filter      Filter      `yaml:"filter"`
}

type OOBConfig added in v0.5.0

type OOBConfig struct {
	Namespace    string        `yaml:"namespace"`
	SubnetLabels []SubnetLabel `yaml:"subnetLabels"`
}

type OnMetalConfig added in v0.5.0

type OnMetalConfig struct {
	PrefixDelegation PrefixDelegation `yaml:"prefixDelegation"`
}

type PrefixDelegation added in v0.5.0

type PrefixDelegation struct {
	Length int `yaml:"length"`
}

type PxebootConfig added in v0.5.0

type PxebootConfig struct {
	TFTPServer string `yaml:"tftpServer"`
	IPXEServer string `yaml:"ipxeServer"`
}

type SubnetLabel added in v0.6.0

type SubnetLabel struct {
	Key   string `yaml:"key"`
	Value string `yaml:"value"`
}

type Switch added in v0.5.1

type Switch struct {
	MacAddress                string `yaml:"macAddress"`
	ProvisioningScriptAddress string `yaml:"provisioningScriptAddress"`
	Name                      string `yaml:"name"`
}

type ZTPConfig added in v0.5.1

type ZTPConfig struct {
	Switches []Switch `yaml:"switches"`
}

Jump to

Keyboard shortcuts

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