Skip to content
Snippets Groups Projects
Commit c805efd5 authored by chamarty's avatar chamarty
Browse files

Add example multidisk descriptors


Change-Id: Ida74f25d125a98ec2124e65609fe3bb146cfd48c
Signed-off-by: default avatarchamarty <ravi.chamarty@riftio.com>
parent f08794a5
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,8 @@ NSDS := \
sandvine_pts_ns \
sonussbc_ns \
ref1_ns \
ref2_ns
ref2_ns \
ubuntu_cirros_multidisk_ns
NSD_SRC_DIR := src/nsd
NSD_BUILD_DIR := $(BUILD_DIR)/nsd
......@@ -64,7 +65,8 @@ VNFDS := \
ref11_vnf \
ref21_vnf \
ref12_vnf \
ref22_vnf
ref22_vnf \
ubuntu_cirros_multidisk_vnf
VNFD_SRC_DIR := src/vnfd
VNFD_BUILD_DIR := $(BUILD_DIR)/vnfd
......
src/nsd/ubuntu_cirros_multidisk_ns/icons/osm_2x.png

54.6 KiB

nsd:nsd-catalog:
nsd:
- id: ubuntu_cirros_multidisk_nsd
name: ubuntu_cirros_multidisk_nsd
short-name: ubuntu_cirros_multidisk_nsd
description: Generated by OSM pacakage generator
vendor: OSM
version: '1.0'
# Place the logo as png in icons directory and provide the name here
logo: osm_2x.png
# Specify the VNFDs that are part of this NSD
constituent-vnfd:
# The member-vnf-index needs to be unique, starting from 1
# vnfd-id-ref is the id of the VNFD
# Multiple constituent VNFDs can be specified
- member-vnf-index: 1
vnfd-id-ref: ubuntu_cirros_multidisk_vnfd
vld:
# Networks for the VNFs
- id: ubuntu_cirros_multidisk_nsd_vld1
name: management
short-name: management
type: ELAN
vnfd-connection-point-ref:
# Specify the constituent VNFs
- member-vnf-index-ref: 1
vnfd-id-ref: ubuntu_cirros_multidisk_vnfd
# NOTE: Validate the entry below
vnfd-connection-point-ref: eth0
#cloud-config
password: ubuntu
chpasswd: { expire: False }
ssh_pwauth: True
vnfd:vnfd-catalog:
vnfd:
- id: ubuntu_cirros_multidisk_vnfd
name: ubuntu_cirros_multidisk_vnfd
short-name: ubuntu_cirros_multidisk_vnfd
description: Generated by OSM pacakage generator
vendor: OSM
version: '1.0'
# Management interface
mgmt-interface:
vdu-id: ubuntu_cirros_multidisk_vnfd-VM
# Atleast one VDU need to be specified
vdu:
- id: ubuntu_cirros_multidisk_vnfd-VM
name: ubuntu_cirros_multidisk_vnfd-VM
description: ubuntu_cirros_multidisk_vnfd-VM
count: 1
# Flavour of the VM to be instantiated for the VDU
vm-flavor:
vcpu-count: 2
memory-mb: 4096
storage-gb: 10
# User-data injection
cloud-init-file: cloud_init.cfg
external-interface:
# Specify the external interfaces
# There can be multiple interfaces defined
- name: eth0
virtual-interface:
type: OM-MGMT
vnfd-connection-point-ref: eth0
# Specify the volume
# There can be multiple interfaces defined
volumes:
- name: vda
device-type: disk
image: UbuntuXenial
image-checksum: 4a293322f18827af81a9450e3792947c
size: 10
- name: vdb
device-type: disk
image: cirros-0.3.4-x86_64-disk.img
image-checksum: ee1eca47dc88f4879d8a229cc70a07c6
size: 8
connection-point:
- name: eth0
type: VPORT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment