Documentation ¶
Index ¶
- func CreateVADirs(root string, templateDir embed.FS) error
- func GenEdpmNodesetValues(outDir string, configs embed.FS, cdl *types.ConfigDownload) error
- func GenGraph(templateDir embed.FS, outDir string, cdl *types.ConfigDownload) error
- func GenNNCP(outDir string, cdl *types.ConfigDownload) error
- func GenNNCPFile(root string, nncpv []nncp.NNCP) error
- func GenNadFile(outDir string, nads []networkv1.NetworkAttachmentDefinition) error
- func GenNetAttachDef(network *types.OSPNetwork) ([]byte, error)
- func GenNetConfig(root string)
- func GenOpenStackControlPlane(templateDir embed.FS, outDir string) error
- func GenOpenStackSecret(templateDir embed.FS, outDir string, passwords map[string]interface{}, ...) error
- func GenSecrets(templateDir embed.FS, outDir string, cdl *types.ConfigDownload) error
- func GenerateNetworkValues(outDir string, cdl *types.ConfigDownload) error
- func MapVars(varName string, value interface{}) error
- func NeutronPhysnetNUMANodesMapping(s interface{}, config *ini.File) error
- func NeutronTunnelNUMANodes(s interface{}, config *ini.File) error
- func Passthrough(value interface{}, config *ini.File) error
- type EDPMDeploymentConfigMap
- type EDPMNodesetConfigMap
- type FnMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenEdpmNodesetValues ¶
func GenNadFile ¶
func GenNadFile(outDir string, nads []networkv1.NetworkAttachmentDefinition) error
func GenNetAttachDef ¶
func GenNetAttachDef(network *types.OSPNetwork) ([]byte, error)
func GenNetConfig ¶
func GenNetConfig(root string)
func GenOpenStackSecret ¶
func GenSecrets ¶
func GenerateNetworkValues ¶
func GenerateNetworkValues(outDir string, cdl *types.ConfigDownload) error
func NeutronPhysnetNUMANodesMapping ¶
func NeutronPhysnetNUMANodesMapping(s interface{}, config *ini.File) error
Map of phynet name as key and NUMA nodes as value. For example: NeutronPhysnetNUMANodesMapping: {'foo': [0, 1], 'bar': [1]} where foo and bar are physnet names and corresponding values are list of associated numa_nodes
[neutron] physnets = foo, bar [neutron_physnet_foo] numa_nodes = 0 [neutron_physnet_bar] numa_nodes = 0,1
func NeutronTunnelNUMANodes ¶
func NeutronTunnelNUMANodes(s interface{}, config *ini.File) error
func Passthrough ¶
func Passthrough(value interface{}, config *ini.File) error
Passthrough function that returns the input string as is.
Types ¶
type EDPMDeploymentConfigMap ¶
type EDPMNodesetConfigMap ¶
Click to show internal directories.
Click to hide internal directories.