summaryrefslogtreecommitdiffstats
path: root/config/installers/fuel/net_macros.j2
AgeCommit message (Collapse)AuthorFilesLines
2019-06-24[fuel] net_macros: Allow interface proto overrideAlexandru Avadanii1-4/+4
For non-Debian systems, proto 'manual' is not a valid choice and we should be able to override it. e.g.: For CentOS, proto 'none' should be used instead. Change-Id: Id1b6d9d51de17ede0c1e2fdc7f845d74b2a4ab9d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-12-29[IDF] fuel, dpdk: Switch to 1G pgsz on ThunderXAlexandru Avadanii1-5/+9
VPP requires 1G pagesizes on ThunderX nodes, so switch from 2M to 1G when DPDK is used. While at it, extend the Fuel j2 macro to accomodate different naming of virtual function network devices based on the driver used (vfio). Change-Id: Ic29ce04867955282b6f988ed69a44b316ffdc994 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-12-27[PDF] Fix link speed for virtual PODsAlexandru Avadanii1-0/+8
ethtool reports the link speed as 'unknown' for said devices. The only (current) consumer of this information is Fuel's new VPP support, which detects all these interfaces as 'Gigabit', so align our definitions in order to be able to dynamically construct the VPP interface names based on PDF (link speed) + IDF (PCI bus). While at it, add a new j2 macro helper to be used by Fuel installer. Change-Id: Id6a52bbb7b86bbe3db2a81bb91ac378c6876ffc0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-12-11[fuel] IDF: Add idf.fuel.network.interface_mtuAlexandru Avadanii1-0/+1
Allow configuring cluster-level jumbo frames via IDF. All virtual PODs default to using jumbo frames, while baremetal PODs will keep using 1500 until we confirm all switches are properly configured. While at it, update net_macros to configure MTU for VLAN interfaces too. JIRA: FUEL-336 Change-Id: Id6c7ec9377b15d53e69c8cbb16fa469b52ab7e3a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-06-04[fuel] IA: Add PXE/admin static IPsAlexandru Avadanii1-0/+36
- check-jinja2.sh: Add template dir to include dirs; - add param definitions for PXE/admin static IP for each machine, moving MaaS DHCP range start after the new addresses, similar to public network; - drop 'opnfv_' prefix for compute parameters; - drop 'opnfv_jump_bridge_*' variables (deprecated); - drop 'opnfv_infra_maas_*' variables, handled directly in Fuel now; - add 'opnfv_net_*_mask' for all used networks in idf.net_config; - move all internal j2 variables to net_map.j2, so we can reuse them without pod_config; - refactor maas variables into a full `maas.region.machines` section when baremetal nodes are defined; - drop 'openstack_compute_*' reclass params in favor of direct expansion in reclass.storage definitions via j2 in Fuel@OPNFV; - add `net_macros.j2` for reclass linux.network reclass generation; - move all non-sensitive reclass parameters to Fuel@OPNFV; Change-Id: I495c6072d845b273b6607d45dc5152ec4ee767cf Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>