fdio noha: Workaround tap MAC generation issues
[fuel.git] / mcp / reclass / classes / cluster / mcp-fdio-noha / openstack / init.yml
1 ##############################################################################
2 # Copyright (c) 2018 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 ---
9 classes:
10   - cluster.mcp-common-noha.openstack_init
11   - cluster.all-mcp-arch-common.fdio_repo
12 parameters:
13   _param:
14     openstack_gateway_node01_hostname: 'gtw01'
15     neutron_tenant_network_types: "vlan"
16     etcd_initial_token: ${_param:opnfv_main_password}
17     node_address: ${_param:cluster_node01_address}
18     node_hostname: ${_param:cluster_node01_hostname}
19     node_port: 4001
20     external_vpp_tap: 'tap0'
21   linux:
22     system:
23       file:
24         /etc/systemd/network/99-default.link:
25           contents: |
26             # Workaround tap/bridge MAC generation issue
27             # https://github.com/systemd/systemd/issues/3374
28             [Link]
29             NamePolicy=kernel database onboard slot path
30             MACAddressPolicy=none