ovn_ic_controller

package
v1.12.12 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	KubeConfigFile string
	KubeClient     kubernetes.Interface
	KubeOvnClient  clientset.Interface

	PodNamespace string
	OvnNbAddr    string
	OvnSbAddr    string
	OvnTimeout   int

	NodeSwitch     string
	ClusterRouter  string
	NodeSwitchCIDR string
}

Configuration is the controller conf

func ParseFlags

func ParseFlags() (*Configuration, error)

type Controller

type Controller struct {
	OVNNbClient ovs.NbClient
	OVNSbClient ovs.SbClient
	// contains filtered or unexported fields
}

func NewController

func NewController(config *Configuration) *Controller

func (*Controller) DeleteICResources added in v1.12.5

func (c *Controller) DeleteICResources(azName string) error

func (*Controller) RemoveOldChassisInSbDB

func (c *Controller) RemoveOldChassisInSbDB(azName string) error

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{})

func (*Controller) SynRouteToPolicy

func (c *Controller) SynRouteToPolicy()

Jump to

Keyboard shortcuts

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