Skip to content
lcm.tdlan2 1.94 KiB
Newer Older
/*
Copyright (c) ETSI 2017.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/
Package NFV_CRM_All {
	
  Import all from nfv_tst_007_commons;
  
  Type MSG;	
	
  /* TEST CASE: TD_NFV_CRM_ALLOCATE_001, Allocate compute resource operation */
	
  Test Objective TP_NFV_CRM_ALLOCATE_001 {
  	from: "NFV TST GR 007, clause 7.3.1.1";
  	description : "ensure that {
		NFVO/VNFM can retrieve the information of a software image from
        the image repository managed by the VIM
	}"; 
   }
   with {
		APPLICABILITY :
		   "- NFVO/VNFM can query software image information on the VIM
		"; 
  }
  
  Action preConditions : "Pre-test conditions:
			- The software to be queried is added to the image repository managed by the VIM
			  (TD_NFV_SWIM_ADD_001) 
  ";

  MSG query_image_xyz; 
  MSG query_all_images; 
  MSG list_with_image_xyz_info;
  MSG image_xyz_info;
  		
  Test Description TD_NFV_SWIM_QUERY_001 uses configuration NFV_TST_007_conf_1 {
  		perform action preConditions with { PRECONDITION ; };
  		
  		tstSym.tst sends query_image_xyz to nfvo.tst with { STEP : "1"; TYPE: "stimulus" ; } ;
  		 
  		tstSym.tst sends query_all_images to vim.tst with {STEP : "2" ; TYPE: "IOP Check" ; } ;
  	 	vim.tst sends list_with_image_xyz_info to tstSym.tst with { STEP: "2" ; TYPE: "IOP Check" ;} ;
  	 	
  	 	nfvo.tst sends image_xyz_info to tstSym.tst with { STEP: "3" ; TYPE: "IOP Check" ; } ;
  }
}