openstackconfiggenerator

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AppLabel -
	AppLabel = "osp-openstackconfiggenerator"

	// NicTemplateTrain - nic template file for train/16.2
	NicTemplateTrain = "net-config-multi-nic.yaml"

	// RenderedNicFileTrain - suffix of the renered train/16.2 file
	RenderedNicFileTrain = "nic-template.yaml"

	// NicTemplateWallaby - nic template file for wallaby/17.0 and later
	NicTemplateWallaby = "multiple_nics_dvr.j2"

	// RenderedNicFileWallaby - suffix of the renered wallaby/17.0 file
	RenderedNicFileWallaby = "nic-template.j2"

	// NetworkDataFile - tripleo network data file name
	NetworkDataFile = "network_data.yaml"

	// ConfigGeneratorInputLabel - label set on objects which are input for the configgenerator
	// but not owned by the configgenerator
	ConfigGeneratorInputLabel = "playbook-generator-input"
)

Variables

This section is empty.

Functions

func ConfigJob

ConfigJob -

func CreateConfigMapParams

func CreateConfigMapParams(
	r common.ReconcilerCommon,
	instance *ospdirectorv1beta1.OpenStackConfigGenerator,
	cond *ospdirectorv1beta1.Condition,
) (map[string]interface{}, map[string]*RoleType, error)

CreateConfigMapParams - creates a map of parameters to render the required overcloud parameter files

func GetVolumeMounts

GetVolumeMounts -

func GetVolumes

GetVolumes -

Types

type RoleType

type RoleType struct {
	Name           string
	NameLower      string
	Networks       map[string]*roleNetworkType
	Nodes          map[string]*roleNodeType
	IsVMType       bool
	IsTripleoRole  bool
	IsControlPlane bool
}

RoleType - details of the tripleo role

Jump to

Keyboard shortcuts

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