Add interface roles for baremetal deploy
single_static_mgm - do avoid using additional dhcp
server for cfg01
single_mgm_manual - to use a separated L2 interface
on KVM nodes for br-mgm (VCP).
Use of the management interface
is not possible because it provides
a default route required to install
'bridge-utils' package.
Change-Id: Id49a51ddd835455a0aa416b022aed3ce59d7fbbb
diff --git "a/\173\043 interfaces \043\175/single_static_mgm" "b/\173\043 interfaces \043\175/single_static_mgm"
new file mode 100644
index 0000000..17dba22
--- /dev/null
+++ "b/\173\043 interfaces \043\175/single_static_mgm"
@@ -0,0 +1,22 @@
+{#- Management (admin) network. For nodes where deploy address must be configured as static (at least cfg*) #}
+{#- Provides: #}
+{#- (linux interface) + address #}
+{#- Requires: #}
+{#- _param:deploy_address #}
+{#- _param:deploy_network_netmask #}
+{#- _param:deploy_network_gateway #}
+{#- _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
+ address: ${_param:_esc}{_param:deploy_address}
+ netmask: ${_param:_esc}{_param:deploy_network_netmask} #lab03: 255.255.255.192
+ gateway: ${_param:_esc}{_param:deploy_network_gateway} #lab03: 172.16.49.1
+ name_servers:
+ - ${_param:_esc}{_param:dns_server01}
+ - ${_param:_esc}{_param:dns_server02}