aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts/virsh_net/net_mgmt.xml.j2
blob: 23b32f2f44bf1b9b68c3d7e01ce29653efab095c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!--
 Copyright (c) 2017 Mirantis Inc., Enea AB and others.

 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Apache License, Version 2.0
 which accompanies this distribution, and is available at
 http://www.apache.org/licenses/LICENSE-2.0
-->
{%- import 'net_map.j2' as nm with context %}
<network>
  <name>mgmt</name>
  <bridge name="mgmt"/>
  <ip address="{{ nm.net_mgmt | ipnet_hostmin }}" netmask="{{ nm.net_mgmt | ipnet_netmask }}"/>
</network>