data_types:
networkInterfaceRequirements:
version: 1.0
description: "Describes the datatype for network interface requirements"
properties:
trunkMode:
description: >
Information about whether the CP instantiated from this Cp is in Trunk mode (802.1Q or other).
When operating in "trunk mode", the Cp is capable of carrying traffic for several VLANs.
Absence of this property implies that trunkMode is not configured for the Cp i.e.
It is equivalent to boolean value "false".
required: false
type: boolean
ipam:
description: >
The default value ("infraProvided") means that the CNI specifies how IPAM is done and assigns
the IP address to the pod interface.
required: false
type: string
constraints:
- valid_values: ["infraProvided", "orchestrated", "userManaged"]
interfaceType:
description: >
This attribute is applicable for passthrough and memif interfaces.
The default value is ”kernel.netdev”.
required: false
type: string
constraints:
- valid_values: ["kernel.netdev", "direct.userdriver", "direct.kerneldriver", "direct.bond", "userspace"]
interfaceOption:
description: >
This attribute is applicable for passthrough and memif interfaces.
The default value is ”kernel.netdev”.
required: false
type: list
entry_schema:
type: string
constraints:
- valid_values: [“virtio", "memif“]
interfaceRedundancy:
description: >
Default value is "infra-provided”, which means that the infrastructure is expected to provide
network redundancy for the pod interface. Value "none" means that the application has no
requirement on network redundancy. Value ”matedPair” means that the Pod asks for a mated pair
of non-redundant left/right network attachments (typically SRIOV) and handles redundancy on
application level. The same set of networks shall be configured on both interfaces.
required: false
type: string
constraints:
- valid_values: ["infraProvided", "actPassBond", "actActBond", "actPassL3", "actActL3", "Left", "Right"]
nicOptions:
description: >
nics a direct user space driver the application is verified to work with. Allowed values from ETSI registry.
required: false
type: list
entry_schema:
type: string
|