aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vFW_CNF_CDS
AgeCommit message (Collapse)AuthorFilesLines
2021-06-08[vFW_CNF_CDS] Improve logging and fix tests typoKonrad Bańka2-3/+15
Issue-ID: INT-1899 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I6f5fb411d395a83e3cc47ab1c089ffaa6bc64da5
2021-05-24[vFW_CNF_CDS] Add workflow health-check and K8sHealthCheck.kt scriptj.blixt8-103/+341
Issue-ID: INT-1899 Signed-off-by: j.blixt <j.blixt@partner.samsung.com> Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I7d52c49bd0e40d30a560b2012362d38488392be6
2021-05-21[vFW_CNF_CDS] Sort generated json filesKonrad Bańka5-1064/+1075
Sort generated generated _types.json files for easier comparison of changes between commits. Provide "jsonlint_cba" target to simply lint autogenerated _types.json files. Issue-ID: INT-1899 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I83f6543f21a65cdd293aa72689766d2f4b48824e
2021-05-20[vFW_CNF_CDS] Add Healthcheck automationKonrad Bańka2-0/+93
Provide dedicated script to invoke CDS Healthcheck flow. Issue-ID: INT-1899 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I4d61edcc7609dbc9550a97c278531f2a940a85bc
2021-05-13[vFW_CNF_CDS] Provide Helm Tests for CNFKonrad Bańka6-0/+158
Provide simple ping-based Helm tests for vFW CNF for demo purposes. Issue-ID: INT-1899 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ib526989760f34de790bd8d7a403941d73cb7250c
2021-04-28[vFW_CNF_CDS] Correct Makefile targetKonrad Bańka1-6/+6
package target was pointing at directory thus Make in some cases didn't launch this target as dependency due to related file (package/) present. Fixed it by marking it Phony. Issue-ID: INT-1899 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Iddd6ba466d5ffd4c73a069b4914136ab00cff048
2021-04-22vFW CNF fix for issue with config-deploy operationLukasz Rajewski2-2/+4
Issue-ID: INT-1868 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ia905c89b96f568bc362c0fd6f73bf0ec4c06212c
2021-04-22vFW CNF updates after integration testsLukasz Rajewski3-5/+39
Issue-ID: INT-1868 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I450ec3ef9ce9b8cbde29f3345777bb655d5719d1
2021-03-28Real vFW CNF config-assign and config-deployLukasz Rajewski34-63/+756
Implementation of vFW CNF config-assign and config-deploy with utilization of CDS native components for configuration API Change-Id: I016b186e1fcad0bf1285292f2e93e12a1d96b63e Issue-ID: INT-1868 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2021-03-19Implementation of config-assign and config-deploy actionsLukasz Rajewski28-196/+1040
Implementation of config-assign and config-deploy actions Issue-ID: INT-1868 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ibe61ea32bb1d0fbfc5396adf54c7d2fcbc7bbf30
2021-03-10Add cofig-assign and config-deploy to cds workflowMichał Grzesik13-164/+351
Add cofig-assign and config-deploy to cds workflow, cloud region and vf params list updated, exporting onap settings for onapsdk Issue-ID: INT-1868 Signed-off-by: Michal Grzesik <michal.grzesik@orange.com> Change-Id: I68acbc2ecedfafb4d2291707f5fef82e8feab831
2020-12-22Check orchestration status during instantiation and deletion vFW_CNF_CDS usecaseMichal Chabiera4-0/+17
Check orchestration status during instantiation and deletion vFW_CNF_CDS usecase Issue-ID: INT-1658 Signed-off-by: Michal Chabiera <michal.chabiera@orange.com> Change-Id: Iffeda65393cea55a8108b91f282b7ee9d6e6f7c8
2020-12-07Automation scripts for vFW_CNF_CDS usecaseMichal Chabiera17-1/+973
Automation scripts for vFW_CNF_CDS usecase Issue-ID: INT-1658 Signed-off-by: Michal Chabiera <michal.chabiera@orange.com> Change-Id: I32ba9afe0ca95c5db66c6789756508a76a13f948
2020-11-09vFW CNF CDS scripts update for native Helm supportLukasz Rajewski14-23/+73
vFW CNF CDS scripts update for native Helm support Change-Id: I34a1cc8dfb18e512edb6e2786984b683c34815e6 Issue-ID: INT-1658 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-10-09vFW CDS CNF CBA with native k8s profile uploadLukasz Rajewski28-558/+671
vFW CDS CNF CBA with native k8s profile upload Change-Id: Ic3357982af534ea261d4d617e050dc33bc339645 Issue-ID: INT-1658 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-08-25VNF Software Version parameter added to CDS Heat templatesLukasz Rajewski2-0/+6
VNF Software Version parameter added to CDS base heat templates. The purpose is to give a possibility to set the value of the software-version attribute in generic-vnf object in time of VNF instantiation. Change-Id: Ia8c6d446dd538fb8ee58e4504d62ac3f2edc71e6 Issue-ID: INT-1600 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-05-29Remove endpoint-selector from Data DictionarySamuli Silvius3-30/+6
According to cds bug fixed by https://gerrit.onap.org/r/c/ccsdk/cds/+/106128 Issue-ID: INT-1581 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I58727f7ac114e26c38f44cc33f35e9a54b0f0017
2020-05-25[vFW_CNF_CDS] Update package with latest CDS/Policy changesKonrad Bańka15-101/+34
Rename csar directory with proper name. Update CBA to refer to default naming policy. Remove policy creating script/docs as it's no longer relevant. Issue-ID: INT-1457 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I7d3b888ce073a88e6dfd41883a8853fbf7cb0539
2020-05-25[vFW_CNF_CDS] Cleanup onboarding package contentKonrad Bańka14-509/+31
Rename CSAR to onboarding package where mentioned. This change doesn't contain CBA/Policy updates as they need to be updated according to latest CDS config once it is merged. Issue-ID: INT-1457 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ia230b749fc080d4eaf9834d7d64723d74726a550
2020-04-01[vFW_CNF_CDS] Ensure binary files are treated correctly by gitKonrad Bańka2-0/+1
Issue-ID: INT-1512 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Id768d6491059694a274e789b2389fe1865fae457
2020-03-26Fix indentation issues within YAMLsBartek Grzybowski1-5/+5
Fixes applied as reported by yamllint. Change-Id: I5320d49799ecdd3ffbc8f9fbb8617554a709c247 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-26Fix spacing issues in YAML files in heatBartek Grzybowski7-8/+8
Fixes applied as reported by yamllint. Change-Id: I192de1f318c9aee58868807e4a9942b48b8b8e65 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-23Pretty print json files in heat/Bartek Grzybowski9-1749/+1885
Fixing json files to conform to linter rules. Change-Id: Ia758a50adffb13889255511594aacc03f66f4e4b Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-13Simplify CBA by removing unnecessary variablesKonrad Bańka18-7078/+990
Change scope: - demo_artifacts_version - default on vnf level, removed vf-module level - install_script_version - removed - *image_name - removed - public_net_id - removed - key_name - removed - pub_key - removed - *flavor_name - removed - sec_group - removed - nfc-naming-code - removed - cloud_env - removed - nexus_artifact_repo - removed - *cidr - removed, where applicable - *ip - removed, where applicable - dcae* - moved to vnf level - aic-cloud-region - removed on vf-module level - vnf_name - removed on base-template level - vf-module-type - removed - vnfc-model-version - removed - vnfc-model-invariant-uuid - removed - vfccustomizationuuid - removed - vf-module-id - removed from template result - service-instance-id - removed from template result - vnf_name - removed and vf-module level - vf-module-model-customization-uuid - removed from template result - vf-module-model-version - removed from template result - vf-module-model-invariant-uuid - removed from template result - vnf-model-customization-uuid - removed at vf-module-level and few other minor tweaks including updating dataDict and enrichment Issue-ID: INT-1260 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ica6073d0270da9d5ff0f0e544a9b329f66d9b5bb
2020-03-09Helper script for tailing POD logsSamuli Silvius2-0/+178
Simple way of utilizing kubectl to collect or tail POD logs. Supports tailing/collecting "kubectl logs" and any file content inside the POD container. Multiple PODs/containers and logs tailing/collecting started/collected with single command. POD and logs are configured in tail_config file. Issue-ID: INT-1260 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I9e00e5f503fee2f86b75b1333973fd1569ae5aab
2020-03-05Provide custom naming policy for vFW CNF usecaseKonrad Bańka6-1/+84
Issue-ID: INT-1457 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I9a5bc4ba6296800005bd0ed5cbc6c79b1064bdcd
2020-03-05Improve CBA to derive variables from others on same levelKonrad Bańka11-138/+95
Previously some variables required to be resolved for each vf-module individually, by retrieving from MDSAL vnf entry, even though they didn't differ between each other. Now CBA RA result has been modified to provide such variables on the same level, by deriving their value from other variables resolved on the same level (vnf/vf-module) by using sdnc "unresolved-composite-data" capability. Issue-ID: INT-1457 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I9d9134654d680cf1ea735577fb6d54a0fc0fd0b8
2020-03-03K8s Profile mod on demandLukasz Rajewski6-13/+134
This change provides an example of modificatioin of k8s profile on demand. In here the ssh service of vPGN is created on demand and user can decide about the number of ssh exposed port Change-Id: Ie734e4f832d6a07ff53a0f108aed74a43d325b22 Issue-ID: INT-1458 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-03-02Provide template of ssh service to be included by profilesKonrad Bańka1-0/+18
Issue-ID: INT-1457 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: If51f9debb204d9b5037ac38fafaef25de68cb260
2020-03-02Correct typo in selectors for helm deploymentsKonrad Bańka2-2/+2
Issue-ID: INT-1260 Change-Id: Iaa95354bb29711841187630b017653b50957dbc2 Signed-off-by: Konrad Bańka <k.banka@samsung.com>
2020-02-28K8S Profile modification by CDSLukasz Rajewski1-6/+22
This change implements the modification of K8s profile by CDS. The script creates the content of tar.gz file with profile base on the included profile tempalte and template artifcts of the profile. This version only builds the profile file. Change-Id: If3aafdb660b6e63ebb33892f5e8593bd0b6be392 Issue-ID: INT-1458 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-02-28Create complete Data DictionarySamuli Silvius8-637/+2654
Added helper script to generate Data Dictionary from enriched CBA model. Generated initial DD. Model still needs to be enriched and DD corrected if needed. Issue-ID: INT-1260 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I082d2ce3c84b0c0a953722259997f23717198129
2020-02-26Correct CBA package for vFW_CNF_CDS usecaseKonrad Bańka38-1898/+1673
This fixes change helm and cba content to enable instantiation with some workarounds. Data dictionary in this review is not ready yet, as well as there are many workarounds within. Signed-off-by: Konrad Bańka <k.banka@samsung.com> Issue-ID: INT-1260 Change-Id: I4833fa11772b7bd2b65d04f0d81ffad22570d309
2020-01-24Removed resolution-key from K8S profile uploadLukasz Rajewski2-12/+5
Removed resolution-key from K8S profile upload Change-Id: If7c9106da4ca514d142c8bb898ac50630e41b577 Issue-ID: INT-1406 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-01-09Additional missing changed for CNF parameter resolution.Samuli Silvius10-9/+195
Accidentally missed adding "vf-module-model-invariant-uuid" and "vf-module-model-version" to vf-modules mappings for resolution in previous commit. Issue-ID: INT-1260 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I0a47027e73284b4b0ae0a1f0ce18e45d6b2d9142
2020-01-08K8s Profile UploadLukasz Rajewski16-1/+589
Modification of vFW CNF CBA package to upload K8s profile automatically just after resource assigment phase. Profile is created for each vf-module and in this version only upload of static profile is possible. Profile files must be included in the CBA in Templates/k8s-profiles folder. Profile file must be valid tar.gz file accepted by multicloud-k8s plugin. Change-Id: I30c268e9867fbb86d997b2091ce2eed204a7df2a Issue-ID: INT-1406 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-01-07CDS Blueprint for vFW K8s Use CaseSamuli Silvius24-240/+1455
Introduce blueprint changes on top of latest vFW demo to also support multicloud/K8s plugin integration. This commit brings resource resolution part for k8s related parameters that are enough to instantiate CNF defined by Helm charts in multicloud/k8s plugin. Issue-ID: INT-1260 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I783e364a201cda25ea812d83795ae2a4be71def9
2019-12-04Refactor FIXMEs in vFW_CDS_CNF use caseKonrad Bańka39-174/+72
Issue-ID: INT-1259 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ia834019f3c1564e660036047864f74a7477273aa
2019-12-02Initial CDS blueprint for vFW CNF demoSamuli Silvius20-0/+7361
This commit brings vFW demo CDS CBA model from cds git repo as "unmodified" to start CNF demo based on normal vFW CDS model. The aim is also later to move CDS models out from CDS git repo and place all into demo repository. This commit is directly based on gerrit patch (not yet merged) https://gerrit.onap.org/r/c/ccsdk/cds/+/96920 and Change-Id: Id13b0ac2bb0889539faa31174cfdb8ab31588509 Issue-ID: INT-1260 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: I32ce84a25c8abc03fa9e21474b250b0575071e7b
2019-11-04Provide vFW CNF use case csar contentKonrad Bańka42-0/+1470
Issue-ID: INT-1259 Change-Id: I0bcd85725e7f102bdcdf813db0c0260526b5807d Signed-off-by: Konrad Bańka <k.banka@samsung.com>