Contents
Managing VNF and PNF packages
A VNF or PNF package is a ZIP archive in which you must place the following components to deploy a network function and manage its lifecycle:
- The VNF/PNF descriptor, a file with parameters of the network function.
- The /image directory, which contains virtual machine images in the QCOW format for deploying the virtual network function. This directory is not included in the PNF package.
- The /scripts directory, which contains scripts for deploying and managing the network function.
- logo.png, the icon of the network function. This component is optional.
- description-file.pdf, technical documentation or specification of the network function. This component is optional.
You must upload the VNF or PNF package to the orchestrator web interface to add a virtual or physical network function to the topology when managing a network service template or network service.
Configuring the VNF descriptor
Specify the settings of the virtual network function in a VNF descriptor in YAML or XML format, then add the VNF descriptor to the root directory of the VNF package. A VNF descriptor has the following structure:
Section/setting |
Description |
|
Name of the virtual network function. |
|
Brief description of the virtual network function. |
|
Name of the PDF file with the technical documentation or specification of the virtual network function. This file must be placed in the root directory of the VNF package. Users can view and download the file in the orchestrator web interface. Optional parameter. |
|
Provider of the virtual network function. |
|
Version of the virtual network function. |
|
External connection points of the virtual network function. You can configure the specified external connection points of the virtual network function in the orchestrator web interface. |
|
Internal connection points of VDUs that are part of the virtual network function. This section is optional. |
|
Virtual links for connecting internal connection points. This section must be specified if you specified the |
|
VDU disk images. You can deploy multiple VDUs using the same VDU disk image. |
|
Scripts for performing actions at various stages of the virtual network function lifecycle, for example, during deployment of the virtual network function. |
|
Flavours of the virtual network function. You can select one of the specified flavours of the virtual network function in the orchestrator web interface. |
|
Virtual network function scaling parameters. This section is optional. |
|
Orchestrator web interface inputs that are added to the settings area of the virtual network function. This section is optional. |
|
Virtual network function backup tasks. This section is optional. |
external_connections
The external_connections
section has the following structure:
Section/setting |
Description |
|
|
Name of the external connection point. |
|
|
|
Brief description of the external connection point. |
|
IP address of the external connection point. Enter a value in the
|
|
|
Subnet mask of the external connection point. Possible values:
|
|
|
IP address of the gateway of the external connection point. Possible values:
Optional parameter. |
|
|
IP address of the DNS server of the external connection point. Possible values:
Optional parameter. |
|
|
The group to which the external connection point belongs. This setting is required if multiple VDUs within the virtual network function use the same external connection point. |
internal_connections
The internal_connections
section has the following structure:
Section/setting |
Description |
|
|
Name of the internal connection point. |
|
|
|
Brief description of the internal connection point. |
|
Name of the virtual link from the |
|
|
IP address of the internal connection point. Possible values:
|
|
|
Subnet mask of the internal connection point. Possible values:
|
|
|
IP address of the gateway of the internal connection point. Possible values:
Optional parameter. |
|
|
IP address of the DNS server of the internal connection point. Possible values:
Optional parameter. |
|
|
The group to which the internal connection point belongs. This setting is required if multiple VDUs within the virtual network function use the same internal connection point. |
virtual_links
The virtual_links
section has the following structure:
Section/setting |
Description |
|
|
Name of the virtual link. |
|
|
|
IPv4 prefix of the virtual link. Enter a value in the XXX.XXX.XXX.XXX/XX format, for example:
|
|
Version of IP addresses in the subnet. Possible values:
|
images
The images
section has the following structure:
Section/setting |
Description |
|
|
Name of the VDU disk image. |
|
|
|
Container format of the VDU disk image. |
|
Format of the VDU disk image. |
|
|
VIM type. |
|
|
File name of the VDU disk image. You must place the VDU disk image in the /image directory of the VNF package. |
configurations
The configurations
section has the following structure:
Section/setting |
Description |
|
|
Name of the script. |
|
|
|
The file name of the script file, Ansible playbook, or user-data attribute for Cloud-init. You must place the script in the /scripts directory of the VNF package. |
|
The stage of operation of the virtual network function at which the script runs. Possible values:
|
|
|
Script interpreter. Possible values:
|
|
|
Method for authenticating the VNFM in the virtual network function for running scripts. Possible values:
|
|
|
Path to files for running scripts using SSH. You need to create a directory in the /scripts directory of the VNF package and place the files in that directory. The files are copied to the VDU. Optional parameter. |
|
|
Using config-drive. Possible values:
This parameter must be specified if as the |
|
|
The time to wait for the script to finish, in seconds. If the script does not finish within the specified time, execution is terminated. The timeout starts at the moment the script is run. You can specify this parameter if you have specified a path to a custom script executor for the |
flavours
The flavours
section has the following structure:
Section/setting |
Description |
|
|
Name of the deployment option. |
|
|
|
Brief description of the flavour. |
|
Sequential number of the flavour. The flavour with the lowest position has the lowest performance. |
|
|
Groups of VDUs hosted on the same OpenStack host. We recommend hosting VDUs that require minimizing communication delays which each other on the same OpenStack host. |
|
|
Groups of VDUs hosted on different OpenStack hosts. We recommend deploying VDUs that may require vertical scaling or high availability on distinct OpenStack hosts. |
|
|
Parameters of VDU administration consoles. |
|
|
VDU settings. |
The affinity
and anti-affinity
sections have the following structure:
Section/setting |
Description |
||
|
VDU groups. |
||
|
|
Name of the VDU group. |
|
|
|
Names of VDUs. Specify a list of values, for example:
|
The management
section has the following structure:
Section/setting |
Description |
||
|
Settings for managing VDUs using the VNC console. |
||
|
|
Name of the VDU. |
|
|
Settings for managing VDUs using the SSH console. |
||
|
|
Name of the VDU. |
|
|
|
User name for establishing the SSH session. |
|
|
Method for authenticating the VNFM in the virtual network function for running scripts. Possible values:
|
||
|
Settings for managing VDUs using the web console. |
||
|
|
Name of the VDU. |
|
|
|
Protocol for connecting to the web console. Possible values:
|
|
|
Port for connecting to the web console. Enter a value in the range of 1 to 65,536. By default, port 80 is used. |
||
|
Path to the web console. |
||
|
User name for authenticating in the web console. |
||
|
Password for authenticating in the web console. |
The vdus
section has the following structure:
Section/setting |
Description |
||||
|
Name of the VDU. |
||||
|
|
VDU password requirements. This section is optional. |
|||
|
|
Minimum length of the password. |
|||
|
Users must use uppercase characters in the password. Possible values:
|
||||
|
Users must use lowercase characters in the password. Possible values:
|
||||
|
Users must use numerals in the password. Possible values:
|
||||
|
Whether users must use special characters in the password, such as:
|
||||
|
Minimum number of special characters that must be present in the password. |
||||
|
Type of VDU availability test performed during deployment. By default, an SSH test is performed. Possible values:
Optional parameter. |
||||
|
Name of the Zabbix template for the VDU. |
||||
|
Monitoring type of the virtual network function. Possible values:
|
||||
|
Port number for establishing an SSH session. Optional parameter. |
||||
|
Names of scripts from the
|
||||
|
Names of backup tasks from the
This section is optional. |
||||
|
User name for authenticating the VNFM in the virtual network function. Optional parameter. |
||||
|
Password for authenticating the VNFM in the virtual network function. Optional parameter. |
||||
|
Password authentication of the VNFM in the virtual network function. Possible values:
Optional parameter. |
||||
|
Parameters of VDU virtual disks. |
||||
|
|
Name of the VDU virtual disk. |
|||
|
|
Mounting order of the VDU virtual disk. |
|||
|
Type of the ephemeral OpenStack disk. |
||||
|
Name of the VDU virtual disk image from the Optional parameter if you are creating a blank VDU disk. |
||||
|
Size of the VDU virtual disk in gigabytes. |
||||
|
VDU CPU parameters. |
||||
|
|
Simultaneous multithreading requirements for VDU deployment. Possible values:
|
|||
|
Use of CPU pinning. Possible values:
|
||||
|
Number of CPU cores pinned to the VDU. |
||||
|
VDU RAM settings. |
||||
|
|
Amount of VDU RAM in megabytes. |
|||
|
Size of memory pages when deploying the VDU. Possible values:
|
||||
|
Network interface settings |
||||
|
|
Name of the network interface. |
|||
|
|
Type of the network interface. Possible values:
|
|||
|
|
Brief description of the network interface. |
|||
|
Name of the external connection point from the |
||||
|
Whether is used. Possible values:
Optional parameter. |
||||
|
Advanced settings of the network interface. |
||||
|
|
vNIC type of the network interface. Possible values:
|
|||
|
VDU auto-healing parameters. |
||||
|
|
External triggers that initiate VDU auto-healing. Possible values:
|
|||
|
External triggers. |
||||
|
|
Name of the external trigger. Possible values:
|
|||
|
Action to perform when an external trigger is triggered. |
||||
|
|
Type of action. Possible values:
|
|||
|
Name of the script from the This parameter must be specified if as the |
||||
|
SSH availability timeout during VDU deployment, in seconds. If the VDU is not available over SSH after the specified timeout expires, the deployment is rolled back. Optional parameter. |
scaling
The scaling
section has the following structure:
Parameter |
Description |
|
Horizontal scaling to a scaling option with a lower sequential number. Possible values:
|
|
Horizontal scaling to a scaling option with a higher sequential number. Possible values:
|
|
Vertical scaling to a scaling option with a lower sequential number. Possible values:
|
|
Vertical scaling to a scaling option with a higher sequential number. Possible values:
|
user_configurations
The user_configurations
section has the following structure:
Section/setting |
Description |
|||
|
Tabs that are added to the settings area of the virtual network function. |
|||
|
Name of the tab. |
|||
|
|
Orchestrator web interface inputs that are displayed on the tab. |
||
|
Name of the orchestrator web interface input. |
|||
|
|
Brief description of the orchestrator web interface input. |
||
|
Type of the orchestrator web interface input. Possible values:
|
|||
|
Default value of the field. You can specify this parameter if as the |
|||
|
The options that are displayed in the drop-down list. This setting can be specified if as the |
|||
|
The name of the value. |
|||
|
|
Default value. Possible values:
Optional parameter. |
||
|
Required orchestrator web interface input. Possible values:
Optional parameter. |
|||
|
The type of value that can be specified in the orchestrator web interface input. Optional parameter. |
|||
|
A tooltip that is displayed when the value of the orchestrator web interface input changes. Optional parameter. |
|||
|
Names of scripts from the
|
backups
The backups
section has the following structure:
Section/setting |
Description |
||
|
Name of the backup task. |
||
|
|
Brief description of the backup task. |
|
|
Backup parameters. |
||
|
|
Path to the virtual network function directory where the files that you want to backup are located. |
|
|
Time interval in seconds for backup. |
||
|
Number of backup copies to keep. |
||
|
Type of backup. |
||
|
Method for authenticating the VNFM in the virtual network function for running scripts. Possible values:
|
||
|
Name of the script from the |
||
|
Backup restoration parameters. |
||
|
|
Path to the virtual network function directory where the restored files are placed. |
|
|
Type of backup. |
||
|
Method for authenticating the VNFM in the virtual network function for running scripts. Possible values:
|
||
|
Name of the script from the |
Configuring the PNF descriptor
Specify the settings of the physical network function in a PNF descriptor in YAML or XML format, then add the PNF descriptor to the root directory of the PNF package. A PNF descriptor has the following structure:
Section/setting |
Description |
|
Name of the physical network function. |
|
Brief description of the physical network function. |
|
Name of the PDF file with the technical documentation or specification of the physical network function. This file must be placed in the root directory of the PNF package. Users can view and download the file in the orchestrator web interface. Optional parameter. |
|
Provider of the physical network function. |
|
Version of the physical network function. |
|
External connection points of the physical network function. |
|
Internal connection points of VDUs that are part of the physical network function. This section is optional. |
|
Scripts for performing actions at various stages of the physical network function lifecycle, for example, during deployment of the physical network function. |
|
Flavours of the physical network function. You can select one of the specified flavours of the physical network function in the orchestrator web interface. |
|
Physical network function scaling parameters. This section is optional. |
|
Orchestrator web interface inputs that are added to the settings area of the physical network function. This section is optional. |
|
Physical network function backup tasks. This section is optional. |
external_connections
The external_connections
section has the following structure:
Section/setting |
Description |
|
|
Name of the external connection point. |
|
|
|
Brief description of the external connection point. |
|
IP address of the external connection point. Enter a value in the
|
|
|
Subnet mask of the external connection point. Possible values:
|
|
|
IP address of the gateway of the external connection point. Possible values:
Optional parameter. |
|
|
IP address of the DNS server of the external connection point. Possible values:
Optional parameter. |
|
|
The group to which the external connection point belongs. This setting is required if multiple VDUs within the physical network function use the same external connection point. |
internal_connections
The internal_connections
section has the following structure:
Section/setting |
Description |
|
|
Name of the internal connection point. |
|
|
|
Brief description of the internal connection point. |
|
IP address of the internal connection point. Possible values:
|
|
|
Subnet mask of the internal connection point. Possible values:
|
|
|
IP address of the gateway of the internal connection point. Possible values:
Optional parameter. |
|
|
IP address of the DNS server of the internal connection point. Possible values:
Optional parameter. |
|
|
The group to which the internal connection point belongs. This setting is required if multiple VDUs within the physical network function use the same internal connection point. |
configurations
The configurations
section has the following structure:
Section/setting |
Description |
|
|
Name of the script. |
|
|
|
File name of the script or Ansible playbook. You must place the script in the /scripts directory of the PNF package. |
|
The stage of operation of the physical network function at which the script runs. Possible values:
|
|
|
Script interpreter. Possible values:
|
|
|
Method for authenticating the VNFM in the physical network function for running scripts. Possible values:
|
|
|
Path to files for running scripts using SSH. You need to create a directory in the /scripts directory of the PNF package and place the files in that directory. The files are copied to the VDU. Optional parameter. |
|
|
The time to wait for the script to finish, in seconds. If the script does not finish within the specified time, execution is terminated. The timeout starts at the moment the script is run. You can specify this parameter if you have specified a path to a custom script executor for the |
flavours
The flavours
section has the following structure:
Section/setting |
Description |
|
|
Name of the deployment option. |
|
|
|
Brief description of the flavour. |
|
Sequential number of the flavour. The flavour with the lowest position has the lowest performance. |
|
|
Parameters of VDU administration consoles. |
|
|
VDU settings. |
The management
section has the following structure:
Section/setting |
Description |
||
|
Settings for managing VDUs using the SSH console. |
||
|
|
Name of the VDU. |
|
|
|
User name for establishing the SSH session. |
|
|
Method for authenticating the VNFM in the physical network function for running scripts. Possible values:
|
||
|
Settings for managing VDUs using the web console. |
||
|
|
Name of the VDU. |
|
|
|
Protocol for connecting to the web console. Possible values:
|
|
|
Port for connecting to the web console. Enter a value in the range of 1 to 65,536. By default, port 80 is used. |
||
|
Path to the web console. |
||
|
User name for authenticating in the web console. |
||
|
Password for authenticating in the web console. |
The vdus
section has the following structure:
Section/setting |
Description |
|||
|
Name of the VDU. |
|||
|
|
VDU password requirements. This section is optional. |
||
|
|
Minimum length of the password. |
||
|
Users must use uppercase characters in the password. Possible values:
|
|||
|
Users must use lowercase characters in the password. Possible values:
|
|||
|
Users must use numerals in the password. Possible values:
|
|||
|
Whether users must use special characters in the password, such as:
|
|||
|
Minimum number of special characters that must be present in the password. |
|||
|
Type of VDU availability test performed during deployment. By default, an SSH test is performed. Possible values:
Optional parameter. |
|||
|
Name of the Zabbix template for the VDU. |
|||
|
Monitoring type of the physical network function. Possible values:
|
|||
|
Port number for establishing an SSH session. Optional parameter. |
|||
|
Names of scripts from the
|
|||
|
Names of backup tasks from the
This section is optional. |
|||
|
User name for authenticating the VNFM in the physical network function. Optional parameter. |
|||
|
Password for authenticating the VNFM in the physical network function. Optional parameter. |
|||
|
Password authentication of the VNFM in the physical network function. Possible values:
Optional parameter. |
|||
|
Network interface settings |
|||
|
|
Name of the network interface. |
||
|
|
Type of the network interface. Possible values:
|
||
|
Brief description of the network interface. |
|||
|
Name of the external connection point from the |
|||
|
VDU auto-healing parameters. |
|||
|
|
External triggers that initiate VDU auto-healing. Possible values:
|
||
|
External triggers. |
|||
|
|
Name of the external trigger. Possible values:
|
||
|
Action to perform when an external trigger is triggered. |
|||
|
|
Type of action. Possible values:
|
||
|
Name of the script from the This parameter must be specified if as the |
scaling
The scaling
section has the following structure:
Parameter |
Description |
|
Vertical scaling to a scaling option with a lower sequential number. Possible values:
|
|
Vertical scaling to a scaling option with a higher sequential number. Possible values:
|
user_configurations
The user_configurations
section has the following structure:
Section/setting |
Description |
|||
|
Tabs that are added to the settings area of the physical network function. |
|||
|
Name of the tab. |
|||
|
|
Orchestrator web interface inputs that are displayed on the tab. |
||
|
Name of the orchestrator web interface input. |
|||
|
|
Brief description of the orchestrator web interface input. |
||
|
Type of the orchestrator web interface input. Possible values:
|
|||
|
Default value of the field. You can specify this parameter if as the |
|||
|
The options that are displayed in the drop-down list. This setting can be specified if as the |
|||
|
The name of the value. |
|||
|
|
Default value. Possible values:
Optional parameter. |
||
|
Required orchestrator web interface input. Possible values:
Optional parameter. |
|||
|
The type of value that can be specified in the orchestrator web interface input. Optional parameter. |
|||
|
A tooltip that is displayed when the value of the orchestrator web interface input changes. Optional parameter. |
|||
|
Names of scripts from the
|
backups
The backups
section has the following structure:
Section/setting |
Description |
||
|
Name of the backup task. |
||
|
|
Brief description of the backup task. |
|
|
Backup parameters. |
||
|
|
Path to the physical network function directory where the files that you want to backup are located. |
|
|
Time interval in seconds for backup. |
||
|
Number of backup copies to keep. |
||
|
Type of backup. |
||
|
Method for authenticating the VNFM in the physical network function for running scripts. Possible values:
|
||
|
Name of the script from the |
||
|
Backup restoration parameters. |
||
|
|
Path to the physical network function directory where the restored files are placed. |
|
|
Type of backup. |
||
|
Method for authenticating the VNFM in the physical network function for running scripts. Possible values:
|
||
|
Name of the script from the |
Protection of VNF and PNF packages against substitution and modification
Some VNF and PNF package files are placed in the local directory of the Docker container of the orchestrator, and you can protect them against substitution and modification. When VNF and PNF packages are protected, the orchestrator automatically computes their SHA256 hash when they are uploaded to the orchestrator web interface. When accessing files in the local directory of the Docker container, the orchestrator compares their current SHA256 hash with the previously saved hash. If the SHA256 hashes do not match, the orchestrator prevents users from performing actions with the network function, such as adding it to the topology of a network service.
To protect of VNF and PNF packages against substitution and modification:
- In the lower part of the menu, click the settings icon
→ Storage security.
- This opens a window, in that window, select the Calculate hash sum SHA256 for VNF/PNF files on storage check box. This check box is cleared by default.
VNF and PNF packages are protected against substitution and modification.
Page topUploading a VNF or PNF package to the orchestrator web interface
To upload a VNF or PNF package to the orchestrator web interface:
- In the menu, go to the Catalog section.
The network service management page is displayed.
- In the upper part of the page, click + VNF or + PNF.
- This opens a window; in that window, select the VNF or PNF package.
- If you want to check the integrity of the VNF or PNF package, enter its SHA256 hash in the Hash sum SHA256 field. Maximum length: 64 characters.
- Click Save.
The VNF or PNF package is uploaded to the orchestrator web interface. The VNF or PNF is displayed in the Catalog pane. If you entered a SHA256 hash of a VNF or PNF package, the orchestrator compares the hash you entered with the actual SHA256 hash. If the SHA256 hashes do not match, the VNF or PNF package is not uploaded.