[akraino] Add IEC K8-calico scenarios 11/67011/7
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 11 Feb 2019 11:04:59 +0000 (11:04 +0000)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 29 Mar 2019 14:04:14 +0000 (15:04 +0100)
commit7a31d776d4bdf122d4c4c8f732304cc83621bdd6
tree20acf2b9278434be4c94b3fa93d186386c1be1cb
parentd7f96d14441eafda776d3c6475b8b0d93d91de39
[akraino] Add IEC K8-calico scenarios

- bump Pharos git submodule to allow PODs with fewer nodes;
- add `k8-calico-iec-noha` scenario definition for Akraino
  IEC basic configuration;
- add `k8-calico-iec-vcp-noha` scenario definition for Akraino
  IEC nested (virtualized control plane) configuration;
- add `akraino_iec` state, which will leverage the Akraino IEC
  bootstrap scripts from [1];
- replace system.reboot salt call with cmd.run 'reboot' as it's more
  reliable;
- use kernel 4.15 for AArch64 K8 IEC scenarios;

NOTE: These scenarios will not be released in OPNFV since don't rely
on Salt formulas but instead of Akraino IEC scripts to install K8s.

[1] https://gerrit.akraino.org/r/#/q/project:iec

Change-Id: I4e538e0563d724cd3fd5c4d462ddc22d0c739402
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
23 files changed:
mcp/config/scenario/defaults.yaml.j2
mcp/config/scenario/k8-calico-iec-noha.yaml [new file with mode: 0644]
mcp/config/scenario/k8-calico-iec-vcp-noha.yaml [new file with mode: 0644]
mcp/config/states/akraino_iec [new file with mode: 0755]
mcp/config/states/baremetal_init
mcp/config/states/virtual_control_plane
mcp/config/states/virtual_init
mcp/reclass/classes/cluster/.gitignore
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-iec-noha/akraino/iec.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-iec-noha/akraino/init.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-iec-noha/infra/config.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-iec-noha/infra/init.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-iec-noha/infra/kvm.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-iec-noha/infra/maas.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-iec-noha/init.yml [new file with mode: 0644]
mcp/reclass/nodes/cfg01.mcp-iec-noha.local.yml [new file with mode: 0644]
mcp/scripts/docker-compose/docker-compose.yaml.j2
mcp/scripts/pharos
mcp/scripts/xdf_data.sh.j2