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 {#- NOTE: br-{mgmt,ctl} are cross-referenced, careful when changing names #}
9 {%- import 'net_map.j2' as nm with context %}
13 # Should later be determined via PDF/IDF, AArch64 has ESP on /dev/sda1
14 {%- if conf.nodes[nm.cmp001.idx].node.type == 'virtual' %}
15 ~cinder_lvm_devices: ['/dev/vdb']
16 {%- elif conf.nodes[nm.cmp001.idx].node.arch == 'aarch64' or
17 conf.nodes[nm.cmp001.idx].disks.0.disk_capacity | storage_size_num | float > 2000000000000 %}
18 ~cinder_lvm_devices: ['/dev/sda2']
20 ~cinder_lvm_devices: ['/dev/sda1']
22 primary_interface: {{ nm.cmp001.nic_mgmt }}
23 tenant_interface: {{ nm.cmp001.nic_private }}
24 external_interface: {{ nm.cmp001.nic_public }}
31 name: {{ nm.cmp001.nic_admin }}
34 address: ${_param:pxe_admin_address}
35 netmask: ${_param:opnfv_net_admin_mask}
36 mtu: ${_param:interface_mtu}
40 name: ${_param:primary_interface}
45 name: ${_param:tenant_interface}
46 mtu: ${_param:interface_mtu}
53 address: ${_param:single_address}
54 netmask: ${_param:opnfv_net_mgmt_mask}
56 - ${_param:primary_interface}