openstacknetattachment

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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