5.2.5.1. {vm-type}

Requirement: R-01455
updated: dublin
validation_mode: static
target: VNF
keyword: MUST

When a VNF’s Heat Orchestration Template creates a Virtual Machine (i.e., OS::Nova::Server), each “class” of VMs MUST be assigned a VNF unique {vm-type}; where “class” defines VMs that MUST have the following identical characteristics:

1.) OS::Nova::Server resource property flavor value

2.) OS::Nova::Server resource property image value

3.) Cinder Volume attachments

  • Each VM in the “class” MUST have the identical Cinder Volume configuration

4.) Network attachments and IP address requirements

  • Each VM in the “class” MUST have the identical number of ports connecting to the identical networks and requiring the identical IP address configuration.

The {vm-type} will be used in a VNF’s Heat Orchestration Template’s

  • Resource IDs
  • Resource property parameter names

A VNF’s Heat Orchestration Template’s Resource property parameter that is associated with a unique Virtual Machine type MUST include {vm-type} as part of the parameter name with two exceptions:

1.) The Resource OS::Nova::Server property availability_zone parameter MUST NOT be prefixed with a common {vm-type} identifier,

2.) The Resource OS::Nova::Server mandatory and optional metadata parameters

  • vnf_name
  • vnf_id
  • vf_module_id
  • vf_module_name
  • vf_module_index
  • environment_context
  • workload_context

MUST NOT be prefixed with a common {vm-type} identifier.

Requirements for specific resource property parameter names can be found in later sections of this document.

Requirement: R-98407
updated: casablanca
validation_mode: static
target: VNF
keyword: MUST NOT

A VNF’s Heat Orchestration Template’s {vm-type} MUST contain only alphanumeric characters and/or underscores ‘_’ and MUST NOT contain any of the following strings: _int or int_ or _int_.

Requirement: R-48067
updated: casablanca
validation_mode: static
target: VNF
keyword: MUST NOT

A VNF’s Heat Orchestration Template’s {vm-type} MUST NOT be a substring of {network-role}.

It may cause the VNF Validation Program validation-scripts project to produce erroneous error messages.

Requirement: R-32394
updated: casablanca
validation_mode: static
target: VNF
keyword: MUST

A VNF’s Heat Orchestration Template’s use of {vm-type} in all Resource property parameter names MUST be the same case.

Requirement: R-46839
updated: casablanca
validation_mode: static
target: VNF
keyword: MUST

A VNF’s Heat Orchestration Template’s use of {vm-type} in all Resource IDs MUST be the same case.

Requirement: R-36687
updated: casablanca
target: VNF
keyword: SHOULD

A VNF’s Heat Orchestration Template’s {vm-type} case in Resource property parameter names SHOULD match the case of {vm-type} in Resource IDs and vice versa.