summaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/salt-formulas')
-rw-r--r--mcp/salt-formulas/maas/pxe_route.sls8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcp/salt-formulas/maas/pxe_route.sls b/mcp/salt-formulas/maas/pxe_route.sls
new file mode 100644
index 000000000..5f7cebdda
--- /dev/null
+++ b/mcp/salt-formulas/maas/pxe_route.sls
@@ -0,0 +1,8 @@
+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_fuel_maas_pxe_network') }}
+ netmask: 255.255.255.0
+ gateway: {{ salt['pillar.get']('_param:opnfv_fuel_maas_mcp_address') }}