Versions in this module Expand all Collapse all v1 v1.2.8 Oct 3, 2024 Changes in this version + const L2SM_NETWORK_ANNOTATION + const MULTUS_ANNOTATION_KEY + const NET_ATTACH_LABEL_PREFIX + func GetFreeNetAttachDefs(ctx context.Context, c client.Client, switchesNamespace, label string) nettypes.NetworkAttachmentDefinitionList + func GetL2Networks(ctx context.Context, c client.Client, networks []NetworkAnnotation) ([]l2smv1.L2Network, error) + type L2NetworkReconciler struct + InternalClient sdnclient.Client + Log logr.Logger + Scheme *runtime.Scheme + func (r *L2NetworkReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *L2NetworkReconciler) SetupWithManager(mgr ctrl.Manager) error + type NetworkAnnotation struct + IPAdresses []string + Name string + Namespace string + func (network *NetworkAnnotation) GenerateIPv6Address() + type NetworkEdgeDeviceReconciler struct + Scheme *runtime.Scheme + func (r *NetworkEdgeDeviceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *NetworkEdgeDeviceReconciler) SetupWithManager(mgr ctrl.Manager) error + type NodeJson struct + Name string + NodeIP string + type OverlayReconciler struct + Scheme *runtime.Scheme + func (r *OverlayReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *OverlayReconciler) SetupWithManager(mgr ctrl.Manager) error + type PodAnnotator struct + Client client.Client + Decoder *admission.Decoder + SwitchesNamespace string + func (a *PodAnnotator) Handle(ctx context.Context, req admission.Request) admission.Response + func (a *PodAnnotator) InjectDecoder(d *admission.Decoder) error + type PodReconciler struct + InternalClient sdnclient.Client + Log logr.Logger + Scheme *runtime.Scheme + SwitchesNamespace string + func (r *PodReconciler) ConnectInternalSwitchToNED(ctx context.Context, networkName, nedNodeName string) (nettypes.NetworkAttachmentDefinition, error) + func (r *PodReconciler) CreateNewNEDConnection(network l2smv1.L2Network, nedNetworkAttachDef string, ...) error + func (r *PodReconciler) DetachNetAttachDef(ctx context.Context, multusNetAttachDef NetworkAnnotation, namespace string) error + func (r *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager) error + type TopologySwitchJson struct + Links []l2smv1.Link + Nodes []NodeJson