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 modules, 0 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-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