Documentation ¶
Index ¶
- Constants
- Variables
- func BridgeExists(name string) (bool, error)
- func Bridges() ([]string, error)
- func CheckAlive() error
- func CleanDuplicatePort(ifaceID, portName string)
- func CleanLostInterface()
- func ClearHtbQosQueue(podName, podNamespace, iface string) error
- func ClearPodBandwidth(podName, podNamespace, ifaceID string) error
- func ClearPortQosBinding(ifaceID string) error
- func ConfigInterfaceMirror(globalMirror bool, open string, iface string) error
- func Exec(args ...string) (string, error)
- func GetQosList(podName, podNamespace, ifaceID string) ([]string, error)
- func GetResidualInternalPorts() []string
- func GetSgPortGroupName(sgName string) string
- func GetSgV4AssociatedName(sgName string) string
- func GetSgV6AssociatedName(sgName string) string
- func IsHtbQos(iface string) (bool, error)
- func IsUserspaceDataPath() (is bool, err error)
- func ListExternalIds(table string) (map[string]string, error)
- func ListQosQueueIds() (map[string]string, error)
- func PodNameToLocalnetName(subnet string) string
- func PodNameToPortName(pod, namespace, provider string) string
- func PortExists(name string) (bool, error)
- func SetHtbQosPriority(podName, podNamespace, iface, ifName, priority string, ...) error
- func SetHtbQosQueueRecord(podName, podNamespace, iface, priority string, maxRateBPS int, ...) (string, error)
- func SetInterfaceBandwidth(podName, podNamespace, iface, ingress, egress, podPriority string) error
- func SetNetemQos(podName, podNamespace, iface, latency, limit, loss string) error
- func SetPodQosPriority(podName, podNamespace, ifaceID, priority string, ...) error
- func SetPortTag(port, tag string) error
- func SetQosQueueBinding(podName, podNamespace, ifName, iface, queueUid string, ...) error
- func StartOvnNbctlDaemon(ovnNbAddr string) error
- func ValidatePortVendor(port string) (bool, error)
- type AclDirection
- type Client
- func (c *Client) AclExists(priority, direction string) (bool, error)
- func (c Client) AddAddressSetAddresses(name string, address string) error
- func (c Client) AddLbToLogicalSwitch(tcpLb, tcpSessLb, udpLb, udpSessLb, ls string) error
- func (c Client) AddPolicyRoute(router string, priority int32, match, action, nextHop string, ...) error
- func (c Client) AddStaticRoute(policy, cidr, nextHop, router string, routeType string) error
- func (c Client) CleanLogicalSwitchAcl(ls string) error
- func (c Client) CreateACLForNodePg(pgName, nodeIpStr string) error
- func (c Client) CreateAddressSet(name string) error
- func (c Client) CreateAddressSetWithAddresses(name string, addresses ...string) error
- func (c Client) CreateEgressACL(npName, pgName, asEgressName, asExceptName, protocol string, ...) error
- func (c Client) CreateGatewayACL(pgName, gateway, cidr string) error
- func (c Client) CreateGatewaySwitch(name, externalgatewaynet string, externalgatewayvlanid int, ip, mac string, ...) error
- func (c Client) CreateICLogicalRouterPort(az, mac, subnet string, chassises []string) error
- func (c Client) CreateIngressACL(npName, pgName, asIngressName, asExceptName, svcAsName, protocol string, ...) error
- func (c Client) CreateLoadBalancer(lb, protocol, selectFields string) error
- func (c Client) CreateLoadBalancerRule(lb, vip, ips, protocol string) error
- func (c Client) CreateLocalnetPort(ls, port, provider string, vlanID int) error
- func (c Client) CreateLogicalRouter(lr string) error
- func (c Client) CreateLogicalSwitch(ls, lr, subnet, gateway string, needRouter bool) error
- func (c Client) CreateNpAddressSet(asName, npNamespace, npName, direction string) error
- func (c Client) CreateNpPortGroup(pgName, npNs, npName string) error
- func (c Client) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP string) error
- func (c Client) CreatePort(ls, port, ip, mac, pod, namespace string, portSecurity bool, ...) error
- func (c Client) CreateSgAssociatedAddressSet(sgName string) error
- func (c Client) CreateSgDenyAllACL() error
- func (c Client) CreateSgPortGroup(sgName string) error
- func (c Client) CreateVirtualPort(ls, ip string) error
- func (c Client) CustomFindEntity(entity string, attris []string, args ...string) (result []map[string][]string, err error)
- func (c Client) DeleteACL(pgName, direction string) (err error)
- func (c Client) DeleteAclForNodePg(pgName string) error
- func (c Client) DeleteAddressSet(name string) error
- func (c Client) DeleteChassis(node string) error
- func (c *Client) DeleteDHCPOptions(ls string, protocol string) error
- func (c *Client) DeleteDHCPOptionsByUUIDs(uuidList []string) (err error)
- func (c Client) DeleteGatewaySwitch(name string) error
- func (c Client) DeleteICLogicalRouterPort(az string) error
- func (c Client) DeleteLoadBalancer(lbs ...string) error
- func (c Client) DeleteLoadBalancerVip(vip, lb string) error
- func (c Client) DeleteLogicalRouter(lr string) error
- func (c Client) DeleteLogicalRouterPort(port string) error
- func (c Client) DeleteLogicalSwitch(ls string) error
- func (c Client) DeleteLogicalSwitchPort(port string) error
- func (c Client) DeleteMatchedStaticRoute(cidr, nexthop, router string) error
- func (c Client) DeleteNatRule(logicalIP, router string) error
- func (c Client) DeletePolicyRoute(router string, priority int32, match string) error
- func (c Client) DeletePolicyRouteByNexthop(router string, priority int32, nexthop string) error
- func (c Client) DeletePortGroup(pgName string) error
- func (c Client) DeleteSgPortGroup(sgName string) error
- func (c Client) DeleteStaticRoute(cidr, router string) error
- func (c Client) DeleteStaticRouteByNextHop(nextHop string) error
- func (c Client) DeleteSubnetACL(ls string) error
- func (c Client) EnablePortLayer2forward(ls, port string) error
- func (c Client) FindLoadbalancer(lb string) (string, error)
- func (c Client) GetAllChassisHostname() ([]string, error)
- func (c Client) GetChassis(node string) (string, error)
- func (c Client) GetEntityInfo(entity string, index string, attris []string) (result map[string]string, err error)
- func (c Client) GetLoadBalancerVips(lb string) (map[string]string, error)
- func (c Client) GetLogicalSwitchExcludeIPS(logicalSwitch string) ([]string, error)
- func (c Client) GetLogicalSwitchPortAddress(port string) ([]string, error)
- func (c Client) GetLogicalSwitchPortByLogicalSwitch(logicalSwitch string) ([]string, error)
- func (c Client) GetLogicalSwitchPortDynamicAddress(port string) ([]string, error)
- func (c *Client) GetLspExternalIds(lsp string) map[string]string
- func (c Client) GetPolicyRouteList(router string) (routeList []*PolicyRoute, err error)
- func (c *Client) GetPolicyRouteParas(priority int32, match string) ([]string, map[string]string, error)
- func (c Client) GetPortAddr(port string) ([]string, error)
- func (c Client) GetStaticRouteList(router string) (routeList []*StaticRoute, err error)
- func (c Client) GetTsSubnet(ts string) (string, error)
- func (c Client) IsPolicyRouteExist(router string, priority int32, match string) (bool, error)
- func (c Client) ListAddressesByName(addressSetName string) ([]string, error)
- func (c Client) ListDHCPOptions(needVendorFilter bool, ls string, protocol string) ([]dhcpOptions, error)
- func (c Client) ListLoadBalancer() ([]string, error)
- func (c Client) ListLogicalEntity(entity string, args ...string) ([]string, error)
- func (c Client) ListLogicalRouter(needVendorFilter bool, args ...string) ([]string, error)
- func (c Client) ListLogicalSwitch(needVendorFilter bool, args ...string) ([]string, error)
- func (c Client) ListLogicalSwitchPort(needVendorFilter bool) ([]string, error)
- func (c Client) ListLspForNodePortgroup() (map[string]string, map[string]string, error)
- func (c Client) ListNpAddressSet(npNamespace, npName, direction string) ([]string, error)
- func (c Client) ListNpPortGroup() ([]portGroup, error)
- func (c Client) ListPgPorts(pgName string) ([]string, error)
- func (c Client) ListPgPortsForNodePortgroup() (map[string][]string, error)
- func (c Client) ListPodLogicalSwitchPorts(pod, namespace string) ([]string, error)
- func (c Client) ListRemoteLogicalSwitchPortAddress() ([]string, error)
- func (c Client) ListSgRuleAddressSet(sgName string, direction AclDirection) ([]string, error)
- func (c Client) ListStaticRoute() ([]StaticRoute, error)
- func (c Client) ListVirtualPort(ls string) ([]string, error)
- func (c Client) LogicalSwitchExists(logicalSwitch string, needVendorFilter bool, args ...string) (bool, error)
- func (c Client) LogicalSwitchPortExists(port string) (bool, error)
- func (c Client) OvnGet(table, record, column, key string) (string, error)
- func (c *Client) PolicyRouteExists(priority int32, match string) (bool, error)
- func (c *Client) PortGroupExists(pgName string) (bool, error)
- func (c Client) RemoveAddressSetAddresses(name string, address string) error
- func (c Client) RemoveLbFromLogicalSwitch(tcpLb, tcpSessLb, udpLb, udpSessLb, ls string) error
- func (c Client) RemoveRouterPort(ls, lr string) error
- func (c Client) ResetLogicalSwitchAcl(ls string) error
- func (c Client) SetAddressesToAddressSet(addresses []string, as string) error
- func (c Client) SetAzName(azName string) error
- func (c Client) SetICAutoRoute(enable bool, blackList []string) error
- func (c *Client) SetLBCIDR(svccidr string) error
- func (c Client) SetLogicalSwitchConfig(ls, lr, protocol, subnet, gateway string, excludeIps []string, needRouter bool) error
- func (c Client) SetLogicalSwitchExcludeIPS(logicalSwitch string, excludeIPS []string) error
- func (c Client) SetLspExternalIds(name string, externalIDs map[string]string) error
- func (c Client) SetPolicyRouteExternalIds(priority int32, match string, nameIpMaps map[string]string) error
- func (c Client) SetPortAddress(port, mac, ip string) error
- func (c Client) SetPortExternalIds(port, key, value string) error
- func (c Client) SetPortSecurity(portSecurity bool, ls, port, mac, ipStr, vips string) error
- func (c Client) SetPortTag(name string, vlanID int) error
- func (c Client) SetPortsToPortGroup(portGroup string, portNames []string) error
- func (c Client) SetPrivateLogicalSwitch(ls, cidr string, allow []string) error
- func (c Client) SetUseCtInvMatch() error
- func (c Client) SetVirtualParents(ls, ip, parents string) error
- func (c *Client) UpdateDHCPOptions(ls, cidrBlock, gateway, dhcpV4OptionsStr, dhcpV6OptionsStr string, ...) (dhcpOptionsUUIDs *DHCPOptionsUUIDs, err error)
- func (c Client) UpdateNatRule(policy, logicalIP, externalIP, router, logicalMac, port string) error
- func (c *Client) UpdateRouterPortIPv6RA(ls, lr, cidrBlock, gateway, ipv6RAConfigsStr string, enableIPv6RA bool) error
- func (c Client) UpdateSgACL(sg *kubeovnv1.SecurityGroup, direction AclDirection) error
- func (c Client) UpdateSubnetACL(ls string, acls []kubeovnv1.Acl) error
- type DHCPOptionsUUIDs
- type PolicyRoute
- type StaticRoute
Constants ¶
const ( OvnNbCtl = "ovn-nbctl" OvnSbCtl = "ovn-sbctl" OVNIcNbCtl = "ovn-ic-nbctl" OvsVsCtl = "ovs-vsctl" MayExist = "--may-exist" IfExists = "--if-exists" Policy = "--policy" PolicyDstIP = "dst-ip" PolicySrcIP = "src-ip" )
Variables ¶
var ( ErrNoAddr = errors.New("no address") ErrNotFound = errors.New("not found") )
Functions ¶
func BridgeExists ¶ added in v1.8.3
BridgeExists checks whether the bridge already exists
func CheckAlive ¶ added in v1.7.0
func CheckAlive() error
CheckAlive check if kube-ovn-controller can access ovn-nb from nbctl-daemon
func CleanDuplicatePort ¶ added in v1.7.0
func CleanDuplicatePort(ifaceID, portName string)
Find and remove any existing OVS port with this iface-id. Pods can have multiple sandboxes if some are waiting for garbage collection, but only the latest one should have the iface-id set. See: https://github.com/ovn-org/ovn-kubernetes/pull/869
func CleanLostInterface ¶
func CleanLostInterface()
CleanLostInterface will clean up related ovs port, interface and qos When reboot node, the ovs internal interface will be deleted.
func ClearHtbQosQueue ¶ added in v1.9.0
func ClearPodBandwidth ¶
ClearPodBandwidth remove qos related to this pod.
func ClearPortQosBinding ¶ added in v1.9.0
remove qos related to this port.
func ConfigInterfaceMirror ¶ added in v1.8.0
config mirror for interface by pod annotations and install param
func GetQosList ¶ added in v1.9.0
func GetResidualInternalPorts ¶ added in v1.7.2
func GetResidualInternalPorts() []string
func GetSgPortGroupName ¶ added in v1.8.0
func GetSgV4AssociatedName ¶ added in v1.8.0
func GetSgV6AssociatedName ¶ added in v1.8.0
func IsUserspaceDataPath ¶ added in v1.10.0
func ListExternalIds ¶ added in v1.9.0
func ListQosQueueIds ¶ added in v1.9.0
func PodNameToLocalnetName ¶ added in v1.7.0
func PodNameToPortName ¶
PodNameToPortName return the ovn port name for a given pod
func PortExists ¶ added in v1.10.0
PortExists checks whether the port already exists
func SetHtbQosPriority ¶ added in v1.9.0
func SetHtbQosQueueRecord ¶ added in v1.9.0
func SetInterfaceBandwidth ¶ added in v1.7.0
SetInterfaceBandwidth set ingress/egress qos for given pod, annotation values are for node/pod but ingress/egress parameters here are from the point of ovs port/interface view, so reverse input parameters when call func SetInterfaceBandwidth
func SetNetemQos ¶ added in v1.9.0
The latency value expressed in us.
func SetPodQosPriority ¶ added in v1.9.0
func SetPodQosPriority(podName, podNamespace, ifaceID, priority string, qosIfaceUidMap, queueIfaceUidMap map[string]string) error
SetPodQosPriority set qos to this pod port.
func SetPortTag ¶ added in v1.7.0
func SetQosQueueBinding ¶ added in v1.9.0
func SetQosQueueBinding(podName, podNamespace, ifName, iface, queueUid string, qosIfaceUidMap map[string]string) error
SetQosQueueBinding set qos related to queue record.
func StartOvnNbctlDaemon ¶ added in v1.7.0
StartOvnNbctlDaemon start a daemon and set OVN_NB_DAEMON env
func ValidatePortVendor ¶ added in v1.7.1
ValidatePortVendor returns true if the port's external_ids:vendor=kube-ovn
Types ¶
type AclDirection ¶ added in v1.8.0
type AclDirection string
const ( SgAclIngressDirection AclDirection = "to-lport" SgAclEgressDirection AclDirection = "from-lport" )
type Client ¶
type Client struct { OvnNbAddress string OvnTimeout int OvnSbAddress string OVNIcNBAddress string ClusterRouter string ClusterTcpLoadBalancer string ClusterUdpLoadBalancer string ClusterTcpSessionLoadBalancer string ClusterUdpSessionLoadBalancer string NodeSwitch string NodeSwitchCIDR string ExternalGatewayType string }
Client is the ovn client
func NewClient ¶
func NewClient(ovnNbAddr string, ovnNbTimeout int, ovnSbAddr, clusterRouter, clusterTcpLoadBalancer, clusterUdpLoadBalancer, clusterTcpSessionLoadBalancer, clusterUdpSessionLoadBalancer, nodeSwitch, nodeSwitchCIDR string) *Client
NewClient init an ovn client
func (Client) AddAddressSetAddresses ¶ added in v1.9.0
func (Client) AddLbToLogicalSwitch ¶ added in v1.8.0
func (Client) AddPolicyRoute ¶ added in v1.9.0
func (c Client) AddPolicyRoute(router string, priority int32, match, action, nextHop string, externalIDs map[string]string) error
AddPolicyRoute add a policy route rule in ovn
func (Client) AddStaticRoute ¶ added in v1.7.0
AddStaticRoute add a static route rule in ovn
func (Client) CleanLogicalSwitchAcl ¶
CleanLogicalSwitchAcl clean acl of a switch
func (Client) CreateACLForNodePg ¶ added in v1.8.0
func (Client) CreateAddressSet ¶ added in v0.5.0
func (Client) CreateAddressSetWithAddresses ¶ added in v1.9.0
func (Client) CreateEgressACL ¶ added in v0.5.0
func (Client) CreateGatewayACL ¶ added in v1.7.0
func (Client) CreateGatewaySwitch ¶ added in v1.7.0
func (Client) CreateICLogicalRouterPort ¶ added in v1.7.0
func (Client) CreateIngressACL ¶ added in v0.5.0
func (c Client) CreateIngressACL(npName, pgName, asIngressName, asExceptName, svcAsName, protocol string, npp []netv1.NetworkPolicyPort) error
func (Client) CreateLoadBalancer ¶
CreateLoadBalancer create loadbalancer in ovn
func (Client) CreateLoadBalancerRule ¶
CreateLoadBalancerRule create loadbalancer rul in ovn
func (Client) CreateLocalnetPort ¶ added in v1.7.0
func (Client) CreateLogicalRouter ¶
CreateLogicalRouter delete logical router in ovn
func (Client) CreateLogicalSwitch ¶
CreateLogicalSwitch create logical switch in ovn, connect it to router and apply tcp/udp lb rules
func (Client) CreateNpAddressSet ¶ added in v1.9.0
func (Client) CreateNpPortGroup ¶ added in v1.8.0
func (Client) CreatePeerRouterPort ¶ added in v1.10.0
func (Client) CreatePort ¶
func (c Client) CreatePort(ls, port, ip, mac, pod, namespace string, portSecurity bool, securityGroups string, vips string, liveMigration bool, enableDHCP bool, dhcpOptions *DHCPOptionsUUIDs) error
CreatePort create logical switch port in ovn
func (Client) CreateSgAssociatedAddressSet ¶ added in v1.8.0
func (Client) CreateSgDenyAllACL ¶ added in v1.8.0
func (Client) CreateSgPortGroup ¶ added in v1.8.0
func (Client) CreateVirtualPort ¶ added in v1.10.0
CreateVirtualPort create virtual type logical switch port in ovn
func (Client) CustomFindEntity ¶ added in v1.8.0
func (Client) DeleteAclForNodePg ¶ added in v1.8.0
func (Client) DeleteAddressSet ¶ added in v0.5.0
func (Client) DeleteChassis ¶ added in v1.7.0
func (*Client) DeleteDHCPOptions ¶ added in v1.10.0
func (*Client) DeleteDHCPOptionsByUUIDs ¶ added in v1.10.0
func (Client) DeleteGatewaySwitch ¶ added in v1.7.0
func (Client) DeleteICLogicalRouterPort ¶ added in v1.7.0
func (Client) DeleteLoadBalancer ¶ added in v1.8.0
DeleteLoadBalancer delete loadbalancer in ovn
func (Client) DeleteLoadBalancerVip ¶
DeleteLoadBalancerVip delete a vip rule from loadbalancer
func (Client) DeleteLogicalRouter ¶ added in v1.7.0
DeleteLogicalRouter create logical router in ovn
func (Client) DeleteLogicalRouterPort ¶ added in v1.7.0
DeleteLogicalRouterPort delete logical switch port in ovn
func (Client) DeleteLogicalSwitch ¶
DeleteLogicalSwitch delete logical switch
func (Client) DeleteLogicalSwitchPort ¶ added in v1.7.0
DeleteLogicalSwitchPort delete logical switch port in ovn
func (Client) DeleteMatchedStaticRoute ¶ added in v1.7.1
func (Client) DeleteNatRule ¶ added in v1.7.0
func (Client) DeletePolicyRoute ¶ added in v1.9.0
DeletePolicyRoute delete a policy route rule in ovn
func (Client) DeletePolicyRouteByNexthop ¶ added in v1.9.0
func (Client) DeletePortGroup ¶ added in v0.5.0
func (Client) DeleteSgPortGroup ¶ added in v1.8.0
func (Client) DeleteStaticRoute ¶ added in v1.7.0
DeleteStaticRoute delete a static route rule in ovn
func (Client) DeleteStaticRouteByNextHop ¶ added in v1.7.0
func (Client) DeleteSubnetACL ¶ added in v1.10.0
func (Client) EnablePortLayer2forward ¶ added in v1.10.0
EnablePortLayer2forward set logical switch port addresses as 'unknown'
func (Client) FindLoadbalancer ¶
FindLoadbalancer find ovn loadbalancer uuid by name
func (Client) GetAllChassisHostname ¶ added in v1.9.0
func (Client) GetEntityInfo ¶ added in v1.8.0
func (Client) GetLoadBalancerVips ¶
GetLoadBalancerVips return vips of a loadbalancer
func (Client) GetLogicalSwitchExcludeIPS ¶ added in v1.7.0
GetLogicalSwitchExcludeIPS get a logical switch exclude ips ovn-nbctl get logical_switch ovn-default other_config:exclude_ips => "10.17.0.1 10.17.0.2 10.17.0.3..10.17.0.5"
func (Client) GetLogicalSwitchPortAddress ¶
func (Client) GetLogicalSwitchPortByLogicalSwitch ¶ added in v1.7.0
func (Client) GetLogicalSwitchPortDynamicAddress ¶
func (*Client) GetLspExternalIds ¶ added in v1.8.5
func (Client) GetPolicyRouteList ¶ added in v1.9.0
func (c Client) GetPolicyRouteList(router string) (routeList []*PolicyRoute, err error)
func (*Client) GetPolicyRouteParas ¶ added in v1.10.0
func (Client) GetPortAddr ¶
GetPortAddr return port [mac, ip]
func (Client) GetStaticRouteList ¶ added in v1.7.0
func (c Client) GetStaticRouteList(router string) (routeList []*StaticRoute, err error)
func (Client) IsPolicyRouteExist ¶ added in v1.9.0
func (Client) ListAddressesByName ¶ added in v1.10.0
func (Client) ListDHCPOptions ¶ added in v1.10.0
func (Client) ListLoadBalancer ¶ added in v1.8.0
ListLoadBalancer list loadbalancer names
func (Client) ListLogicalEntity ¶ added in v1.8.0
func (Client) ListLogicalRouter ¶
ListLogicalRouter list logical router names
func (Client) ListLogicalSwitch ¶
ListLogicalSwitch list logical switch names
func (Client) ListLogicalSwitchPort ¶ added in v1.7.0
func (Client) ListLspForNodePortgroup ¶ added in v1.8.2
func (Client) ListNpAddressSet ¶ added in v1.9.0
func (Client) ListNpPortGroup ¶ added in v1.8.0
func (Client) ListPgPorts ¶ added in v1.8.0
func (Client) ListPgPortsForNodePortgroup ¶ added in v1.9.3
func (Client) ListPodLogicalSwitchPorts ¶ added in v1.7.0
func (Client) ListRemoteLogicalSwitchPortAddress ¶ added in v1.7.0
func (Client) ListSgRuleAddressSet ¶ added in v1.8.0
func (c Client) ListSgRuleAddressSet(sgName string, direction AclDirection) ([]string, error)
func (Client) ListStaticRoute ¶ added in v1.7.0
func (c Client) ListStaticRoute() ([]StaticRoute, error)
func (Client) ListVirtualPort ¶ added in v1.10.0
func (Client) LogicalSwitchExists ¶ added in v1.7.0
func (Client) LogicalSwitchPortExists ¶ added in v1.7.0
func (*Client) PolicyRouteExists ¶ added in v1.10.0
func (*Client) PortGroupExists ¶ added in v1.8.14
func (Client) RemoveAddressSetAddresses ¶ added in v1.9.0
func (Client) RemoveLbFromLogicalSwitch ¶ added in v1.8.0
func (Client) RemoveRouterPort ¶ added in v1.7.0
func (Client) ResetLogicalSwitchAcl ¶ added in v1.7.0
ResetLogicalSwitchAcl reset acl of a switch
func (Client) SetAddressesToAddressSet ¶ added in v0.5.0
func (Client) SetICAutoRoute ¶ added in v1.7.0
func (Client) SetLogicalSwitchConfig ¶ added in v1.7.0
func (Client) SetLogicalSwitchExcludeIPS ¶ added in v1.7.0
SetLogicalSwitchExcludeIPS set a logical switch exclude ips ovn-nbctl set logical_switch ovn-default other_config:exclude_ips="10.17.0.2 10.17.0.1"
func (Client) SetLspExternalIds ¶ added in v1.7.3
func (Client) SetPolicyRouteExternalIds ¶ added in v1.10.0
func (Client) SetPortAddress ¶ added in v1.9.0
func (Client) SetPortExternalIds ¶ added in v1.8.0
func (Client) SetPortSecurity ¶ added in v1.9.0
func (Client) SetPortTag ¶ added in v1.8.0
func (Client) SetPortsToPortGroup ¶ added in v0.5.0
func (Client) SetPrivateLogicalSwitch ¶
SetPrivateLogicalSwitch will drop all ingress traffic except allow subnets
func (Client) SetUseCtInvMatch ¶ added in v1.9.0
func (Client) SetVirtualParents ¶ added in v1.10.0
func (*Client) UpdateDHCPOptions ¶ added in v1.10.0
func (c *Client) UpdateDHCPOptions(ls, cidrBlock, gateway, dhcpV4OptionsStr, dhcpV6OptionsStr string, enableDHCP bool) (dhcpOptionsUUIDs *DHCPOptionsUUIDs, err error)
func (Client) UpdateNatRule ¶ added in v1.7.0
func (*Client) UpdateRouterPortIPv6RA ¶ added in v1.10.0
func (Client) UpdateSgACL ¶ added in v1.8.0
func (c Client) UpdateSgACL(sg *kubeovnv1.SecurityGroup, direction AclDirection) error