aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-26Merge "ericsson-pod1: Add net_config"Alexandru Avadanii1-36/+81
2017-10-25ericsson-pod1: Add net_configAlexandru Avadanii1-36/+81
Based on old Fuel DEA from stable/danube: eno1: # new interface index 4 - fuelweb_admin ens2f0: # new interface index 2 - public - management - storage ens2f1: # new interface index 3 - private While at it, use '|' as NIC feature separator to align with the PDF spec. Change-Id: I2f9404dd811ecc4826e7ce1d0aebded820777dd2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-25ericsson-pod1: Add IDF for Fuel compatibilityAlexandru Avadanii1-0/+34
Change-Id: Iea4e8eacaaa4b4d5f0c1c7f05d6be816fe02e0cf Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-25add 2 nics for all servermting1-0/+72
Change-Id: If0e7fd76850f0610bd9b899a2a4847428a5472b0 Signed-off-by: mting <dianfeng.du@ericsson.com>
2017-10-18lf-pod2, arm-pod5: Fuel IDF: Add network infoAlexandru Avadanii2-0/+56
Extend Fuel section of IDF with: - OS interface names, required by MCP reclass model; - NIC bus addresses, required for DPDK scenarios; JIRA: FUEL-275 Change-Id: I3e20517ec79bc4ee75e0d5a8f74628d9b1f421a8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-13Add BII POD1 descriptor file 'bii_pod1.ymal'louie.long1-0/+193
According to the relevant requirements commit BII Pharos lab's PDF to the securedlab repo for Euphrates release and pharos dashboard. 1.modify PDF file name to "bii_pod1.yaml" 2.modify Lab's name 3.add net_config describe 4.modify node interface describe 5.add remote hardware manage IP and login account Change-Id: I314332269f86e16bc273b6ec80568dfaf88bcd1e Signed-off-by: louie.long <longyu805@163.com>
2017-10-05arm-virtual2: Drop local_envAlexandru Avadanii1-2/+0
Change-Id: I998c49c7f2a2437cb75f7e1223928514b4998f04 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-04Merge "lf-pod2, arm-pod5: Fuel Installer Descriptor File"Alexandru Avadanii5-7/+28
2017-10-03Merge "lf-pod4: Align with PDF spec, minor updates"Aric Gardner1-30/+66
2017-10-03lf-pod4: Align with PDF spec, minor updatesAlexandru Avadanii1-30/+66
Change-Id: I942bdb9e29997640330007dfd359e79ab8a52a3f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-03lf-pod2, arm-pod5: Fuel Installer Descriptor FileAlexandru Avadanii5-7/+28
While at it, quote string variables in ericsson-pod1 IDF. Now that we can determine bridge names from IDF, drop legacy "local_env" mechanism for baremetal PODs. Change-Id: I1db41cde503099352adb72d0969c1dd0f8a92a59 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-02Merge "ericsson-pod1: Add Fuel installer descriptor file"Alexandru Avadanii1-0/+12
2017-09-28arm-pod5: Fix node-5 MAC orderAlexandru Avadanii1-2/+2
node-5 MAC order was reversed, leading to deploy failures in Armband. Change-Id: Iae234753f1b2e51bcbc4d898a2ce92525ec67c5f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-28ericsson-pod1: Add Fuel installer descriptor fileAlexandru Avadanii1-0/+12
Change-Id: I654e887a6247f77fec7ee49cf042f0e9fc608816 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-27Merge "arm-pod5 align with latest PDF spec"Alexandru Avadanii1-30/+50
2017-09-27arm-pod5 align with latest PDF specGuillermo Herrero1-30/+50
Change-Id: I1ae0f356b11cb22be7b32ead2877c0a8e19b9093 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
2017-09-27lf-pod2: Pod Descriptor FileAlexandru Avadanii1-0/+226
[Alexandru.Avadanii@enea.com] - this is almost completely Guillermo's work, I am just submitting it on his behalf; JIRA: FUEL-275 Change-Id: I58bda061695f4dec5cfa390ca069353c29b13e73 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-26PDF: Run YAML Linter on pod descriptors / outputAlexandru Avadanii1-5/+13
We have 2 rounds of YAML files: - PDF (input file(s) for the installer adapter templates); - parsed PDF (output file(s) after installer adapter template parse); Run yamllint on all these files, and summarize the output in a tuple form: (valid YAML output, successful parse, installer templates cnt). This helps catching various issues: - formatting issues in installer adapter templates; - missing values in PDFs (e.g. lf-pod4 IPMI credentials); etc. For now, yamllint failures for output files are non-fatal. Sample output: | PDF Verify Matrix | YAML Lint | ... | fuel | joid | | pharos/config/pod1.yaml | OK | ... | 1/1/1 | 1/1/1 | | intel/pod18.yaml | OK | ... | 1/1/1 | 1/1/1 | | arm/pod5.yaml | OK | ... | 1/1/1 | 0/1/1 | | lf/pod4.yaml | OK | ... | 0/1/1 | 0/1/1 | Change-Id: Id598da89fab0e7e41641649833471194e8d248a9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-26Merge "PDF: Fix yamllint warnings & fold reusable code"Alexandru Avadanii5-180/+45
2017-09-26[fuel] Updated adapter templateGuillermo Herrero1-5/+8
Change-Id: Ibda422d7b4042e9b2e6c54eae66bd76f1cde0a1e Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
2017-09-26[fuel] Sync adapter template with Pharos versionAlexandru Avadanii1-55/+104
Change-Id: I6f3ea5e2103ae75d96834d8317cc3c505d01e45b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-26check-jinja: Suppress PDF output loggingAlexandru Avadanii1-2/+16
Change-Id: I92bb9302abb74f5a58b6c10144dbe8d24d188938 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-25check-jinja2: Fix unsupported '-e' arg for columnsAlexandru Avadanii1-1/+1
Change-Id: Id5827b2f260af215731ea819a9ffc6177648f788 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-25Merge "PDF: Add result summary to check-jinja2"Aric Gardner1-7/+33
2017-09-25PDF: Fix yamllint warnings & fold reusable codeAlexandru Avadanii5-180/+45
- ericsson-pod{1,2}: Fold node, disk params; - lf-pod4: Jump server uses same disk params; - zte-pod{2,3}: only minor formatting; Change-Id: Ib280aca93f9d6ab1768afa369b922c71485cf79c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-25Merge "lf-pod4: Add missing IPMI user/pass"Aric Gardner1-0/+2
2017-09-24cleanup: fuel: Remove obsolete reap, dea, dhaAlexandru Avadanii36-5851/+0
Old Fuel (up to and including Danube release) relied on a DEA/DHA pair of configuration files, usually constructed based on information collected from a manually deployed POD using a "reap" procedure. Starting with Euphrates, Fuel will use the PDF as input, so DEA/DHA, as well as reap data are now obsolete. Some PODs (arm-pod5, lf-pod2) still have a "local_env" configuration file, which is a leftover from old Fuel, but can only be dropped after Fuel automatically detects the jumphost bridge names (either by matching the IP addresses on the jumphost to the networks in PDF, or by using a static mapping defined in a PDF companion file, e.g. IDF). Remove all obsolete configuration, including useless directories. Change-Id: I9eae2067d83347409c17126aadb19e3d6b95d4b6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-24lf-pod4: Add missing IPMI user/passAlexandru Avadanii1-0/+2
Change-Id: Ica0fce731f737ae3ef02e52094b81475d0c66891 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-25[fuel] Refresh installer adapter, sync with pharosAlexandru Avadanii1-89/+58
Change-Id: Id8e184458fe6dfaec3127195cfb865cd9fdabb9f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-24PDF: Add result summary to check-jinja2Alexandru Avadanii1-7/+33
Apart from Pod Descritpro Files for OPNFV PODs, also validate the Pharos PDF template itself. While at it, fix shellcheck warnings. Sample output: | PDF/Installer | apex | compass4nfv | daisy | joid | | pharos/config/pod1.yaml | 1/1 | 12/12 | 1/1 | 1/1 | | intel/pod18.yaml | 1/1 | 12/12 | 1/1 | 1/1 | | orange/pod1.yaml | 0/1 | 4/12 | 0/1 | 0/1 | | arm/pod5.yaml | 1/1 | 12/12 | 1/1 | 1/1 | | ericsson/pod1.yaml | 1/1 | 12/12 | 1/1 | 1/1 | | ericsson/pod2.yaml | 1/1 | 12/12 | 1/1 | 1/1 | | lf/pod4.yaml | 1/1 | 12/12 | 1/1 | 1/1 | | zte/pod3.yaml | 1/1 | 12/12 | 1/1 | 1/1 | | zte/pod1.yaml | 1/1 | 12/12 | 1/1 | 1/1 | | zte/pod2.yaml | 1/1 | 12/12 | 1/1 | 1/1 | Change-Id: Iba46a7cc62c80ccb987879ce94ffe5f0bbb23304 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-24[fuel] adapter: align IPs with recent Fuel changesAlexandru Avadanii1-7/+6
Change-Id: I44f63fb7f9e4398a16e1d0b897a2491a60bb1727 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-22[fuel] Added mcp installer adapter templateGuillermo Herrero1-0/+97
Change-Id: Ide977ef48a6339631e2e3cb6fdbacc88a639c0aa Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
2017-09-22arm-pod5: Fix yamllint warningsAlexandru Avadanii1-21/+21
Change-Id: I302b014241bd1fa71e029fcd5b5905b0b1112fd5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-22arm-pod5: Fix duplicate MAC addressesAlexandru Avadanii1-2/+2
Change-Id: I3664d50a1510e2697c570adcf89cff9d1ea7961f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-22arm-pod5: Fix MAC copy-paste typoAlexandru Avadanii1-1/+1
Change-Id: I01c54ebdded9d2aaa4142078699a9a65ffe652fd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-21labs: PDF: s/pod owner/pod_owner/gAlexandru Avadanii6-6/+6
Change-Id: Idc72cc6c0c8f13410adbb3478f811a8ee8563223 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-21Merge "arm-pod5: updated admin network / jumphost ipmi"Alexandru Avadanii1-11/+11
2017-09-21arm-pod5: updated admin network / jumphost ipmiGuillermo Herrero1-11/+11
Change-Id: Id337c53d94ad52266db8f7419a61d7f2f2e8c300 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
2017-09-19Merge "Use pharos submodule for PDF validation"Jack Morgan3-4/+9
2017-09-19lf-pod4: Fix yamllint warningsAlexandru Avadanii1-9/+8
- align comment start, end; - s/pod owner/pod_owner/ (not a problem, but breaks syntax highlight); - remove 'os' param from lfpod4-node1; Change-Id: I6c61b3a45da390f5db14c4d81f6a7d430fbe8128 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-18Use pharos submodule for PDF validationAlexandru Avadanii3-4/+9
Depends-on: Ic4bd75e1b2dc339c15cd4943dfc5a1c74c68b094 Change-Id: I9d6807f3d24cee8d9a03955112a8c179d9ea7d14 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-17utils/generate_config.py: Add dpkg_arch filterAlexandru Avadanii1-0/+17
PDF populates the canonical arch name, as reported by $(uname -m). In some cases, we need to pass the architecture read from PDF to software components that expect it to be represend in DPKG format (e.g. MaaS, APT on Debian systems use "amd64" instead of "x86_64"). Change-Id: I5fcef0a2c2a5cdc5332b5fab1fd284386bb865d0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-16utils/generate_config.py: Add ipaddr_index filterAlexandru Avadanii1-0/+13
v5 -> v6: - IP address can be IPv4 or IPv6; - add fallback to 'str' type for py3-incompatible 'unicode'; - fix pylint complaints (silence unnecessary ones); Change-Id: Iea1049a7f5379e9bcb4b785fdd810b67f51c94ab Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-16generate_config: Replace print statement with fcAlexandru Avadanii1-9/+9
Fix py3 compatibility by using 'print' function instead. While at it, fix constant names reported by `pylint` as invalid. Change-Id: I73e3a370560c038a8814db9758b13026dc4c0b42 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-14Support daisy on zte-pod3Alex Yang4-1/+213
Change-Id: I4bdf8a4a083d5731849aef40473eec2198d3a9b2 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-11Merge "correct lf pod4 fixed_ips"Aric Gardner1-9/+9
2017-09-10Merge "Make daisy template compatible with lf-pod4"julien zhang1-0/+4
2017-09-08arm-pod5: descriptor fileGuillermo Herrero1-0/+183
JIRA: ARMBAND-292 Change-Id: I33443a8496bfe8a24266ffe99f6562cded88436c Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
2017-09-08Make daisy template compatible with lf-pod4Alex Yang1-0/+4
Now the daisy template is not compatible with lf-pod4, see [1]. The meaning of 'interfaces' in this pod is different with other pods. Make daisy template compatible with it. [1] https://build.opnfv.org/ci/job/validate-jinja2-templates-master/80/console Change-Id: I29058f705bab333c48614b7eab8c8b9e83b9e1cb Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-06correct lf pod4 fixed_ipsBlaisonneau David1-9/+9
Change-Id: I2b413c239698258cd4dfb521441408513670c855 Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>