[baremetal] Move all MaaS PXE net config to PDF
[fuel.git] / mcp / salt-formulas / maas / pxe_route.sls
1 ##############################################################################
2 # Copyright (c) 2017 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 routes:
9   network.routes:
10     - name: {{ salt['pillar.get']('_param:opnfv_fn_vm_primary_interface') }}
11     - routes:
12       - name: maas_mcp_to_pxe_network
13         ipaddr: {{ salt['pillar.get']('_param:opnfv_infra_maas_pxe_network_address') }}
14         netmask: 255.255.255.0
15         gateway: {{ salt['pillar.get']('_param:opnfv_maas_mcp_address') }}