bss

package
v1.32.7 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IPAMNetworks = [...]string{"cmn", "hmn", "mtl", "nmn"}

IPAMNetworks - The networks that need IPAM.

View Source
var KubernetesNCNRunCMD = [...]string{
	"/srv/cray/scripts/metal/net-init.sh",
	"/srv/cray/scripts/common/update_ca_certs.py",
	"/srv/cray/scripts/metal/install.sh",
	"/srv/cray/scripts/common/kubernetes-cloudinit.sh",
	"/srv/cray/scripts/common/join-spire-on-storage.sh",
	"touch /etc/cloud/cloud-init.disabled",
}

KubernetesNCNRunCMD - The run-cmd for Kubernetes nodes.

View Source
var StorageNCNRunCMD = [...]string{
	"/srv/cray/scripts/metal/net-init.sh",
	"/srv/cray/scripts/common/update_ca_certs.py",
	"/srv/cray/scripts/metal/install.sh",
	"/srv/cray/scripts/common/pre-load-images.sh",
	"/srv/cray/scripts/common/ceph-enable-services.sh",
	"touch /etc/cloud/cloud-init.disabled",
}

StorageNCNRunCMD - The run-cmd for storage nodes.

Functions

This section is empty.

Types

type CloudInitIPAM

type CloudInitIPAM map[string]IPAMNetwork

CloudInitIPAM - Typdef for IPAM map.

type HostRecord added in v1.16.16

type HostRecord struct {
	IP      string   `json:"ip"`
	Aliases []string `json:"aliases"`
}

HostRecord - Structure that describes an element of host_records portion of cloud-init

type HostRecords added in v1.16.16

type HostRecords []HostRecord

HostRecords - Structure that describes the host_records portion of cloud-init

type IPAMNetwork

type IPAMNetwork struct {
	Gateway      string `json:"gateway" mapstructure:"gateway"`
	CIDR         string `json:"ip" mapstructure:"ip"`
	ParentDevice string `json:"parent_device" mapstructure:"parent_device"`
	VlanID       int16  `json:"vlanid" mapstructure:"vlanid"`
}

IPAMNetwork - Structure that describes the IPAM portion of cloud-init.

type UtilsClient

type UtilsClient struct {
	// contains filtered or unexported fields
}

UtilsClient - Structure for BSS client.

func NewBSSClient

func NewBSSClient(baseURL string, httpClient *http.Client, token string) *UtilsClient

NewBSSClient - Creates a new BSS client.

func (*UtilsClient) GetBSSBootparametersForXname

func (utilsClient *UtilsClient) GetBSSBootparametersForXname(xname string) (*bssTypes.BootParams, error)

GetBSSBootparametersForXname - Gets the BSS boot parameters for a given xname.

func (*UtilsClient) UploadEntryToBSS

func (utilsClient *UtilsClient) UploadEntryToBSS(bssEntry bssTypes.BootParams, method string) (string, error)

UploadEntryToBSS - Uploads an entry to BSS.

type WriteFile

type WriteFile struct {
	Content     string `json:"content"`
	Owner       string `json:"owner"`
	Path        string `json:"path"`
	Permissions string `json:"permissions"`
}

WriteFile - Structure that describes the write-files portion of cloud-init.

Jump to

Keyboard shortcuts

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