constants

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultIP4Mask = "255.255.255.255"
	DefaultIP6Mask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"

	PodVirtualV4DefaultGateway = "169.254.1.1"
	PodVirtualV6DefaultGateway = "fe80::ecee:eeff:feee:eeee"
)
View Source
const (
	AnnotationIPPool   = "networking.alibaba.com/ip-pool"
	AnnotationIPFamily = "networking.alibaba.com/ip-family"

	AnnotationMACPool = "networking.alibaba.com/mac-pool"

	AnnotationIPRetain = "networking.alibaba.com/ip-retain"

	AnnotationGlobalService = "networking.alibaba.com/global-service"

	AnnotationSpecifiedNetwork = "networking.alibaba.com/specified-network"
	AnnotationSpecifiedSubnet  = "networking.alibaba.com/specified-subnet"

	AnnotationNetworkType = "networking.alibaba.com/network-type"

	AnnotationHandledByWebhook = "networking.alibaba.com/handled-by-webhook"

	AnnotationCalicoPodIPs = "cni.projectcalico.org/podIPs"
)
View Source
const (
	LabelCluster = "networking.alibaba.com/cluster"
	LabelSubnet  = "networking.alibaba.com/subnet"
	LabelVM      = "networking.alibaba.com/vm"
	LabelNetwork = "networking.alibaba.com/network"
	LabelNode    = "networking.alibaba.com/node"
	LabelPod     = "networking.alibaba.com/pod"
	LabelPodUID  = "networking.alibaba.com/pod-uid"
	LabelVersion = "networking.alibaba.com/version"

	LabelSpecifiedNetwork = "networking.alibaba.com/specified-network"
	LabelSpecifiedSubnet  = "networking.alibaba.com/specified-subnet"

	LabelAddressQuota          = "networking.alibaba.com/address-quota"
	LabelIPv4AddressQuota      = "networking.alibaba.com/ipv4-address-quota"
	LabelIPv6AddressQuota      = "networking.alibaba.com/ipv6-address-quota"
	LabelDualStackAddressQuota = "networking.alibaba.com/dualstack-address-quota"

	LabelNetworkType = "networking.alibaba.com/network-type"

	LabelUnderlayNetworkAttachment = "networking.alibaba.com/underlay-network-attachment"
	LabelOverlayNetworkAttachment  = "networking.alibaba.com/overlay-network-attachment"
	LabelBGPNetworkAttachment      = "networking.alibaba.com/bgp-network-attachment"

	LabelRemoteCluster = "networking.alibaba.com/remote-cluster"
)
View Source
const (
	QuotaNonEmpty = "nonempty"
	QuotaEmpty    = "empty"
)
View Source
const (
	ContainerHostLinkPrefix = "hybr"
	ContainerHostLinkMac    = "ee:ee:ee:ee:ee:ee"
	VxlanLinkInfix          = ".vxlan"
	ContainerNicName        = "eth0"
)
View Source
const (
	FieldSelectorKeyOfSubnet     = "spec.network"
	FieldSelectorKeyOfIPInstance = "spec.subnet"
)
View Source
const (
	ProxyArpSysctl       = "/proc/sys/net/ipv4/conf/%s/proxy_arp"
	ProxyDelaySysctl     = "/proc/sys/net/ipv4/neigh/%s/proxy_delay"
	RouteLocalNetSysctl  = "/proc/sys/net/ipv4/conf/%s/route_localnet"
	IPv4ForwardingSysctl = "/proc/sys/net/ipv4/conf/%s/forwarding"

	RpFilterSysctl  = "/proc/sys/net/ipv4/conf/%s/rp_filter"
	ArpFilterSysctl = "/proc/sys/net/ipv4/conf/%s/arp_filter"

	IPv4NeighGCThresh1 = "/proc/sys/net/ipv4/neigh/default/gc_thresh1"
	IPv4NeighGCThresh2 = "/proc/sys/net/ipv4/neigh/default/gc_thresh2"
	IPv4NeighGCThresh3 = "/proc/sys/net/ipv4/neigh/default/gc_thresh3"

	IPv6NeighGCThresh1 = "/proc/sys/net/ipv6/neigh/default/gc_thresh1"
	IPv6NeighGCThresh2 = "/proc/sys/net/ipv6/neigh/default/gc_thresh2"
	IPv6NeighGCThresh3 = "/proc/sys/net/ipv6/neigh/default/gc_thresh3"

	ProxyNdpSysctl       = "/proc/sys/net/ipv6/conf/%s/proxy_ndp"
	IPv6ForwardingSysctl = "/proc/sys/net/ipv6/conf/%s/forwarding"

	IPv4AppSolicitSysctl = "/proc/sys/net/ipv4/neigh/%s/app_solicit"
	IPv6AppSolicitSysctl = "/proc/sys/net/ipv6/neigh/%s/app_solicit"

	AcceptDADSysctl = "/proc/sys/net/ipv6/conf/%s/accept_dad"
	AcceptRASysctl  = "/proc/sys/net/ipv6/conf/%s/accept_ra"

	IPv4BaseReachableTimeMSSysctl = "/proc/sys/net/ipv4/neigh/%s/base_reachable_time_ms"
	IPv6BaseReachableTimeMSSysctl = "/proc/sys/net/ipv6/neigh/%s/base_reachable_time_ms"

	IPv6DisableModuleParameter = "/sys/module/ipv6/parameters/disable"
	IPv6DisableSysctl          = "/proc/sys/net/ipv6/conf/%s/disable_ipv6"

	IPv6RouteCacheMaxSizeSysctl = "/proc/sys/net/ipv6/route/max_size"
	IPv6RouteCacheGCThresh      = "/proc/sys/net/ipv6/route/gc_thresh"
)
View Source
const (
	Attached = "true"
)
View Source
const FinalizerIPAllocated = "networking.alibaba.com/ip-allocated"
View Source
const FinalizerManagerRuntimeRegistered = "multicluster.alibaba.com/manager-runtime-registered"

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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