Mandatory parameters of L2 templates¶
Think of an L2 template as a template for networking configuration for your hosts. You may adjust the parameters according to the actual requirements and hardware setup of your hosts.
Parameter |
Description |
---|---|
|
References the Cluster object that this template is applied to.
The Caution
|
|
|
|
Subnets to be used in the
Caution The Caution Using the If Mirantis recommends using a unique label prefix such as
|
|
A netplan-compatible configuration with special lookup functions
that defines the networking settings for the cluster hosts,
where physical NIC names and details are parameterized.
This configuration will be processed using Go templates.
Instead of specifying IP and MAC addresses, interface names,
and other network details specific to a particular host,
the template supports use of special lookup functions.
These lookup functions, such as Caution All rules and restrictions of the netplan configuration also apply to L2 templates. For details, see the official netplan documentation. Caution We strongly recommend following the below conventions on network interface naming:
We recommend setting interfaces names that do not exceed 13 symbols for both physical and virtual interfaces to avoid corner cases and issues in netplan rendering. |
Parameter |
Description |
---|---|
|
Name of the reference to the subnet that will be used in the
|
|
A dictionary of the labels and values that are used to filter out
and find the |
|
Optional. Default: none. Name of the parent |
|
Logical scope of the
|