From: chamarty Date: Fri, 20 Jan 2017 02:16:38 +0000 (+0000) Subject: Sonus SBC VNFD/NSD X-Git-Tag: v1.1.0^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F994%2F1;p=osm%2Fdescriptor-packages.git Sonus SBC VNFD/NSD Signed-off-by: chamarty --- diff --git a/Makefile b/Makefile index cea5e22..f41ed9f 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # BUILD_DIR = build -NSDS := gw_corpa_ns ims_allin1_corpa mwc16_gen_ns mwc16_pe_ns VyOS_ns cirros_ns cirros_2vnf_ns ubuntu_xenial_ns ping_pong_ns knt_flownac_ns knt_flownac-us_ns sandvine_pts_ns +NSDS := gw_corpa_ns ims_allin1_corpa mwc16_gen_ns mwc16_pe_ns VyOS_ns cirros_ns cirros_2vnf_ns ubuntu_xenial_ns ping_pong_ns knt_flownac_ns knt_flownac-us_ns sandvine_pts_ns sonussbc_ns NSD_SRC_DIR := src/nsd NSD_BUILD_DIR := $(BUILD_DIR)/nsd @@ -27,7 +27,7 @@ NSD_BUILD_DIRS := $(addprefix $(NSD_BUILD_DIR)/, $(NSDS)) NSD_PKGS := $(addsuffix .tar.gz, $(NSDS)) NSD_BUILD_PKGS := $(addprefix $(NSD_BUILD_DIR)_pkgs/, $(NSD_PKGS)) -VNFDS := 6wind_vnf gw_corpa_pe1_vnf gw_corpa_pe2_vnf ims_allin1_2p_vnf tidgen_mwc16_vnf VyOS_vnf cirros_vnf ubuntu_xenial_vnf ping_vnf pong_vnf knt_fnc_vnf knt_fne_vnf knt_fnu_vnf knt_fnd_vnf sandvine_pts_vnf +VNFDS := 6wind_vnf gw_corpa_pe1_vnf gw_corpa_pe2_vnf ims_allin1_2p_vnf tidgen_mwc16_vnf VyOS_vnf cirros_vnf ubuntu_xenial_vnf ping_vnf pong_vnf knt_fnc_vnf knt_fne_vnf knt_fnu_vnf knt_fnd_vnf sandvine_pts_vnf sonus_sbc_vnf sonus_test_vnf VNFD_SRC_DIR := src/vnfd VNFD_BUILD_DIR := $(BUILD_DIR)/vnfd diff --git a/src/nsd/sonussbc_ns/sonussbc_nsd.yaml b/src/nsd/sonussbc_ns/sonussbc_nsd.yaml new file mode 100644 index 0000000..8aaca8f --- /dev/null +++ b/src/nsd/sonussbc_ns/sonussbc_nsd.yaml @@ -0,0 +1,55 @@ +nsd:nsd-catalog: + nsd:nsd: + nsd:constituent-vnfd: + - nsd:member-vnf-index: '1' + nsd:vnfd-id-ref: Sonussbc_vnfd + - nsd:member-vnf-index: '2' + nsd:vnfd-id-ref: Sonustest_vnfd + nsd:description: Sonus SBC NS + nsd:id: Sonussbc_nsd + nsd:name: Sonussbc_nsd + nsd:short-name: Sonussbc_nsd + nsd:vendor: Sonus + nsd:version: '1.0' + nsd:vld: + - + id: "vld-mgmt" + name: "vld-mgmt" + vnfd-connection-point-ref: + - + member-vnf-index-ref: 1 + vnfd-id-ref: Sonussbc_vnfd + vnfd-connection-point-ref: "1mgmt" + - + member-vnf-index-ref: 2 + vnfd-id-ref: Sonustest_vnfd + vnfd-connection-point-ref: "mgmt" + - + id: "vld-1" + name: "vld-1" + vnfd-connection-point-ref: + - + member-vnf-index-ref: 1 + vnfd-id-ref: Sonussbc_vnfd + vnfd-connection-point-ref: "2ha" + - + id: "vld-2" + name: "vld-2" + vnfd-connection-point-ref: + - + member-vnf-index-ref: 1 + vnfd-id-ref: Sonussbc_vnfd + vnfd-connection-point-ref: "3pkt0" + - + member-vnf-index-ref: 2 + vnfd-id-ref: Sonustest_vnfd + vnfd-connection-point-ref: "pkt0" + - + id: "vld-3" + name: "vld-3" + vnfd-connection-point-ref: + - + member-vnf-index-ref: 1 + vnfd-id-ref: Sonussbc_vnfd + vnfd-connection-point-ref: "4pkt1" + diff --git a/src/vnfd/sonus_sbc_vnf/cloud_init/cloud_init1.txt b/src/vnfd/sonus_sbc_vnf/cloud_init/cloud_init1.txt new file mode 100644 index 0000000..f9a3372 --- /dev/null +++ b/src/vnfd/sonus_sbc_vnf/cloud_init/cloud_init1.txt @@ -0,0 +1,16 @@ +#cloud-config +write_files: +- content: | + { + "CERole" : "ACTIVE", + "CEName" : "sbc01", + "SystemName" : "vsbcSystem", + "SbcPersonalityType" : "isbc", + "EmsUsername" : "restuser", + "EmsPassword" : "sonus123", + "EmsIP" : "10.0.217.14", + "EmsDownloadConfig" : "False", + "EmsPrivateNodeParameters" : { "cluster_id": "cluster01", "vnfc_id":"cluster01" } + } + path: /opt/sonus/userData.json + diff --git a/src/vnfd/sonus_sbc_vnf/sonus_sbc_vnfd.yaml b/src/vnfd/sonus_sbc_vnf/sonus_sbc_vnfd.yaml new file mode 100644 index 0000000..a078d1d --- /dev/null +++ b/src/vnfd/sonus_sbc_vnf/sonus_sbc_vnfd.yaml @@ -0,0 +1,47 @@ +vnfd:vnfd-catalog: + vnfd:vnfd: + - vnfd:description: This is a Sonus SBC VNF + vnfd:id: Sonussbc_vnfd + vnfd:mgmt-interface: + vnfd:vdu-id: iovdu_0 + vnfd:name: Sonussbc_vnfd + vnfd:short-name: Sonussbc_vnfd + vnfd:connection-point: + - vnfd:name: "1mgmt" + vnfd:type: "VPORT" + - vnfd:name: "2ha" + vnfd:type: "VPORT" + - vnfd:name: "3pkt0" + vnfd:type: "VPORT" + - vnfd:name: "4pkt1" + vnfd:type: "VPORT" + vnfd:vdu: + vnfd:count: '1' + vnfd:id: iovdu_0 + vnfd:name: iovdu_0 + vnfd:cloud-init-file: cloud_init1.txt + vnfd:image: sbc-V05.01.00A624-connexip-os_03.01.00-A624_amd64-cloud.qcow2 + vnfd:vm-flavor: + vnfd:memory-mb: '10240' + vnfd:storage-gb: '80' + vnfd:vcpu-count: '4' + vnfd:external-interface: + - vnfd:name: "1mgmt" + vnfd:vnfd-connection-point-ref: "1mgmt" + vnfd:virtual-interface: + vnfd:type: "OM_MGMT" + - vnfd:name: "2ha" + vnfd:vnfd-connection-point-ref: "2ha" + vnfd:virtual-interface: + vnfd:type: "VIRTIO" + - vnfd:name: "3pkt0" + vnfd:vnfd-connection-point-ref: "3pkt0" + vnfd:virtual-interface: + vnfd:type: "VIRTIO" + - vnfd:name: "4pkt1" + vnfd:vnfd-connection-point-ref: "4pkt1" + vnfd:virtual-interface: + vnfd:type: "VIRTIO" + vnfd:vendor: Sonus + vnfd:version: '1.0' + diff --git a/src/vnfd/sonus_test_vnf/sonus_test_vnfd.yaml b/src/vnfd/sonus_test_vnf/sonus_test_vnfd.yaml new file mode 100644 index 0000000..59bfb48 --- /dev/null +++ b/src/vnfd/sonus_test_vnf/sonus_test_vnfd.yaml @@ -0,0 +1,34 @@ +vnfd:vnfd-catalog: + vnfd:vnfd: + - vnfd:description: This is a Sonus Test VNF + vnfd:id: Sonustest_vnfd + vnfd:mgmt-interface: + vnfd:vdu-id: iovdu_0 + vnfd:name: Sonustest_vnfd + vnfd:short-name: Sonustest_vnfd + vnfd:connection-point: + - vnfd:name: "mgmt" + vnfd:type: "VPORT" + - vnfd:name: "pkt0" + vnfd:type: "VPORT" + vnfd:vdu: + vnfd:count: '1' + vnfd:id: iovdu_0 + vnfd:name: iovdu_0 + vnfd:image: VMSipp-RR-Master.qcow2 + vnfd:vm-flavor: + vnfd:memory-mb: '4096' + vnfd:storage-gb: '20' + vnfd:vcpu-count: '2' + vnfd:external-interface: + - vnfd:name: "mgmt" + vnfd:vnfd-connection-point-ref: "mgmt" + vnfd:virtual-interface: + vnfd:type: "OM_MGMT" + - vnfd:name: "pkt0" + vnfd:vnfd-connection-point-ref: "pkt0" + vnfd:virtual-interface: + vnfd:type: "VIRTIO" + vnfd:vendor: Sonus + vnfd:version: '1.0' +