diff --git a/manual_scale_vnf/cloud_init/cloud-config.txt b/manual_scale_vnf/cloud_init/cloud-config.txt new file mode 100755 index 0000000000000000000000000000000000000000..e22d345c183842dfd2f6a03b28040ce70f72c5b3 --- /dev/null +++ b/manual_scale_vnf/cloud_init/cloud-config.txt @@ -0,0 +1,12 @@ +#cloud-config +password: osm4u +chpasswd: { expire: False } +ssh_pwauth: True + +write_files: +- content: | + # My new helloworld file + + owner: root:root + permissions: '0644' + path: /root/helloworld.txt diff --git a/manual_scale_vnf/icons/osm.png b/manual_scale_vnf/icons/osm.png new file mode 100644 index 0000000000000000000000000000000000000000..62012d2a2b491bdcd536d62c3c3c863c0d8c1b33 Binary files /dev/null and b/manual_scale_vnf/icons/osm.png differ diff --git a/manual_scale_vnf/manual_scale_vnfd.yaml b/manual_scale_vnf/manual_scale_vnfd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..32eff05531f9f739a3f14657bcb2ddf77676cadd --- /dev/null +++ b/manual_scale_vnf/manual_scale_vnfd.yaml @@ -0,0 +1,80 @@ +vnfd: + description: A VNF consisting of 1 VDU connected to two external VL, and one for + data and another one for management + df: + - id: default-df + instantiation-level: + - id: default-instantiation-level + vdu-level: + - number-of-instances: 2 + vdu-id: mgmtVM + scaling-aspect: + - id: manual-scaling_mgmtVM + aspect-delta-details: + deltas: + - id: mgmtVM_manual-scaling + vdu-delta: + - id: mgmtVM + number-of-instances: 1 + name: manual-scaling_mgmtVM + vdu-profile: + - id: mgmtVM + min-number-of-instances: 2 + ext-cpd: + - id: vnf-mgmt-ext + int-cpd: + cpd: mgmtVM-eth0-int + vdu-id: mgmtVM + - id: vnf-data-ext + int-cpd: + cpd: dataVM-xe0-int + vdu-id: mgmtVM + id: manual_scale-vnf + mgmt-cp: vnf-mgmt-ext + product-name: manual_scale-vnf + sw-image-desc: + - id: ubuntu18.04 + image: ubuntu18.04 + name: ubuntu18.04 + - id: ubuntu18.04-azure + name: ubuntu18.04-azure + image: Canonical:UbuntuServer:18.04-LTS:latest + vim-type: azure + - id: ubuntu18.04-gcp + name: ubuntu18.04-gcp + image: ubuntu-os-cloud:image-family:ubuntu-1804-lts + vim-type: gcp + vdu: + - cloud-init-file: cloud-config.txt + id: mgmtVM + int-cpd: + - id: mgmtVM-eth0-int + virtual-network-interface-requirement: + - name: mgmtVM-eth0 + position: 1 + virtual-interface: + type: PARAVIRT + - id: dataVM-xe0-int + virtual-network-interface-requirement: + - name: dataVM-xe0 + position: 2 + virtual-interface: + type: PARAVIRT + name: mgmtVM + sw-image-desc: ubuntu18.04 + alternative-sw-image-desc: + - ubuntu18.04-azure + - ubuntu18.04-gcp + virtual-compute-desc: mgmtVM-compute + virtual-storage-desc: + - mgmtVM-storage + version: 1.0 + virtual-compute-desc: + - id: mgmtVM-compute + virtual-cpu: + num-virtual-cpu: 1 + virtual-memory: + size: 1.0 + virtual-storage-desc: + - id: mgmtVM-storage + size-of-storage: 10 diff --git a/volumes_healing_ns/volumes_healing_nsd.yaml b/volumes_healing_ns/volumes_healing_nsd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bbcc93421bfc14b3892a59009ef0ae71265eb58e --- /dev/null +++ b/volumes_healing_ns/volumes_healing_nsd.yaml @@ -0,0 +1,34 @@ +nsd: + nsd: + - description: NS with 2 VNFs (several_volumes-vnf and manual_scale-vnf) connected to mgmtnet VL + df: + - id: default-df + vnf-profile: + - id: several_volumes_vnf + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: several_volumes_vnf + constituent-cpd-id: vnf-mgmt-ext + virtual-link-profile-id: mgmtnet + vnfd-id: several_volumes-vnf + - id: manual_scale_vnf + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: manual_scale_vnf + constituent-cpd-id: vnf-mgmt-ext + virtual-link-profile-id: mgmtnet + - constituent-cpd-id: + - constituent-base-element-id: manual_scale_vnf + constituent-cpd-id: vnf-data-ext + virtual-link-profile-id: datanet + vnfd-id: manual_scale-vnf + id: volumes_healing-ns + name: volumes_healing-ns + version: 1.0 + virtual-link-desc: + - id: mgmtnet + mgmt-network: true + - id: datanet + vnfd-id: + - several_volumes-vnf + - manual_scale-vnf