# Functions
AddAuxPrefix adds additional prefixes for which routes should be installed that point to the Cilium network.
AutoComplete completes the parts of addressing that can be auto derived.
DeleteNode remove the node from the nodes' maps and / or the L3 routes to reach that node.
EnablePerNodeRoutes enables use of per node routes.
GetExternalIPv4 returns the external IPv4 node address.
GetHostMasqueradeIPv4 returns the IPv4 address to be used for masquerading any traffic that is being forwarded from the host into the Cilium cluster.
GetInternalIPv4 returns the internal IPv4 node address.
GetIPv4AllocRange returns the IPv4 allocation prefix of this node.
GetIPv4ClusterRange returns the IPv4 prefix of the cluster.
GetIPv4HealthIP returns the IPv4 address of the local cilium-health endpoint.
GetIPv4NodeRoute returns a route pointing to the IPv4 node address.
GetIPv6 returns the IPv6 address of the node.
GetIPv6AllocRange returns the IPv6 allocation prefix of this node.
GetIPv6ClusterRange returns the IPv6 prefix of the clustr.
GetIPv6HealthIP returns the IPv6 address of the local cilium-health endpoint.
GetIPv6NodeRange returns the IPv6 allocation prefix of this node.
GetIPv6NodeRoute returns a route pointing to the IPv6 node address.
GetIPv6Router returns the IPv6 address of the node.
GetLocalNode returns the identity and node spec for the local node.
GetName returns the name of the local node.
GetNode returns the node with the given identity, if exists, from the nodes map.
GetNodeAddressing returns the NodeAddressing model for the local IPs.
GetNodes returns a copy of all of the nodes as a map from Identity to Node.
InitDefaultPrefix initializes the node address and allocation prefixes with default values derived from the system.
InstallHostRoutes installs all required routes to make the following IP spaces available from the local host: - node CIDR of local and remote nodes - service CIDR range
This may only be called after the cilium_host interface has been initialized for the first time.
IsHostIPv4 returns true if the IP specified is a host IP.
IsHostIPv6 returns true if the IP specified is a host IP.
SetExternalIPv4 sets the external IPv4 node address.
SetInternalIPv4 sets the internal IPv4 node address, it is allocated from the node prefix.
SetIPv4AllocRange sets the IPv4 address pool to use when allocating addresses for local endpoints.
SetIPv4ClusterCidrMaskSize sets the size of the mask of the IPv4 cluster prefix.
SetIPv4HealthIP sets the IPv4 address of the local cilium-health endpoint.
SetIPv6 sets the IPv6 address of the node.
SetIPv6HealthIP sets the IPv6 address of the local cilium-health endpoint.
SetIPv6NodeRange sets the IPv6 address pool to be used on this node.
SetIPv6Router returns the IPv6 address of the node.
SetName sets the name of the local node.
UpdateNode updates the new node in the nodes' map with the given identity.
UseNodeAddresses sets the local ipv4-node and ipv6-node values from the addresses defined in the given node.
UseNodeCIDR sets the ipv4-range and ipv6-range values values from the addresses defined in the given node.
ValidatePostInit validates the entire addressing setup and completes it as required.
# Constants
DefaultIPv4ClusterPrefixLen is the IPv4 prefix length of the entire cluster.
DefaultIPv4Prefix is the prefix for all the IPv4 addresses.
DefaultIPv4PrefixLen is the length used to allocate container IPv4 addresses from.
DefaultIPv6ClusterPrefixLen is the IPv6 prefix length of the entire cluster.
DefaultIPv6Prefix is the prefix for all the IPv6 addresses.
DefaultNAT46Prefix is the IPv6 prefix to represent NATed IPv4 addresses.
DirectRoute is the route type to set up the L3 route using iproute.
IPv6NodeAllocPrefixLen is the length of the prefix used for allocation per node.
IPv6NodePrefixLen is the length used to allocate container IPv6 addresses from.
TunnelRoute is the route type to set up the BPF tunnel maps.
# Variables
ClusterIPv6Mask represents the CIDR Mask for an entire cluster.
ContainerIPv4Mask is the IPv4 prefix length for address assigned to container.
ContainerIPv6Mask is the IPv6 prefix length for address assigned to container.
EnableIPv4 can be set to false to disable Ipv4.
HostDevice is the name of the device that connects the cilium IP space with the host's networking model.
IPv4DefaultRoute is the default IPv4 route.
IPv6DefaultRoute is the default IPv6 route.
NodeIPv6Mask represents the CIDR Mask for the cilium node.
StateIPv6Mask represents the CIDR Mask for the state position.
# Type aliases
RouteType represents the route type to be configured when adding the node routes.