2. Appendix

2.1. List of Requirements with associated Tests

Currently, there VNFs can be packaged as HEAT templates or in a CSAR file using TOSCA. At this stage, there are two different tools used for validating the packages based on the package type:

  • CSAR/TOSCA packages leverage VNFSDK
  • HEAT packages leverage VVP

2.1.1. HEAT Package Validations

This table shows all the requirements within the VNF Requirements project and if they are validated by VVP. If they are validated by VVP, then the test module and test method is provided. This is generated dynamically within the VVP project, where it pulls down the latest JSON from Req List and maps the requirements to the tests in VVP to output this table.

You can download the table here

Note: Tests on the bottom do not map to any requirements.

Note: VVP only validates Heat for Requirements in Chapter 5.

Test Traceability
Requirement ID Section Test Module Test Name
R-36772 type tests.test_heat_template_parameters_contain_required_fields test_heat_template_parameters_contain_required_fields
R-98569 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-96983 {network-role} tests.test_port_resource_ids test_port_resource_ids
R-00977 {network-role} tests.test_nova_servers_vm_types test_vm_type_network_role_collision
R-22838 Property: Name tests.test_environment_file_parameters test_nova_server_name_parameter_doesnt_exist_in_environment_file
R-11441 type tests.test_heat_template_structure test_parameter_type
R-99812 Resource Property “name” tests.test_environment_file_parameters test_non_nova_server_name_parameter_doesnt_exist_in_environment_file
R-40899 Property: Name tests.test_unique_name_resources test_unique_name_resources
R-74304 ONAP Heat Orchestration Template Filenames tests.test_heat_pairs_provided test_heat_pairs_provided
R-03324 Environment File Format tests.test_environment_file_structure test_environment_file_contains_required_sections
R-50011 OS::Heat::ResourceGroup Property count tests.test_environment_file_parameters test_heat_rg_count_parameter_exists_in_environment_file
R-05201 External Networks tests.test_port_resource_ids test_port_resource_ids
R-86182 Property: network tests.test_network_format test_network_format
R-11200 ONAP VNF Modularity Overview tests.test_volume_outputs_consumed test_volume_outputs_consumed
R-11168 {network-role} tests.test_port_resource_ids test_port_resource_ids
R-27818 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-01896 Scope of a Heat Orchestration Template tests.test_no_unused_parameters_between_env_and_templates test_no_unused_parameters_between_env_and_templates
R-26351 OS::Neutron::Port tests.test_port_resource_ids test_port_resource_ids
R-29872 Property: network tests.test_environment_file_parameters test_nova_server_network_parameter_doesnt_exist_in_environment_file
R-99646 ONAP Heat Orchestration Template Filenames tests.test_get_file_only_reference_local_files test_get_file_only_reference_local_files
R-98450 Property: availability_zone tests.test_availability_zone test_availability_zone_naming
R-57282 Property: image tests.test_nova_servers_resource_ids test_nova_servers_valid_resource_ids
R-37028 ONAP VNF Modularity Overview tests.test_base_template_names test_base_template_names
R-51430 Property: Name tests.test_nova_servers_vm_types test_nova_server_name_parameter
R-81725 ONAP VNF Modularity Overview tests.test_env_and_yaml_same_name test_env_and_yaml_same_name
R-83412 VIP Assignment, External Networks, Supported by Automation tests.test_environment_file_parameters test_neutron_port_aap_ip_parameter_doesnt_exist_in_environment_file
R-91125 Property: image tests.test_environment_file_parameters test_nova_server_image_parameter_exists_in_environment_file
R-80829 Property: fixed_ips, Map Property: subnet_id tests.test_environment_file_parameters test_neutron_port_fixedips_subnet_parameter_doesnt_exist_in_environment_file
R-90206 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-74978 workload_context tests.test_nova_servers_workload_context test_workload_context
R-87485 ONAP Heat Orchestration Template Filenames tests.test_base_template_names test_base_template_names
R-35414 parameters tests.test_heat_template_structure test_heat_template_structure_contains_parameters
R-11690 Resource IDs tests.test_nova_servers_index test_indices
R-81339 Base Modules tests.test_base_template_names test_base_template_names
R-90279 parameters tests.test_no_unused_parameters_between_env_and_templates test_no_unused_parameters_between_env_and_templates
R-95303 YAML Format tests.test_initial_configuration test_00_valid_yaml
R-75141 resource ID tests.test_resource_ids_alphanumeric_only test_alphanumeric_resource_ids_only
R-36542 vnf_name tests.test_environment_file_parameters test_nova_server_vnf_name_parameter_doesnt_exist_in_environment_file
R-55218 vnf_id tests.test_required_parameters_no_constraints test_required_parameters_no_constraints
R-20308 environment_context tests.test_nova_servers_environment_context test_environment_context
R-67231 Environment File Format tests.test_env_no_resource_registry test_env_no_resource_registry
R-46839 {vm-type} tests.test_vm_type_resource_id test_vm_type_resource_id
R-54171 Property: Name tests.test_nova_servers_vm_types test_nova_server_name_parameter
R-76057 Nested Heat file tests.test_base_template_names test_base_template_names
R-92193 External Networks tests.test_environment_file_parameters test_network_fqdn_parameter_doesnt_exist_in_environment_file
R-41492 VIP Assignment, External Networks, Supported by Automation tests.test_allowed_address_pairs_include_vm_type_network_role test_allowed_address_pairs_include_vm_type_network_role
R-38474 ONAP VNF Modularity Overview tests.test_env_and_yaml_same_name test_env_and_yaml_same_name
R-07443 ONAP Volume Module Output Parameters tests.test_volume_outputs_consumed test_volume_outputs_consumed
R-98407 {vm-type} tests.test_vm_type_syntax test_vm_type_syntax
R-26506 {network-role} tests.test_port_resource_ids test_port_resource_ids
R-71493 vf_module_id tests.test_servers_have_required_metadata test_servers_have_required_metadata
R-93177 Property: network tests.test_network_format_use_get_param_or_get_resource test_network_format_use_get_param_or_get_resource
R-59568 Property: availability_zone tests.test_environment_file_parameters test_nova_server_az_parameter_doesnt_exist_in_environment_file
R-25877 <param name> tests.test_heat_parameter_section test_parameter_names
R-80374 vf_module_name tests.test_environment_file_parameters test_nova_server_vf_module_name_parameter_doesnt_exist_in_environment_file
R-30804 OS::Heat::MultipartMime tests.test_multipart_mime_resource_id test_multipart_mime
R-87817 Property: Name tests.test_nova_servers_vm_types test_nova_server_name_parameter
R-97201 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-39402 description tests.test_heat_template_structure test_heat_template_structure_contains_description
R-91342 Base Modules tests.test_heat_pairs_provided test_heat_pairs_provided
R-72871 vf_module_id tests.test_environment_file_parameters test_nova_server_vf_module_id_parameter_doesnt_exist_in_environment_file
R-97199 metadata tests.test_servers_metadata_use_get_param test_servers_metadata_use_get_param
R-85235 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-72483 vnf_name tests.test_servers_have_required_metadata test_servers_have_required_metadata
R-71152 Property: image tests.test_nova_servers_vm_types test_nova_server_image_parameter
R-56438 ONAP Heat Orchestration Template Filenames tests.test_heat_pairs_provided test_heat_pairs_provided
R-23664 resources tests.test_heat_template_structure test_heat_template_structure_contains_resources
R-78380 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-22288 Property: fixed_ips, Map Property: subnet_id tests.test_environment_file_parameters test_neutron_port_fixedips_subnet_parameter_doesnt_exist_in_environment_file
R-71577 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-37437 vnf_id tests.test_servers_have_required_metadata test_servers_have_required_metadata
R-93030 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-87247 Incremental Modules tests.test_base_template_names test_base_template_names
R-44001 description tests.test_heat_template_parameters_contain_required_fields test_heat_template_parameters_contain_required_fields
R-83418 VIP Assignment, External Networks, Supported by Automation tests.test_environment_file_parameters test_neutron_port_aap_ip_parameter_doesnt_exist_in_environment_file
R-39841 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-44318 vnf_name tests.test_required_parameters_no_constraints test_required_parameters_no_constraints
R-69431 Property: flavor tests.test_environment_file_parameters test_nova_server_flavor_parameter_exists_in_environment_file
R-88863 constraints tests.test_heat_numeric_parameters test_numeric_parameter
R-48067 {vm-type} tests.test_nova_servers_vm_types test_vm_type_network_role_collision
R-86285 Environment File Format tests.test_heat_pairs_provided test_heat_pairs_provided
R-83677 Property: fixed_ips, Map Property: subnet_id tests.test_environment_file_parameters test_neutron_port_fixedips_subnet_parameter_doesnt_exist_in_environment_file
R-20453 OS::Neutron::Port tests.test_port_resource_ids test_port_resource_ids
R-16447 resource ID tests.test_unique_resources_across_all_templates test_unique_resources_across_all_yaml_files
R-50436 Property: flavor tests.test_nova_servers_vm_types test_nova_server_flavor_parameter
R-82732 Cinder Volume Modules tests.test_volume_outputs_consumed test_volume_module_name_matches_incremental_or_base_module
R-69634 Property: fixed_ips, Map Property: subnet_id tests.test_environment_file_parameters test_neutron_port_fixedips_subnet_parameter_doesnt_exist_in_environment_file
R-40499 Property: flavor tests.test_nova_servers_resource_ids test_nova_servers_valid_resource_ids
R-98374 vf_module_id tests.test_required_parameters_no_constraints test_required_parameters_no_constraints
R-84322 {network-role} tests.test_port_resource_ids test_port_resource_ids
R-93496 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-20856 vnf_id tests.test_environment_file_parameters test_nova_server_vnf_id_parameter_doesnt_exist_in_environment_file
R-68936 Internal Networks tests.test_port_resource_ids test_port_resource_ids
R-31141 Cinder Volume Modules tests.test_heat_pairs_provided test_heat_pairs_provided
R-98905 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-76682 Interface Route Table Prefixes for Contrail InterfaceRoute Table tests.test_environment_file_parameters test_contrail_route_prefixes_parameter_doesnt_exist_in_environment_file
R-62590 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-69014 External Networks tests.test_port_resource_ids test_port_resource_ids
R-04747 OS::Heat::CloudConfig tests.test_cloud_config_resource_id test_cloud_config
R-29765 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-45188 Property: flavor tests.test_nova_servers_vm_types test_nova_server_flavor_parameter
R-27078 heat_template_version tests.test_heat_template_structure test_heat_template_structure_contains_heat_template_version
R-53433 ONAP VNF Modularity Overview tests.test_env_and_yaml_same_name test_env_and_yaml_same_name
R-94509 Incremental Modules tests.test_heat_pairs_provided test_heat_pairs_provided
R-26124 default tests.test_no_unused_parameters_between_env_and_templates test_no_unused_parameters_between_env_and_templates
R-87123 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-02691 workload_context tests.test_environment_file_parameters test_nova_server_workload_context_parameter_doesnt_exist_in_environment_file
R-62983 Property: network tests.test_network_format test_network_format
R-40971 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-00011 constraints tests.test_nested_parameters test_nested_parameter
R-98748 VIP Assignment, External Networks, Supported by Automation tests.test_allowed_address_pairs_include_vm_type_network_role test_allowed_address_pairs_include_vm_type_network_role
R-34037 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-90526 default tests.test_heat_parameter_section test_default_values
R-23503 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-13194 environment_context tests.test_environment_file_parameters test_nova_server_environment_context_parameter_doesnt_exist_in_environment_file
R-04697 Property: fixed_ips, Map Property: ip_address tests.test_fixed_ips_include_vm_type_network_role test_fixed_ips_include_vm_type_network_role
R-28795 Property: fixed_ips, Map Property: ip_address tests.test_environment_file_parameters test_neutron_port_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file
R-32025 Internal Networks tests.test_port_resource_ids test_port_resource_ids
R-35735 VIP Assignment, External Networks, Supported by Automation tests.test_allowed_address_pairs_include_vm_type_network_role test_allowed_address_pairs_include_vm_type_network_role
    tests.test_initial_configuration test_02_all_referenced_resources_exists
    tests.test_initial_configuration test_02_all_referenced_resources_exists
    tests.test_initial_configuration test_01_valid_nesting
    tests.test_initial_configuration test_01_valid_nesting
    tests.test_initial_configuration test_03_all_get_param_have_defined_parameter
    tests.test_initial_configuration test_03_all_get_param_have_defined_parameter
    tests.test_nova_servergroup_policies test_nova_servergroup_policies
    tests.test_nova_servergroup_policies test_nova_servergroup_policies
    tests.test_nova_servers_vm_types_use_get_param test_vm_type_assignments_on_nova_servers_only_use_get_param
    tests.test_nova_servers_vm_types_use_get_param test_vm_type_assignments_on_nova_servers_only_use_get_param
    tests.test_nova_servers_vm_types_use_get_param test_vm_type_assignments_on_nova_servers_only_use_get_param
    tests.test_required_parameters_specified_in_env_files test_required_parameters_provided_in_env_file
    tests.test_required_parameters_specified_in_env_files test_required_parameters_provided_in_env_file
    tests.test_required_parameters_specified_in_env_files test_required_parameters_provided_in_env_file
    tests.test_required_parameters_specified_in_heat_templates test_required_parameters_provided_in_heat_template
    tests.test_required_parameters_specified_in_heat_templates test_required_parameters_provided_in_heat_template
    tests.test_required_parameters_specified_in_heat_templates test_required_parameters_provided_in_heat_template
    tests.test_servers_have_optional_metadata test_servers_have_optional_metadata
    tests.test_servers_have_optional_metadata test_servers_have_optional_metadata
    tests.test_servers_have_optional_metadata test_servers_have_optional_metadata
    tests.test_servers_have_optional_metadata test_servers_have_optional_metadata
    tests.test_servers_have_optional_metadata test_servers_have_optional_metadata
    tests.test_servers_have_optional_metadata test_servers_have_optional_metadata
    tests.test_servers_have_optional_metadata test_servers_have_optional_metadata
    tests.test_subnet_format test_subnet_format
    tests.test_subnet_format test_subnet_format
    tests.test_subnet_format test_subnet_format
    tests.test_subnet_format_use_get_param_or_get_resource test_subnet_format_use_get_param_or_get_resource
    tests.test_subnet_format_use_get_param_or_get_resource test_subnet_format_use_get_param_or_get_resource
    tests.test_subnet_format_use_get_param_or_get_resource test_subnet_format_use_get_param_or_get_resource
    tests.test_unique_name_str_replace_use_params_in_tmpl test_unique_name_str_replace_use_req_params_in_tmpl
    tests.test_unique_name_str_replace_use_params_in_tmpl test_unique_name_str_replace_use_req_params_in_tmpl
    tests.test_unique_name_str_replace_use_req_params test_unique_name_str_replace_use_req_params
    tests.test_unique_name_str_replace_use_req_params test_unique_name_str_replace_use_req_params
    tests.test_unique_resources_across_template test_unique_resources_across_yaml_file
    tests.test_unique_resources_across_template test_unique_resources_across_yaml_file
    tests.test_volume_format_outputs test_volume_format_outputs
    tests.test_volume_format_outputs test_volume_format_outputs
    tests.test_volume_format_outputs test_volume_format_outputs
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_resource_ids test_volume_resource_ids
    tests.test_volume_templates test_volume_templates_only_contains_cinder
    tests.test_volume_templates test_volume_templates_only_contains_cinder
    tests.test_volume_templates_outputs test_volume_templates_contains_outputs
    tests.test_volume_templates_outputs test_volume_templates_contains_outputs
    tests.test_volume_templates_outputs_resources test_volume_templates_outputs_match_resources
    tests.test_volume_templates_outputs_resources test_volume_templates_outputs_match_resources
    tests.test_volume_templates_outputs_resources test_volume_templates_outputs_match_resources
    tests.test_volume_templates_outputs_resources test_volume_templates_outputs_match_resources
    tests.test_volume_templates_outputs_resources test_volume_templates_outputs_match_resources
    tests.test_volume_templates_outputs_resources test_volume_templates_outputs_match_resources

2.1.2. CSAR/TOSCA Package Validations

Please refer to the VNFSDK project’s list of verified requirements for the current coverage for CSAR and TOSCA.

2.1.3. VNF Requirements corresponding Information Elements w/Range limits

Will be generated in future releases.

[1]Refer to NCSP’s Network Cloud specification
[2]Refer to NCSP’s Network Cloud specification
[3]Not currently supported in ONAP release 1
[4]https://github.com/mbj4668/pyang
[5]Recall that the Node Object is required to be identical across all VMs of a VNF invoked as part of the action except for the “name”.
[6]Upstream elements must provide the appropriate FQDN in the request to ONAP for the desired action.
[7]Multiple ONAP actions may map to one playbook.
[8]This option is not currently supported in ONAP and it is currently under consideration.