#
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
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
--- /dev/null
+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"
+
--- /dev/null
+#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
+
--- /dev/null
+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'
+
--- /dev/null
+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'
+