In VMware Telco Cloud Automation, you can choose a policy profile and create/edit a node policy while creating or editing a nodepool.
- Go to Infrastructure > CaaS Infrastructure > Cluster Instances.
- Click Add or Edit Nodepool.
- (Optional) Under Node Policy, you can choose a node policy profile for the nodepool.
- Set the inputs for the profile once a profile is chosen.
- Click Next and then Apply. Check the policy status in the Policies tab.
Policy Profiles
A policy profile is a node customization template which accepts a set of inputs. VMware Telco Cloud Automation allows delivery of some predefined profiles.
tca-multi-interface-profile-1.0.0 (TCA 3.2) allows you to add secondary network devices to nodes. The inputs for this profile are Network Adapter. Under the Configuration tab, click Add to add a network adapter and fill in the following information:
- Interface Name - Enter a name for this device.
- Network Name - Choose the network that you want to associate with.
- MTU - Provide the MTU value for the network MTU of this device. The default value is 1500.
- (Optional) Network Configuration - Enter network configuration for the device.
- You can also add VLAN subinterfaces. Example: To create 2 VLAN subinterfaces on the network device,
${interfaceName}
will be replaced automatically with the specified Interface Name (if the interface name is set toeth1
, the created VLAN subinterfaces will beeth1.vl101
andeth1.vl102
).- config: - Network.VLAN=${interfaceName}.vl101 - Network.VLAN=${interfaceName}.vl102 type: networkd.network - config: - NetDev.Name=${interfaceName}.vl101 - NetDev.Kind=vlan - VLAN.Id=101 type: networkd.netdev - config: - NetDev.Name=${interfaceName}.vl102 - NetDev.Kind=vlan - VLAN.Id=102 type: networkd.netdev
- You can also add VLAN subinterfaces. Example: To create 2 VLAN subinterfaces on the network device,