openstacknetattachment

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: 8 Imported by: 0

Documentation

Index

Constants

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

	// FinalizerName -
	FinalizerName = "openstacknetattachment"

	// AttachReference - name of the NetAttachment used in osnet to reference the attachment
	AttachReference = "ooo-attach-reference"

	// AttachType -
	AttachType = "ooo-attach-type"

	// BridgeLabel -
	BridgeLabel = "ooo-bridge"

	// CniConfigTemplate -
	CniConfigTemplate = `` /* 343-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func GetOpenStackNetAttachmentBridgeName

func GetOpenStackNetAttachmentBridgeName(r common.ReconcilerCommon, namespace string, attachReference string) (string, error)

GetOpenStackNetAttachmentBridgeName - Return name of the Bridge configured by the OpenStackNetAttachment

func GetOpenStackNetAttachmentType

func GetOpenStackNetAttachmentType(r common.ReconcilerCommon, namespace string, attachReference string) (*ospdirectorv1beta1.AttachType, error)

GetOpenStackNetAttachmentType - Return type of OpenStackNetAttachment, either bridge or sriov

func GetOpenStackNetAttachmentWithAttachReference

func GetOpenStackNetAttachmentWithAttachReference(r common.ReconcilerCommon, namespace string, attachReference string) (*ospdirectorv1beta1.OpenStackNetAttachment, error)

GetOpenStackNetAttachmentWithAttachReference - Return OpenStackNetAttachment for the reference name use in the osnet config

func GetOpenStackNetAttachmentWithLabel

func GetOpenStackNetAttachmentWithLabel(r common.ReconcilerCommon, namespace string, labelSelector map[string]string) (*ospdirectorv1beta1.OpenStackNetAttachment, error)

GetOpenStackNetAttachmentWithLabel - Return OpenStackNet with labels

func GetOpenStackNetAttachmentsWithLabel

func GetOpenStackNetAttachmentsWithLabel(r common.ReconcilerCommon, namespace string, labelSelector map[string]string) (*ospdirectorv1beta1.OpenStackNetAttachmentList, error)

GetOpenStackNetAttachmentsWithLabel - Return a list of all OpenStackNetAttachmentss in the namespace that have (optional) labels

func GetSriovNetworkNodePoliciesWithLabel

func GetSriovNetworkNodePoliciesWithLabel(r common.ReconcilerCommon, labelSelector map[string]string, namespace string) (map[string]sriovnetworkv1.SriovNetworkNodePolicy, error)

GetSriovNetworkNodePoliciesWithLabel - Returns list of sriovnetworknodepolicies labeled with labelSelector

func GetSriovNetworksWithLabel

func GetSriovNetworksWithLabel(r common.ReconcilerCommon, labelSelector map[string]string, namespace string) (map[string]sriovnetworkv1.SriovNetwork, error)

GetSriovNetworksWithLabel - Returns list of sriovnetworks labeled with labelSelector

Types

This section is empty.

Jump to

Keyboard shortcuts

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