diff --git a/ubuntu_4ifaces_ns/icons/osm.png b/ubuntu_4ifaces_ns/icons/osm.png new file mode 100644 index 0000000000000000000000000000000000000000..62012d2a2b491bdcd536d62c3c3c863c0d8c1b33 Binary files /dev/null and b/ubuntu_4ifaces_ns/icons/osm.png differ diff --git a/ubuntu_4ifaces_ns/ubuntu_4ifaces_nsd.yaml b/ubuntu_4ifaces_ns/ubuntu_4ifaces_nsd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1078aa8b10a2e463531fc39f8ccf5e88f287fe8c --- /dev/null +++ b/ubuntu_4ifaces_ns/ubuntu_4ifaces_nsd.yaml @@ -0,0 +1,77 @@ +nsd: + nsd: + - description: NS with 2 VNFs ubuntu_4ifaces-vnf connected by mgmtnet and 3 datanet VLs + df: + - id: default-df + virtual-link-profile: + - id: vlp-datanet1 + virtual-link-desc-id: datanet1 + virtual-link-protocol-data: + associated-layer-protocol: ipv4 + l3-protocol-data: + ip-version: ipv4 + cidr: 192.168.10.0/24 + - id: vlp-datanet2 + virtual-link-desc-id: datanet2 + virtual-link-protocol-data: + associated-layer-protocol: ipv4 + l3-protocol-data: + ip-version: ipv4 + cidr: 192.168.20.0/24 + - id: vlp-datanet3 + virtual-link-desc-id: datanet3 + virtual-link-protocol-data: + associated-layer-protocol: ipv4 + l3-protocol-data: + ip-version: ipv4 + cidr: 192.168.30.0/24 + vnf-profile: + - id: vnf1 + vnfd-id: ubuntu_4ifaces-vnf + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: vnf1 + constituent-cpd-id: vnf-mgmt-ext + virtual-link-profile-id: mgmtnet + - constituent-cpd-id: + - constituent-base-element-id: vnf1 + constituent-cpd-id: vnf-data1-ext + virtual-link-profile-id: datanet1 + - constituent-cpd-id: + - constituent-base-element-id: vnf1 + constituent-cpd-id: vnf-data2-ext + virtual-link-profile-id: datanet2 + - constituent-cpd-id: + - constituent-base-element-id: vnf1 + constituent-cpd-id: vnf-data3-ext + virtual-link-profile-id: datanet3 + - id: vnf2 + vnfd-id: ubuntu_4ifaces-vnf + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: vnf2 + constituent-cpd-id: vnf-mgmt-ext + virtual-link-profile-id: mgmtnet + - constituent-cpd-id: + - constituent-base-element-id: vnf2 + constituent-cpd-id: vnf-data1-ext + virtual-link-profile-id: datanet1 + - constituent-cpd-id: + - constituent-base-element-id: vnf2 + constituent-cpd-id: vnf-data2-ext + virtual-link-profile-id: datanet2 + - constituent-cpd-id: + - constituent-base-element-id: vnf2 + constituent-cpd-id: vnf-data3-ext + virtual-link-profile-id: datanet3 + id: ubuntu_4ifaces-ns + name: ubuntu_4ifaces-ns + version: '1.0' + virtual-link-desc: + - id: mgmtnet + mgmt-network: true + - id: datanet1 + - id: datanet2 + - id: datanet3 + vnfd-id: + - ubuntu_4ifaces-vnf diff --git a/ubuntu_4ifaces_vnf/cloud_init/cloud-config.txt b/ubuntu_4ifaces_vnf/cloud_init/cloud-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..25b63cc647effa3d8c9ee922beaac1782339ba4f --- /dev/null +++ b/ubuntu_4ifaces_vnf/cloud_init/cloud-config.txt @@ -0,0 +1,4 @@ +#cloud-config +password: osm4u +chpasswd: { expire: False } +ssh_pwauth: True diff --git a/ubuntu_4ifaces_vnf/icons/osm.png b/ubuntu_4ifaces_vnf/icons/osm.png new file mode 100644 index 0000000000000000000000000000000000000000..62012d2a2b491bdcd536d62c3c3c863c0d8c1b33 Binary files /dev/null and b/ubuntu_4ifaces_vnf/icons/osm.png differ diff --git a/ubuntu_4ifaces_vnf/ubuntu_4ifaces_vnfd.yaml b/ubuntu_4ifaces_vnf/ubuntu_4ifaces_vnfd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8ae9fb0c822db558c3f1653d0a4714fb1d5784a4 --- /dev/null +++ b/ubuntu_4ifaces_vnf/ubuntu_4ifaces_vnfd.yaml @@ -0,0 +1,89 @@ +vnfd: + description: A VNF consisting of 1 VDU with 4 paravirt interfaces + df: + - id: default-df + instantiation-level: + - id: default-instantiation-level + vdu-level: + - number-of-instances: 1 + vdu-id: dataVM + vdu-profile: + - id: dataVM + min-number-of-instances: 1 + ext-cpd: + - id: vnf-mgmt-ext + int-cpd: + cpd: eth0-int + vdu-id: dataVM + - id: vnf-data1-ext + int-cpd: + cpd: eth1-int + vdu-id: dataVM + - id: vnf-data2-ext + int-cpd: + cpd: eth2-int + vdu-id: dataVM + - id: vnf-data3-ext + int-cpd: + cpd: eth3-int + vdu-id: dataVM + id: ubuntu_4ifaces-vnf + mgmt-cp: vnf-mgmt-ext + product-name: ubuntu_4ifaces-vnf + sw-image-desc: + - id: ubuntu20.04 + image: ubuntu20.04 + name: ubuntu20.04 + vdu: + - cloud-init-file: cloud-config.txt + id: dataVM + int-cpd: + - id: eth0-int + virtual-network-interface-requirement: + - name: eth0 + position: 1 + virtual-interface: + type: PARAVIRT + - id: eth1-int + virtual-network-interface-requirement: + - name: eth1 + position: 2 + virtual-interface: + type: PARAVIRT + - id: eth2-int + virtual-network-interface-requirement: + - name: eth2 + position: 3 + virtual-interface: + type: PARAVIRT + - id: eth3-int + virtual-network-interface-requirement: + - name: eth3 + position: 4 + virtual-interface: + type: PARAVIRT + name: dataVM + sw-image-desc: ubuntu20.04 + virtual-compute-desc: dataVM-compute + virtual-storage-desc: + - dataVM-storage + version: '1.0' + virtual-compute-desc: + - id: dataVM-compute + virtual-cpu: + num-virtual-cpu: 1 + pinning: + policy: static + thread-policy: PREFER + virtual-memory: + mempage-size: LARGE + numa-enabled: true + numa-node-policy: + mem-policy: STRICT + node: + - id: 1 + node-cnt: 1 + size: 2.0 + virtual-storage-desc: + - id: dataVM-storage + size-of-storage: 10