From 3a1140244a7e961ba5ed9bbc9315373a2b13bb23 Mon Sep 17 00:00:00 2001 From: palsus Date: Tue, 2 Mar 2021 18:08:49 +0100 Subject: [PATCH 1/2] wiki webserver package for osm-mr-10 hackfest --- .../wiki_webserver_autoscale_nsd.yaml | 33 ++++ .../cloud_init/.DS_Store | Bin 0 -> 6148 bytes .../cloud_init/cloud_init_apache | 5 + .../cloud_init/cloud_init_haproxy | 5 + .../wiki_webserver_autoscale_vnfd.yaml | 158 ++++++++++++++++++ 5 files changed, 201 insertions(+) create mode 100644 wiki_webserver_autoscale_nsd/wiki_webserver_autoscale_nsd.yaml create mode 100644 wiki_webserver_autoscale_vnfd/cloud_init/.DS_Store create mode 100644 wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_apache create mode 100644 wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy create mode 100644 wiki_webserver_autoscale_vnfd/wiki_webserver_autoscale_vnfd.yaml diff --git a/wiki_webserver_autoscale_nsd/wiki_webserver_autoscale_nsd.yaml b/wiki_webserver_autoscale_nsd/wiki_webserver_autoscale_nsd.yaml new file mode 100644 index 00000000..995235dd --- /dev/null +++ b/wiki_webserver_autoscale_nsd/wiki_webserver_autoscale_nsd.yaml @@ -0,0 +1,33 @@ +nsd: + nsd: + - description: Scaling wiki web server with load balancer NS + designer: Altran + df: + - id: default-df + vnf-profile: + - id: '1' + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: '1' + constituent-cpd-id: haproxy_mgmt-ext + - constituent-base-element-id: '1' + constituent-cpd-id: apache_mgmt-ext + virtual-link-profile-id: mgmt_vld + - constituent-cpd-id: + - constituent-base-element-id: '1' + constituent-cpd-id: haproxy_public-ext + virtual-link-profile-id: public_vld + vnfd-id: wiki_webserver_autoscale_vnf + id: wiki_webserver_autoscale_ns + name: wiki_webserver_autoscale_ns + version: '1.0' + virtual-link-desc: + - id: mgmt_vld + mgmt-network: 'true' + vim-network-name: mgntnet + - id: public_vld + mgmt-network: 'true' + vim-network-name: osm-ext + vnfd-id: + - wiki_webserver_autoscale_vnf + diff --git a/wiki_webserver_autoscale_vnfd/cloud_init/.DS_Store b/wiki_webserver_autoscale_vnfd/cloud_init/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 Date: Tue, 2 Mar 2021 19:04:28 +0100 Subject: [PATCH 2/2] Update password to 2021 --- wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_apache | 4 ++-- wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_apache b/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_apache index d1e288b1..92dcba0c 100644 --- a/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_apache +++ b/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_apache @@ -1,5 +1,5 @@ #cloud-config hostname: apachevdu -password: osm2018 +password: osm2021 chpasswd: { expire: False } -ssh_pwauth: True \ No newline at end of file +ssh_pwauth: True diff --git a/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy b/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy index 458cd9a6..8995804f 100644 --- a/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy +++ b/wiki_webserver_autoscale_vnfd/cloud_init/cloud_init_haproxy @@ -1,5 +1,5 @@ #cloud-config hostname: haproxyvdu -password: osm2018 +password: osm2021 chpasswd: { expire: False } ssh_pwauth: True -- GitLab