Add posibility to use one interface for mgm(no_vlan) and ctl_vlan
Change-Id: Ibb944a73309027575737ba505b27822a1fcdf0c6
diff --git "a/\173\043 interfaces \043\175/combined_vlan_ctl_mgm" "b/\173\043 interfaces \043\175/combined_vlan_ctl_mgm"
new file mode 100644
index 0000000..9a8ec91
--- /dev/null
+++ "b/\173\043 interfaces \043\175/combined_vlan_ctl_mgm"
@@ -0,0 +1,28 @@
+{#- Control network with mgm. For compute nodes using 1 interface for mgm and ctl+vlan #}
+{#- Provides: #}
+{#- Requirements: #}
+{#- _param:single_address #}
+{#- _param:deploy_address #}
+{#- _param:deploy_network_netmask #}
+{#- _param:deploy_network_gateway #}
+{#- _param:control_network_netmask #}
+{#- _param:control_vlan #}
+
+ # {{ interfaces_role }}
+ {%- for interface_name, interface in interfaces.items() %}
+ {{ interface_name }}:
+ mtu: 9000
+ enabled: true
+ name: {{ interface_name }}
+ type: eth
+ proto: dhcp
+
+ {{ interface_name }}.control_vlan:
+ mtu: 9000
+ name: {{ interface_name }}.${_param:_esc}{_param:control_vlan}
+ address: ${_param:_esc}{_param:single_address}
+ enabled: true
+ netmask: ${_param:_esc}{_param:control_network_netmask}
+ proto: static
+ type: vlan
+ {%- endfor %}