summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/virsh_net/net_mcpcontrol.xml.j2
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2019-02-19 15:17:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-02-19 15:17:25 +0000
commit3c34bab9279d5dbe7df3824131e4487e5017ef15 (patch)
tree2764cdfd7b9c8d597713d90b7958c6f4bbff8bf0 /mcp/scripts/virsh_net/net_mcpcontrol.xml.j2
parent1b2958b0695ebc9e2ba95f782b854540cea42c14 (diff)
parent58af9a94ef78bbcf3f0593d4170d32ebce721455 (diff)
Merge "[baremetal] Containerize MaaS"
Diffstat (limited to 'mcp/scripts/virsh_net/net_mcpcontrol.xml.j2')
-rw-r--r--mcp/scripts/virsh_net/net_mcpcontrol.xml.j220
1 files changed, 0 insertions, 20 deletions
diff --git a/mcp/scripts/virsh_net/net_mcpcontrol.xml.j2 b/mcp/scripts/virsh_net/net_mcpcontrol.xml.j2
deleted file mode 100644
index 46798a3c6..000000000
--- a/mcp/scripts/virsh_net/net_mcpcontrol.xml.j2
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
- 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
--->
-{#- conf.MCPCONTROL_NET & co are mandatory, defaults are set via globals.sh #}
-{%- set net_mcpcontrol = [conf.MCPCONTROL_NET, conf.MCPCONTROL_PREFIX] | join("/") %}
-<network>
- <name>mcpcontrol</name>
- <bridge name="mcpcontrol"/>
- <forward mode="nat"/>
- <ip address="{{ net_mcpcontrol | ipnet_hostaddr(1) }}" netmask="{{ net_mcpcontrol | ipnet_netmask }}">
- <dhcp>
- <range start="{{ net_mcpcontrol | ipnet_hostaddr(3) }}" end="{{ net_mcpcontrol | ipnet_hostmax }}"/>
- </dhcp>
- </ip>
-</network>