95424db4e52247d7a9aa3bae604e5c5e2e4cb101
[fuel.git] / mcp / scripts / virsh_net / net_mcpcontrol.xml.j2
1 <!--
2  Copyright (c) 2017 Mirantis Inc., Enea AB and others.
3
4  All rights reserved. This program and the accompanying materials
5  are made available under the terms of the Apache License, Version 2.0
6  which accompanies this distribution, and is available at
7  http://www.apache.org/licenses/LICENSE-2.0
8 -->
9 {#- conf.MCPCONTROL_NET & co are mandatory, defaults are set via globals.sh #}
10 <network>
11   <name>mcpcontrol</name>
12   <bridge name="mcpcontrol"/>
13   <forward mode="nat"/>
14   <ip address="{{ conf.MCPCONTROL_NET | ipaddr_index(1) }}" netmask="{{ conf.MCPCONTROL_PREFIX | netmask }}">
15     <dhcp>
16       <range start="{{ conf.MCPCONTROL_NET | ipaddr_index(2) }}" end="{{ conf.MCPCONTROL_NET | ipaddr_index(254) }}"/>
17     </dhcp>
18   </ip>
19 </network>