diff --git a/epa_1vm_passthrough_ns/epa_1vm_passthrough_nsd.yaml b/epa_1vm_passthrough_ns/epa_1vm_passthrough_nsd.yaml new file mode 100755 index 0000000000000000000000000000000000000000..35bcd0c31836c469f88e1f430bba429aa1472466 --- /dev/null +++ b/epa_1vm_passthrough_ns/epa_1vm_passthrough_nsd.yaml @@ -0,0 +1,38 @@ +nsd: + nsd: + - description: NS with 2 VNFs epa_1vm_passthrough-vnf connected by datanet and mgmtnet + VLs + df: + - id: default-df + vnf-profile: + - id: '1' + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: '1' + constituent-cpd-id: vnf-mgmt-ext + virtual-link-profile-id: mgmtnet + - constituent-cpd-id: + - constituent-base-element-id: '1' + constituent-cpd-id: vnf-data-ext + virtual-link-profile-id: datanet + vnfd-id: epa_1vm_passthrough-vnf + - id: '2' + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: '2' + constituent-cpd-id: vnf-mgmt-ext + virtual-link-profile-id: mgmtnet + - constituent-cpd-id: + - constituent-base-element-id: '2' + constituent-cpd-id: vnf-data-ext + virtual-link-profile-id: datanet + vnfd-id: epa_1vm_passthrough-vnf + id: epa_1vm_passthrough-ns + name: epa_1vm_passthrough-ns + version: '1.0' + virtual-link-desc: + - id: mgmtnet + mgmt-network: true + - id: datanet + vnfd-id: + - epa_1vm_passthrough-vnf diff --git a/epa_1vm_passthrough_ns/icons/osm.png b/epa_1vm_passthrough_ns/icons/osm.png new file mode 100755 index 0000000000000000000000000000000000000000..62012d2a2b491bdcd536d62c3c3c863c0d8c1b33 Binary files /dev/null and b/epa_1vm_passthrough_ns/icons/osm.png differ diff --git a/epa_1vm_passthrough_vnf/cloud_init/cloud-config.txt b/epa_1vm_passthrough_vnf/cloud_init/cloud-config.txt new file mode 100755 index 0000000000000000000000000000000000000000..25b63cc647effa3d8c9ee922beaac1782339ba4f --- /dev/null +++ b/epa_1vm_passthrough_vnf/cloud_init/cloud-config.txt @@ -0,0 +1,4 @@ +#cloud-config +password: osm4u +chpasswd: { expire: False } +ssh_pwauth: True diff --git a/epa_1vm_passthrough_vnf/epa_1vm_passthrough_vnfd.yaml b/epa_1vm_passthrough_vnf/epa_1vm_passthrough_vnfd.yaml new file mode 100755 index 0000000000000000000000000000000000000000..d7512e3d155a5c5096cbded464950a9f0731bdc8 --- /dev/null +++ b/epa_1vm_passthrough_vnf/epa_1vm_passthrough_vnfd.yaml @@ -0,0 +1,69 @@ +vnfd: + description: A VNF consisting of 1 VDU with 1 paravirt and 1 passthrough interface + 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-data-ext + int-cpd: + cpd: xe0-int + vdu-id: dataVM + id: epa_1vm_passthrough-vnf + mgmt-cp: vnf-mgmt-ext + product-name: epa_1vm_passthrough-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: xe0-int + virtual-network-interface-requirement: + - name: xe0 + position: 2 + virtual-interface: + type: PCI-PASSTHROUGH + 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: 2 + 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: 4.0 + virtual-storage-desc: + - id: dataVM-storage + size-of-storage: 10 diff --git a/epa_1vm_passthrough_vnf/icons/osm.png b/epa_1vm_passthrough_vnf/icons/osm.png new file mode 100755 index 0000000000000000000000000000000000000000..62012d2a2b491bdcd536d62c3c3c863c0d8c1b33 Binary files /dev/null and b/epa_1vm_passthrough_vnf/icons/osm.png differ