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:

  1. Log on to the OpenStack Dashboard GUI as an admin user.
  2. Click Project > Compute > Images. Click Create Image on the top-right corner.

  3. Provide the following field description in Create An Image screen.
    1. Specify the SBC image name in Image Name.
    2. Enter a description in Image Description.
    3. Click Browse and select the cqow2 image file and click Open
    4. Click Format and select QCOW2 - QEMU Emulator from the list. 
    5. Under Image Sharing, select Public.
    6. 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. 

Glance Image Naming in VNFM Deployments

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