package org.project.openbaton.nfvo.core.interfaces;

import org.project.openbaton.common.catalogue.mano.record.VirtualNetworkFunctionRecord;

/**
 * Created by mpa on 05/05/15.
 */

public interface VNFLifecycleOperationGranting {
	
	/**
	 * This operation allows requesting the permission to 
	 * perform a certain VNF lifecycle operation on a new 
	 * or existing VNF. The sub-type of lifecycle operation 
	 * is parameterized in the operation.
	 * @param virtualNetworkFunctionRecord
	 */
	boolean grantLifecycleOperation(VirtualNetworkFunctionRecord virtualNetworkFunctionRecord);
}

@@ -133,16 +133,82 @@
 nRecord;
+%0Aimport org.project.openbaton.nfvo.common.exceptions.VimException;
 %0A%0A/**%0A *
@@ -642,12 +642,32 @@
 nRecord)
+ throws VimException
 ;%0A%7D%0A

add exception to method