Documentation ¶
Index ¶
- Constants
- func CreateInterface(nodeName, namespace, ipAddr string, c *k8s.Clientset, wgc wireguard.Client, ...) (*wireguard.Wireguard, error)
- func CreateRoutingTable(tableID int, tableName string) error
- func Enable_rp_filter(ifaceName string) error
- func GetOverlayIP(ip string) string
- func InsertPolicyRoutingRule(tableID int, fromSubnet string) error
- func RemovePolicyRoutingRule(tableID int, fromSubnet string) error
- func SetUpDefaultRoute(tableID int, ifaceIndex int) error
Constants ¶
View Source
const ( WgInterfacename = "liqo.overlay" NetworkPrefix = "240" WgListeningPort = "51871" PubKeyAnnotation = "net.liqo.io/overlay.pubkey" NodeCIDRKeyAnnotation = "net.liqo.io/node.cidr" RoutingTableID = 18952 RoutingTableName = "liqo" )
Variables ¶
This section is empty.
Functions ¶
func CreateInterface ¶
func CreateRoutingTable ¶
create a new routing table with the given ID and name
func Enable_rp_filter ¶
this function enables the rp_filter for the overlay interface on the gateway node
func GetOverlayIP ¶
func InsertPolicyRoutingRule ¶
func RemovePolicyRoutingRule ¶
func SetUpDefaultRoute ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.