package org.opendaylight.unimgr.mef.nrp.common;
+import java.util.List;
import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
import org.opendaylight.unimgr.mef.nrp.api.EndPoint;
-import java.util.List;
-
/**
* Device facing SPI for activating or deactivating a fragment of an NRP
* Connectivity Service on a single device.
* Activate connectivity betwee the provided endpoints.
* @param endPoints list of endpoint to connect
* @param serviceName generated service id
+ * @throws ResourceActivatorException activation problem
+ * @throws TransactionCommitFailedException transaction commit failed
*/
- void activate(List<EndPoint> endPoints, String serviceName) throws ResourceActivatorException, TransactionCommitFailedException;
+ void activate(List<EndPoint> endPoints, String serviceName)
+ throws ResourceActivatorException, TransactionCommitFailedException;
/**
* Deactivate connectivity between the provided endpoints.
* @param endPoints list of endpoint between which connection have to be deactivated
* @param serviceName generated service id
+ * @throws ResourceActivatorException activation problem
+ * @throws TransactionCommitFailedException transaction commit failed
*/
- void deactivate(List<EndPoint> endPoints, String serviceName) throws TransactionCommitFailedException, ResourceActivatorException;
+ void deactivate(List<EndPoint> endPoints, String serviceName)
+ throws TransactionCommitFailedException, ResourceActivatorException;
}