3. Appendix
3.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
3.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.
Note: Tests on the bottom do not map to any requirements.
Note: VVP only validates Heat for Requirements in Chapter 5.
Download
You can download the table here.
Requirement ID |
Test Module |
Test Name |
---|---|---|
test_vm_type_network_role_collision |
||
test_vm_class_has_unique_type |
||
test_contrail_fqdn |
||
test_nova_server_workload_context_parameter_doesnt_exist_in_environment_file |
||
test_environment_file_contains_required_sections |
||
test_external_fip_format |
||
test_cloud_config |
||
test_neutron_floating_ip_resource_type |
||
test_volume_outputs_consumed |
||
test_vnf_id_parameter_type_and_parameter_name |
||
test_software_config_vm_type |
||
test_vf_module_index_parameter_has_no_constraints |
||
test_contrail_external_instance_ip_address_parameter |
||
test_contrail_external_instance_ip_address_parameter |
||
test_contrail_external_instance_ip_does_not_exist_in_environment_file |
||
test_contrail_external_instance_ip_address_parameter |
||
test_contrail_external_instance_ip_does_not_exist_in_environment_file |
||
test_contrail_external_instance_ip_address_parameter |
||
test_contrail_external_instance_ip_does_not_exist_in_environment_file |
||
test_contrail_external_instance_ip_address_parameter |
||
test_contrail_external_instance_ip_does_not_exist_in_environment_file |
||
test_contrail_internal_instance_ip_address_parameter |
||
test_contrail_internal_instance_ip_does_exist_in_environment_file |
||
test_contrail_internal_instance_ip_address_parameter |
||
test_contrail_internal_instance_ip_does_exist_in_environment_file |
||
test_contrail_internal_instance_ip_address_parameter |
||
test_contrail_internal_instance_ip_does_exist_in_environment_file |
||
test_contrail_internal_instance_ip_address_parameter |
||
test_contrail_internal_instance_ip_does_exist_in_environment_file |
||
test_contrail_external_instance_ip_does_not_exist_in_environment_file |
||
test_contrail_internal_instance_ip_does_exist_in_environment_file |
||
test_contrail_external_instance_subnet_id_parameter |
||
test_contrail_external_instance_subnet_id_parameter |
||
test_contrail_subnet_uuid_does_not_exist_in_environment_file |
||
test_contrail_external_instance_subnet_id_parameter |
||
test_contrail_subnet_uuid_does_not_exist_in_environment_file |
||
test_contrail_incremental_module_internal_subnet_usage |
||
test_contrail_subnet_uuid_does_not_exist_in_environment_file |
||
test_contrail_incremental_module_internal_subnet_usage |
||
test_contrail_subnet_uuid_does_not_exist_in_environment_file |
||
test_external_aap_format_contrail |
||
test_external_aap_format_contrail |
||
test_external_aap_format_contrail |
||
test_external_aap_format_contrail |
||
test_contrail_internal_vmi_aap_parameter |
||
test_contrail_internal_vmi_aap_parameter |
||
test_nested_parameter_args |
||
test_nested_template_parameters |
||
test_volume_outputs_consumed |
||
test_parameter_type |
||
test_indices_start_at_0_increment |
||
test_nova_server_environment_context_parameter_doesnt_exist_in_environment_file |
||
test_external_subnet_format |
||
test_vf_module_name_parameter_has_no_constraints |
||
test_network_has_subnet |
||
test_contrail_servicetemplate_resource_id |
||
test_unique_resources_across_all_yaml_files |
||
test_network_resource_id_format |
||
test_nesting_level |
||
test_neutron_port_network_param_is_string |
||
test_oam_address_v4_zero_or_one |
||
test_contrail_irt_route_param_type |
||
test_contrail_porttuple_resource_id |
||
test_environment_context |
||
test_port_resource_ids |
||
test_nova_server_vnf_id_parameter_doesnt_exist_in_environment_file |
||
test_neutron_port_fixedips_subnet_parameter_doesnt_exist_in_environment_file |
||
test_internal_network_parameters |
||
test_nova_server_name_parameter_doesnt_exist_in_environment_file |
||
test_availability_zone_parameter_type |
||
test_external_fip_format |
||
test_heat_template_structure_contains_resources |
||
test_neutron_net_resource_id |
||
test_parameter_names |
||
test_port_resource_ids |
||
test_port_resource_ids |
||
test_volume_templates_contains_cinder_or_resource_group |
||
test_heat_template_structure_contains_heat_template_version |
||
test_internal_fip_format |
||
test_contrail_irt_route_param_format |
||
test_neutron_port_internal_fixedips_ipaddress_parameter_exists_in_environment_file |
||
test_nova_server_resource_id |
||
test_internal_fip_format |
||
test_neutron_port_network_parameter_doesnt_exist_in_environment_file |
||
test_server_and_port_vmtype_indices_match |
||
test_contrail_networkipam_resource_id |
||
test_multipart_mime |
||
test_heat_pairs_provided |
||
test_vm_type_case |
||
test_external_fip_format |
||
test_workload_context_parameter_has_no_constraints |
||
test_no_image_files_included |
||
test_heat_template_structure_contains_parameters |
||
test_networks_exist_for_internal_network_params |
||
test_external_aap_format |
||
test_nova_server_vnf_name_parameter_doesnt_exist_in_environment_file |
||
test_heat_template_parameters_contain_required_fields |
||
test_base_template_names |
||
test_nova_server_vf_module_index_parameter_doesnt_exist_in_environment_file |
||
test_servers_have_required_metadata |
||
test_external_subnet_format |
||
test_env_and_yaml_same_name |
||
test_vf_module_name_parameter_type_and_parameter_name |
||
test_heat_template_structure_contains_description |
||
test_neutron_port_external_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file |
||
test_nova_server_flavor_parameter |
||
test_external_fip_format |
||
test_external_aap_format |
||
test_external_aap_format |
||
test_get_file_no_url_retrieval |
||
test_heat_template_parameters_contain_required_fields |
||
test_vnf_name_parameter_has_no_constraints |
||
test_nova_server_flavor_parameter |
||
test_contrail_instance_ip_resource_id_external |
||
test_vm_type_resource_id |
||
test_vm_type_network_role_collision |
||
test_vm_type_assignments_on_nova_servers_only_use_get_param |
||
test_heat_rg_count_parameter_exists_in_environment_file |
||
test_nova_server_flavor_parameter |
||
test_contrail_instance_ip_resource_id_internal |
||
test_servers_vf_module_index_metadata_use_get_param |
||
test_files_in_flat_dir |
||
test_nova_server_name_parameter |
||
test_contrail_instance_ip_resource_id_external |
||
test_env_and_yaml_same_name |
||
test_no_http_resources |
||
test_nova_server_name_parameter |
||
test_vf_module_index_parameter_type_and_parameter_name |
||
test_vnf_id_parameter_has_no_constraints |
||
test_no_vf_module_index_in_cinder |
||
test_no_vf_module_index_contrail_ips |
||
test_environment_context_parameter_has_no_constraints |
||
test_heat_pairs_provided |
||
test_nova_server_image_parameter |
||
test_nova_server_image_parameter |
||
test_detected_volume_module_follows_naming_convention |
||
test_nova_server_az_parameter_doesnt_exist_in_environment_file |
||
test_env_params_are_defined_in_template |
||
test_nesting_level |
||
test_incremental_module_has_server |
||
test_contrail_instance_ip_resource_id_internal |
||
test_vnf_name_parameter_type_and_parameter_name |
||
test_neutron_port_external_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file |
||
test_external_subnet_format |
||
test_external_network_parameter |
||
test_vm_type_assignments_on_nova_servers_only_use_get_param |
||
test_env_no_resource_registry |
||
test_vm_role_parameter_has_no_constraints |
||
test_servers_vf_module_name_metadata_use_get_param |
||
test_port_resource_ids |
||
test_nova_server_flavor_parameter_exists_in_environment_file |
||
test_neutron_port_fixedips_subnet_parameter_doesnt_exist_in_environment_file |
||
test_filename_is_vmtype_dot_yaml |
||
test_iip_instance_ip_parameter_name_doesnt_change_in_nested_template |
||
test_nova_server_image_parameter |
||
test_servers_have_required_metadata |
||
test_external_fip_format |
||
test_no_http_resources |
||
test_internal_aap_format |
||
test_servers_have_required_metadata |
||
test_nova_server_vf_module_id_parameter_doesnt_exist_in_environment_file |
||
test_heat_pairs_provided |
||
test_workload_context |
||
test_alphanumeric_resource_ids_only |
||
test_contrail_servicehealthcheck_resource_id |
||
test_base_template_names |
||
test_internal_subnet_format |
||
test_neutron_floating_ip_association_resource_type |
||
test_contrail_route_prefixes_parameter_doesnt_exist_in_environment_file |
||
test_get_file_only_reference_local_files |
||
test_internal_fip_format |
||
test_nova_server_vf_module_name_parameter_doesnt_exist_in_environment_file |
||
test_internal_aap_format |
||
test_neutron_port_fixedips_subnet_parameter_doesnt_exist_in_environment_file |
||
test_contrail_interfaceroutetable_resource_id |
||
test_base_template_names |
||
test_env_and_yaml_same_name |
||
test_vf_module_id_parameter_type_and_parameter_name |
||
test_volume_module_name_matches_incremental_or_base_module |
||
test_neutron_port_external_aap_ip_parameter_doesnt_exist_in_environment_file |
||
test_neutron_port_fixedips_subnet_parameter_doesnt_exist_in_environment_file |
||
test_internal_subnet_format |
||
test_internal_fip_format |
||
test_non_server_name |
||
test_internal_network_parameters |
||
test_heat_pairs_provided |
||
test_vm_role_from_env_file |
||
test_neutron_port_external_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file |
||
test_base_template_names |
||
test_base_template_names |
||
test_contrail_instance_ip_resource_id_internal |
||
test_nova_server_name_parameter |
||
test_volume_templates_contains_outputs |
||
test_vm_type_assignments_on_nova_servers_only_use_get_param |
||
test_06_heat_template_resource_section_has_resources |
||
test_neutron_port_internal_fixedips_ipaddress_parameter_exists_in_environment_file |
||
test_all_parameters_used_in_template |
||
test_default_values |
||
test_nova_server_image_parameter_exists_in_environment_file |
||
test_heat_pairs_provided |
||
test_network_fqdn_parameter_doesnt_exist_in_environment_file |
||
test_02_no_duplicate_keys_in_file |
||
test_neutron_port_external_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file |
||
test_neutron_port_internal_fixedips_ipaddress_parameter_exists_in_environment_file |
||
test_heat_pairs_provided |
||
test_oam_address_v6_zero_or_one |
||
test_00_valid_yaml |
||
test_contrail_instance_ip_resource_id_external |
||
test_neutron_port_internal_fixedips_ipaddress_parameter_exists_in_environment_file |
||
test_vf_module_id_parameter_has_no_constraints |
||
test_vm_type_syntax |
||
test_availability_zone_naming |
||
test_neutron_port_internal_fixedips_ipaddress_parameter_exists_in_environment_file |
||
test_neutron_port_external_fixedips_ipaddress_parameter_doesnt_exist_in_environment_file |
||
test_neutron_net_resource_id |
||
test_files_in_flat_dir |
||
test_nova_server_name_parameter_doesnt_exist_in_environment_file |
3.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.
3.1.3. VNF Requirements corresponding Information Elements w/Range limits
Will be generated in future releases.