In this section:
When you use Virtual Network Function Manager (VNFM) to deploy SBC SWe in an OpenStack cloud environment you must provide it with a Cloud Service Archive (CSAR) package file that is appropriate for the type of deployment you want to create. The CSAR package includes a Virtual Network Function Descriptor (VNFD) file that defines the characteristics of your deployment. Sonus provides the script createVnfmCsar.py
and a VNFD template file (vnfmSol001VnfdTemplate.yaml
) you can use to create a CSAR file for your deployment.
The script creates one or more CSAR files based on the run-time parameters you specify. Note that the default value for several parameters is "all." If you run the script without specifying any parameters, the script uses its defaults and creates multiple CSAR files for all possible values and combinations for these parameters. Use the run-time parameters to restrict the output and create a CSAR file that is tailored to a specific deployment model.
The following table describes the script run-time parameters.
Complete the following steps to generate a CSAR file:
-p
and -s
parameters are required. All other parameters are optional, but including a specific value for the -f
, -h
, -i
, and --personality
parameters ensures you generate a single CSAR file for a single deployment type.
The CSAR script enters a name for the SBC image file in the VNFD file that it derives using the values you specified for the -p
and -s
parameters. The name of the SBC image file (qcow2 file) you upload to Glance must match this name. Using the the values 7.02.00 and R000, the script concatenate these values and prepends the resulting string with sbc-V0
. For this example, VNFM would require the image name to be "sbc-V07.02.00R000".
The following command creates a single CSAR package file for a 1:1 HA S-SBC deployment that uses virtio interfaces:
createVnfmCsar.py -p "7.02.00" -s "R000" -f std -h ha -i virtio --personality ssbc
The following command creates a single CSAR package file for a 3:1 HA M-SBC deployment that uses SR-IOV interfaces:
createVnfmCsar.py -p "7.02.00" -s "R000" -f std -h n_1_ha --num_instances 4 -i sriov --personality msbc
The following command creates a single CSAR package file for a 1:1 HA I-SBC deployment that uses an IPv6 provider network:
createVnfmCsar.py -p "7.02.00" -s "R000" -f std -h ha -i provider --ipv6 --personality isbc
The following command creates three CSAR packages file for 1:1 HA S-SBC deployments – one with virtio, one with SR-IOV, and one with provider interfaces:
createVnfmCsar.py -p "7.02.00" -s "R000" -f std -h ha --personality ssbc