Add single_static_ctl interface role
To use on cfg01 for control network without a bridge
Change-Id: I15a72058873146aa7a6802204e108a960b39d32f
diff --git "a/\173\043 interfaces \043\175/single_static_ctl" "b/\173\043 interfaces \043\175/single_static_ctl"
new file mode 100644
index 0000000..825e4bb
--- /dev/null
+++ "b/\173\043 interfaces \043\175/single_static_ctl"
@@ -0,0 +1,21 @@
+{#- Control network. For control plane nodes #}
+{#- Provides: #}
+{#- static interface + control network address #}
+{#- Requires: #}
+{#- _param:single_address #}
+{#- _param:control_network_netmask #}
+{#- _param:dns_server01 #}
+{#- _param:dns_server02 #}
+ # {{ interfaces_role }}
+ {%- set interface_name = interfaces.keys()[0] %}
+ {{ interface_name }}:
+ enabled: true
+ name: {{ interface_name }}
+ proto: static
+ type: eth
+ ipflush_onchange: true
+ address: ${_param:_esc}{_param:single_address}
+ netmask: ${_param:_esc}{_param:control_network_netmask}
+ name_servers:
+ - ${_param:_esc}{_param:dns_server01}
+ - ${_param:_esc}{_param:dns_server02}