Whether you use Heat templates or VNFM to instantiate SBC SWe on OpenStack, you must upload the SBC software qcow2 image to the Glance image repository prior to deploying. Refer to the current release notes for the specific file name of the qcow2 file to download and use the following procedure: Downloading the SBC SWe Software Package.
You can create the required Glance image within your project in OpenStack using the Horizon dashboard GUI screens or using the OpenStack CLI while logged in as an administrator.
To create Glance image:
Click Project > Compute > Images. Click Create Image on the top-right corner.
Click Create Image.
The new Glance image is added to the Images list.
Refer to OpenStack documentation or the documentation provided by your OpenStack vendor for more information on creating a Glance image.
For VNFM deployments, it is mandatory that you name the Glance image to match the name for the image shown in the VNF Descriptor (VNFD) file. The image name in the VNFD file is determined by the run-time values you specify when you run the script to generate a Cloud Service Archive (CSAR) package file prior to orchestration. Refer to Creating a CSAR Package File for SBC SWe on OpenStack for information on running the script and the image name it derives.
To verify the name to use for the Glance image, search for the string: sw_image:
within the VNFD file. The required file name follows a few lines later and is in the general format: sbc-V0
<SBC full version number>
For example, finding the following lines in the VNFD file indicates that the file name to use for the Glance image is sbc-V12.01.01R000.
sw_image: #... #... file: ../Files/sbc-V12.01.01R000