Add interface role single_ovs_br_baremetal for Ironic
Change-Id: I8a7880a5749f4f1f560d229f7442aea4b19d92a5
diff --git "a/\173\043 interfaces \043\175/single_ovs_br_baremetal" "b/\173\043 interfaces \043\175/single_ovs_br_baremetal"
new file mode 100644
index 0000000..16014c3
--- /dev/null
+++ "b/\173\043 interfaces \043\175/single_ovs_br_baremetal"
@@ -0,0 +1,25 @@
+{#- Network used to provision baremetal servers with Ironic. For a separate interface on gateway nodes #}
+{#- Provides: #}
+{#- br_baremetal (OVS bridge) #}
+ # {{ interfaces_role }}
+ {{- set_param('linux_network_bridge', 'openvswitch') }}
+ {%- set interface_name = interfaces.keys()[0] %}
+ {%- set interface = interfaces[interface_name] %}
+ br-baremetal:
+ enabled: true
+ type: ovs_bridge
+ {%- if 'mtu' in interface %}
+ mtu: {{ interface['mtu'] }}
+ {%- endif %}
+ {{ interface_name }}:
+ enabled: true
+ name: {{ interface_name }}
+ type: eth
+ proto: manual
+ ovs_bridge: br-baremetal
+ ovs_type: OVSPort
+ ipflush_onchange: true
+ restart_on_ipflush: true
+ {%- if 'mtu' in interface %}
+ mtu: {{ interface['mtu'] }}
+ {%- endif %}