Allow to set address-related parameters in interface arguments
There is a fixed list of allowed parameters that can be set
as interface parameters to override the values from cluster model.
List of allowed parameters can be found in the file:
{# roles #}/_linux_network_interface
Example for single_address, control_network_netmask and control_vlan:
kvm01.mcp11-ovs-dpdk.local:
reclass_storage_name: infra_kvm_node01
roles:
- infra_kvm
- linux_system_codename_xenial
interfaces:
ens3:
role: single_dhcp
ens4:
role: single_vlan_ctl
single_address: 1.2.3.4
control_network_netmask: 255.255.252.0
control_vlan: 1234
Change-Id: I52f1250a3af510275d7741a1717a04be348778b8
diff --git "a/\173\043 interfaces \043\175/bond0_ab_contrail" "b/\173\043 interfaces \043\175/bond0_ab_contrail"
index 8de76d6..df44060 100644
--- "a/\173\043 interfaces \043\175/bond0_ab_contrail"
+++ "b/\173\043 interfaces \043\175/bond0_ab_contrail"
@@ -4,9 +4,8 @@
{#- Requirements: #}
{#- _param:tenant_vlan #}
{#- _param:tenant_address #}
-{#- _param:tenant_netmask #}
+{#- _param:tenant_network_netmask #}
{#- _param:tenant_network_gateway #}
-
# {{ interfaces_role }}
{%- for interface_name, interface in interfaces.items() %}
{{ interface_name }}:
@@ -60,4 +59,4 @@
use_interfaces:
- bond0
require_interfaces:
- - bond0
+ - bond0
\ No newline at end of file