AgeCommit message (Collapse)AuthorFilesLines
2018-08-13Complete osa and add kubespray to the idf schemaManuel Buil2-1/+58
Modify idf of lf pod4 to aoid -1 from Jenkins Change-Id: I4fbac6ed2859e79aeef61b070498833b182f2b5d Signed-off-by: Manuel Buil <>
2018-08-08[idf.fuel] Add jumpserver.trunks for mgmtAlexandru Avadanii1-0/+7
Extend IDF schema for Fuel installer section to allow a new param, useful when jumpserver networks should be trunked for infra VMs. JIRA: FUEL-338 Change-Id: Ifda18ea017c069e29d25d48aea62a6b6b37e91b5 Signed-off-by: Alexandru Avadanii <>
2018-07-27[arm-pod9] Increase fuel maas timeoutsGuillermo Herrero1-2/+2
Change-Id: I0bf27ddc06b5c6efa64b41a32573bf09990c95b5 Signed-off-by: Guillermo Herrero <>
2018-06-28[arm-virtual2] Add ip-range to avoid IP conflictsAlexandru Avadanii1-0/+2
Change-Id: Ib7858d57d3e0cc1a428905a63c4d342be260a673 Signed-off-by: Alexandru Avadanii <>
2018-06-20[unh-pod1] Increase MaaS timeoutsAlexandru Avadanii1-2/+2
Some targets (especially 96-cores computes) in UNH POD1 take longer than the average to commission/deploy, so adjust the timeouts accordingly. Change-Id: I9bf0b2ecccb3e8437cc5659688a84ee5ad0b5b87 Signed-off-by: Alexandru Avadanii <>
2018-06-18unh-pod1: restrict public ip range to avoid conflictPaul Vaduva1-0/+2
Change-Id: I7644fe6eedc71b4e67ea6b6d112a06685ea26602 Signed-off-by: Paul Vaduva <>
2018-06-12Merge "Adding reclass sections to idf-pod1 file"Alexandru Avadanii1-0/+28
2018-06-12Adding reclass sections to idf-pod1 filePaul Vaduva1-0/+28
reclass section is necessary to setup hugepages size to 2M per hugepage as the defaults are 1G which are not supported by thunderx. Plus adding ntp servers to unh-pod1 Change-Id: I9cd2a8105032035a519411b80f95675a997a1fbd Signed-off-by: Paul Vaduva <>
2018-06-08[idf.fuel] Add NTP for new virtual PODsAlexandru Avadanii7-0/+14
Change-Id: I6172e909c51e796b16f62f2d8e0cb0497306ce2a Signed-off-by: Alexandru Avadanii <>
2018-06-08Merge "[PDF] Add arm-virtual2 PDF/IDF"Alexandru Avadanii2-0/+215
2018-06-08Merge "add ericsson vpod PDF"Alexandru Avadanii12-0/+1559
2018-06-04Merge "[fuel] IA: Add PXE/admin static IPs"Alexandru Avadanii4-183/+244
2018-06-04update ilo mac address after hw replacementmting1-1/+1
Change-Id: I9df2e117d8a2036c9555ddfe41d636b9e30910e8
2018-06-04Merge "[idf.fuel] Add NTP servers"Alexandru Avadanii7-0/+16
2018-06-04[fuel] IA: Add PXE/admin static IPsAlexandru Avadanii4-183/+244
- 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 definitions via j2 in Fuel@OPNFV; - add `net_macros.j2` for reclass reclass generation; - move all non-sensitive reclass parameters to Fuel@OPNFV; Change-Id: I495c6072d845b273b6607d45dc5152ec4ee767cf Signed-off-by: Alexandru Avadanii <>
2018-05-31[idf.fuel] Add NTP serversAlexandru Avadanii7-0/+16
Change-Id: Ib840995b085ec9d8a585d5cf2e2a84e5801875b6 Signed-off-by: Alexandru Avadanii <>
2018-05-30Merge "IDF and PDF files for auto pod in unh lab"Guillermo Herrero2-0/+350
2018-05-30Merge "[IDF] arm-pod9: added as new idf and pdf"Guillermo Herrero2-0/+427
2018-05-30Merge "[IDF] arm-pod8: added as new idf and pdf"Guillermo Herrero2-0/+375
2018-05-25[IDF] arm-pod9: added as new idf and pdfGuillermo Herrero2-0/+427
Change-Id: I415eda9f493fcd70514d5f9be7d58b7b6d1cb88f Signed-off-by: Guillermo Herrero <>
2018-05-25[IDF] arm-pod8: added as new idf and pdfGuillermo Herrero2-0/+375
Change-Id: I01c678b45fd182bef8a95bdf13054a36347e057b Signed-off-by: Guillermo Herrero <>
2018-05-25IDF and PDF files for auto pod in unh labpava2-0/+350
Change-Id: Iad65abda66b772e8ed44c2257ebdb7cb48ecc6c1 Signed-off-by: joekidder <> Signed-off-by: pava <>
2018-05-15add ericsson vpod PDFmting12-0/+1559
Change-Id: I20e70ec3264e807fb85585441d51752b13f5389d Signed-off-by: mting <>
2018-05-15[PDF] Add arm-virtual2 PDF/IDFAlexandru Avadanii2-0/+215
JIRA: FUEL-322 Change-Id: I3b136d6eebdaf0f09c772d2b994158af99cd8fea Signed-off-by: Alexandru Avadanii <>
2018-04-30[PDF] Preparations for vPDF supportAlexandru Avadanii5-19/+44
- extend check-{jinja2,schema}.sh to scan vPDFs and construct proper IDF path for vPDFs; - add support for '/' in PDF fields, by default filtered by j2 template rendering; SPEC changes: - extend remote_management 'type' enum with 'libvirt'; SCHEMA changes: - add new enum value 'libvirt' according to SPEC update; - add separate handling of 'remote_management' for baremetal/virtual; - remote_management 'versions' and 'mac_address' are mandatory for all but 'libvirt' (used to be mandatory for all); Change-Id: Ib3f711cae807c3ab27920391402ba74844f155c3 Signed-off-by: Alexandru Avadanii <>
2018-04-30Merge "Okinawa Open Labratory(OOL) POD1 PDF/IDF"Julien2-0/+270
2018-04-24update idf file for zte-pod1zhihui wu1-1/+1
Change-Id: Iffed25c5e01aa9bf2a7b4a7103b07fb1c097d811 Signed-off-by: zhihui wu <>
2018-04-20Okinawa Open Labratory(OOL) POD1 PDF/IDFhhayashiool2-0/+270
Change-Id: I0980de9c2ff37654dbfd2d58002b9e61226cf749 Signed-off-by: Hideyasu Hayashi <>
2018-04-18[fuel] Parameterize tenant VLAN rangesAlexandru Avadanii8-8/+8
- IDF: convert all tenant VLANs to ranges; - IA: convert 'M-N' to 'M:N' for `opnfv_net_tenant_vlan`; Change-Id: Ic9211235281c81ba082d10806651c35116ba4c35 Signed-off-by: Alexandru Avadanii <>
2018-04-12JOID PDF-IDF support for intel-pod18agardner15-179/+220
More info in gerrit comments. Remove joid from all other idfs other than intel/pod18 add installer: ['apex', 'compass4nfv', 'daisy', 'fuel'] where missing Change-Id: I2afc415599070e210736c5fc304f7cb150f05029 Signed-off-by: agardner <>
2018-04-11[IDF] arm-pod6: Adjust CPU pinning variablesGuillermo Herrero1-5/+5
For non-dpdk scenarios we define as cpu config: 0-7 for OS 8-47 for nova For dpdk scenarios we define as cpu config: 0-7 for OS 8-11 for DPDK drivers and processes 12-47 for nova Change-Id: Ia9d7cfaee76f996993b94a52e1484752157a23cd Signed-off-by: Guillermo Herrero <>
2018-03-29[IDF] zte-pod3: Remove vlan for tenant/externalAlex Yang1-2/+2
To deploy ovs_dpdk scenario by daisy. In this scenario, vlan configuration is not supported on tenant/external interface for now. Change-Id: I6e91bea92bde085079f4435fa72f20b5cef12ad3 Signed-off-by: Alex Yang <>
2018-03-23Merge "[IDF] arm-pod7: Configure hugepages and cpupinning variables for armpod7"Alexandru Avadanii1-0/+45
2018-03-22[IDF] arm-pod7: Configure hugepages and cpupinning variables for armpod7Charalampos Kominos1-0/+45
For non-dpdk scenarios we define as cpu config: 0,1 for OS 2-7 for nova For dpdk scenarios we define as cpu config: 0,1 for OS, 2,3 for DPDK drivers and processes 4-7 for nova Dpdk config is also provided for the 3 thunderx nodes which currently serve as KVM nodes. The config is similar to the config above with cores 4-47 being used for nova. JIRA: ARMBAND-364 Change-Id: I761aa8e73935b7180f4f377841cc93c9d81cf4d7 Signed-off-by: Charalampos Kominos <> Signed-off-by: Guillermo Herrero <>
2018-03-15[IDF] arm-pod5: Configure hugepages and cpupinning variables for armpod5Charalampos Kominos1-0/+26
For non-dpdk scenarios we define as cpu config: 0,1 for OS 2-7 for nova For dpdk scenarios we define as cpu config: 0,1 for OS, 2,3 for DPDK drivers and processes 4-7 for nova JIRA: ARMBAND-364 Change-Id: Icc976e8511fed221b71a348afda3cbe4e0556b1a Signed-off-by: Charalampos Kominos <>
2018-03-09[IDF] arm, lf, ericsson: Align IP ranges startAlexandru Avadanii5-1/+9
- Enea lab has infra IPs in public networks, similar to ericsson-pod1 so start assigning public IPs from .100 onwards; - since most Fuel PODs have public (and mgmt) IPs starting at .100, align this across all PODs for uniformity; - align all mgmt networks start to .10; JIRA: ARMBAND-365 Change-Id: I9df4083c9e2e4c15da5ce6a2cb24df560808161a Signed-off-by: Alexandru Avadanii <>
2018-03-07[IDF, fuel] Add idf.net_config.*.ip-range supportAlexandru Avadanii2-0/+13
- labs: ericsson-pod1: Restrict management and public network IP ranges to exclude pre-existing infrastructe addresses; - fuel: Consume new ip-range network property in installer adapter; NOTE: For now, we only look at range start (and ignore end addr). JIRA: FUEL-351 Change-Id: If81d0214f896fd42dfd0855ae4cecb06335d2e00 Signed-off-by: Alexandru Avadanii <>
2018-03-06LF-POD4 PDF/IDFBlaisonneau David3-57/+137
PDF+IDF for LF POD4 inspired from securelab PDF and LF-pod2 XDFs. Change-Id: If7ee14efe5f279104a18d2a3281aa7b23bdf704a
2018-03-05Merge "config/installers: Adopt j2 'do' extension"Alexandru Avadanii2-13/+12
2018-03-05generate_config: minor code formatting updatesAlexandru Avadanii1-2/+4
Change-Id: If0ee12287f4257f2de315bd6ad82edb709e24492 Signed-off-by: Alexandru Avadanii <>
2018-03-05Merge "Add SDF files in Octopus"Julien4-0/+566
2018-03-03[IDF] zte-pod1: Remove br-mgmtAlexandru Avadanii1-1/+1
All recent Fuel deploy attempts on zte-pod1 failed due to br-mgmt not being present (or up), although it is defined in IDF. Since this bridge is optional in the Fuel deployment process and mostly useful for manual debugging, let's remove it from idf.fuel. Change-Id: I130ec61427237f979f6a6212ca8c291ba203ef39 Signed-off-by: Alexandru Avadanii <>
2018-03-03config/installers: Adopt j2 'do' extensionAlexandru Avadanii2-13/+12
Change-Id: Iffc473a4c90ff4ee8cfbcc304a3462559199fbe0 Signed-off-by: Alexandru Avadanii <>
2018-03-03[fuel] Fix missing space between yaml key:valAlexandru Avadanii1-1/+1
Change-Id: Icf0e5d386f593bb691f777704ac799c8729221ce Signed-off-by: Alexandru Avadanii <>
2018-03-02generate_config: New `-b` arg for batch processingAlexandru Avadanii1-14/+32
Sometimes, parsing multiple j2 templates based on the same PDF+IDF is needed, in which case we'd have to call generate_config once for each template. Add a new argument, `-b`, which allows batch processing of multiple templates in one go: - files ending in '.j2' (e.g. 'template.yml.j2') will be expanded to a file without the '.j2' suffix in the same directory as the source template (e.g. 'template.yml'); - templates not ending in '.j2' are skipped in batch mode; - in order to pass multiple templates, `-j` argument can now be passed multiple times, similar to `-i`; - although relative filepaths still work, it is highly recommended to use the full path (abspath) for j2 templates; - to avoid filename collisions, j2 parser will open '/' (as well as any directories specified via `-i`) and lookup each j2 template by its full path; Add a new argument, `-v` for verbose logging. While at it, import only needed functions from 'os.path' to make our code more compact and easier to read. Change-Id: I2291935d42e4196813cd75154d5b674bcc330183 Signed-off-by: Alexandru Avadanii <>
2018-03-02Merge "config/utils: YAML: Use C bindings if available"Alexandru Avadanii2-11/+16
2018-03-01generate_config: New `-i` arg for j2 includes dirAlexandru Avadanii1-1/+2
jinja2 does not support imports from parent directories, so in order for j2 to be able to use '{% from <some>.j2 import ... %}' constructs with included j2 residing on a separate dirpath than current j2, add support for explicitly adding directories to the templater search path. This also allows calling generate_config with only file basename as '-j' arg value, as long as the dirname is passed via '-i' (can be extended later to parsing multiple j2 files at once). Change-Id: I943fda9262a6f7de5ee6fcc3e7bc9828c339651a Signed-off-by: Alexandru Avadanii <>
2018-03-01generate_config: Enable 'do' j2 extensionAlexandru Avadanii1-1/+4
'do' is useful to avoid hacks like {% set _ = x.update(...) %}. Instead: {% do x.update(...) %}. [1] Change-Id: I886beb97e0383ba11b81aa21cf12b11ebc4b05b2 Signed-off-by: Alexandru Avadanii <>
2018-03-01config/utils: YAML: Use C bindings if availableAlexandru Avadanii2-11/+16
Time diff before/after this change for the same template via generate_config expansion: -user 0m0.144s +user 0m0.096s Change-Id: Id574afcd8a74a530d791ebed8b72ccae53703611 Signed-off-by: Alexandru Avadanii <>
2018-02-27Merge "[fuel] Improved IP handling on config template"Alexandru Avadanii1-137/+137