FPPNetwork definition
The FPPNetwork Custom Resource (CR) is a cluster-scoped resource applied on the Core Cluster. It defines separate Layer 2 networks handled by a given VPP installation. Currently, only the vxlan network type is supported. Based on FPPNetwork objects, FPP automatically creates a full VXLAN mesh across the nodes.
FPPNetwork objects can be referenced by the networkName field in a VPPInterface spec or a NetworkAttachmentDefinition instead of specifying bridgeDomain or vni directly; the value is taken from the id field of the referenced FPPNetwork.
Configuration examples
This example defines a VXLAN-based network with bridge-domain/VNI ID 42:
Configuration parameters
These are all parameters that you can use to configure the FPPNetwork CR:
- FPPNetworkKind
- fpp-manager.cennso.comGroup
- v1alpha1Version
- apiVersion:
- fpp-manager.cennso.com/v1alpha1
- kind:
- FPPNetwork
- listKind:
- FPPNetworkList
- plural:
- fppnetworks
- singular:
- fppnetwork
apiVersionstringrequiredConstant"fpp-manager.cennso.com/v1alpha1"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More information: Kubernetes API conventionsOpens in a new tab.kindstringrequiredConstant"FPPNetwork"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More information: Kubernetes API conventionsOpens in a new tab.metadataobjectrequiredStandard object metadata. More information: ObjectMetaOpens in a new tab.specobjectrequiredFPPNetwork Custom Resource is used to create a virtual network of a given type. By default, VXLAN is used.idintegerrequiredFPPNetwork identifiertypestringrequiredFPPNetwork type (presently, only VXLAN is supported)