summaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/maas
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-18 05:06:14 +0100
commitd4ab072aeab143ce72e4b81122d4580915a4ad1a (patch)
tree07cb4438591dfe078196f16ba33309d055e74987 /mcp/salt-formulas/maas
parent215a37d55356333f9fd0a96118c9a00d588eca62 (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>
Diffstat (limited to 'mcp/salt-formulas/maas')
-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') }}