openstacknet

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

	// FinalizerName -
	FinalizerName = "openstacknet.osp-director.openstack.org"
)

Variables

This section is empty.

Functions

func GetAllIPReservations

func GetAllIPReservations(
	osNet *ospdirectorv1beta1.OpenStackNet,
	newReservations []ospdirectorv1beta1.IPReservation,
	staticReservations []ospdirectorv1beta1.IPReservation,
) []ospdirectorv1beta1.IPReservation

GetAllIPReservations - get all reservations from the osnet (already synamic created, static configured + just now new created)

func GetOpenStackNetsBindingMap

func GetOpenStackNetsBindingMap(
	ctx context.Context,
	r common.ReconcilerCommon,
	namespace string,
) (map[string]ospdirectorv1beta1.AttachType, error)

GetOpenStackNetsBindingMap - Returns map of OpenStackNet name to binding type

func GetSriovNetworkNodePoliciesWithLabel

func GetSriovNetworkNodePoliciesWithLabel(
	ctx context.Context,
	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(
	ctx context.Context,
	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