aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/maas/pxe_route.sls
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-16 23:29:54 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-12-31 16:57:50 +0100
commitbadd6a1c1cc6c300ada80244140231b7e5dafc81 (patch)
tree67dedc9023b00aef10644f1d1b27c56f284597b4 /mcp/salt-formulas/maas/pxe_route.sls
parentbcc13c53a58f4e7df800e13a4775432fe3b5395f (diff)
[baremetal] Move salt master IP to PXE/admin
Use PXE/admin network for salt traffic from/to all minions except cfg01, mas01. This allows us to drop the route to admin net from cfg01. Change-Id: Ic2526f1ff77afe5d92ced900971f4c8f78d2d8a2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit d4ab072aeab143ce72e4b81122d4580915a4ad1a)
Diffstat (limited to 'mcp/salt-formulas/maas/pxe_route.sls')
-rw-r--r--mcp/salt-formulas/maas/pxe_route.sls15
1 files changed, 0 insertions, 15 deletions
diff --git a/mcp/salt-formulas/maas/pxe_route.sls b/mcp/salt-formulas/maas/pxe_route.sls
deleted file mode 100644
index d1082cb48..000000000
--- a/mcp/salt-formulas/maas/pxe_route.sls
+++ /dev/null
@@ -1,15 +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
-##############################################################################
-routes:
- network.routes:
- - name: {{ salt['pillar.get']('_param:opnfv_fn_vm_primary_interface') }}
- - routes:
- - name: maas_mcp_to_pxe_network
- ipaddr: {{ salt['pillar.get']('_param:opnfv_infra_maas_pxe_network_address') }}
- netmask: 255.255.255.0
- gateway: {{ salt['pillar.get']('_param:opnfv_maas_mcp_address') }}