* @param nodeId node ID
* @param circuitPackName Circtuit-Pack name
* @param activate activate or not
+ *
+ * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception
*/
void postEquipmentState(String nodeId, String circuitPackName, boolean activate) throws OpenRoadmInterfaceException;
* expected path computation result
* @param topologyDataPath
* path to topology data file to be used for DataStore population
+ *
+ * @throws Exception exception throws by the function
*/
public PceManyTests(PathComputationRequestInput input,
PathComputationRequestOutput expectedOutput, String topologyDataPath) throws Exception {
/**
* Generate Data for Test 1 result 5-4.
+ * @param wl WaveLength
+ *
* @return output PathComputationRequestOutput data
*/
public static PathComputationRequestOutput getPCE_test_result_54(Long wl) {
"pce:pce-metric": "hop-count"
}
}</code>
+ * @param base Path Computation Request Input base
+ *
* @return input PathComputationRequestInput data
*/
public static PathComputationRequestInput build_diversity_from_request(PathComputationRequestInput base) {
*
*
* @return Name of the interface if successful, otherwise return null.
+ * @throws OpenRoadmInterfaceException OpenRoadmInterfaceException
*/
public String createOpenRoadmOtu4Interface(String nodeId, String logicalConnPoint, String supportOchInterface)
/**
* function to check coherency between hard and soft constraints.
+ * @param hard Hard Constraints
+ * @param soft Soft Constraints
+ *
* @return <code> true </code> if coherent
* <code> false </code> else
*/
/**
* Check Compliancy of Service request.
*
+ * @param serviceName
+ * Service Name
+ * @param sdncRequestHeader
+ * sdncRequestHeader
+ * @param conType
+ * Connection type
+ * @param action
+ * RPC Actions
* @param contype
* Boolean to check connection Type
- * @param sndcRequest
- * Boolean to check sndcRequestHeader
+ * @param sdncRequest
+ * Boolean to check sdncRequestHeader
*
* @return true if String ok false if not
*/
public static ComplianceCheckResult check(String serviceName, SdncRequestHeader sdncRequestHeader,
ConnectionType conType, RpcActions action,
- Boolean contype, Boolean sndcRequest) {
+ Boolean contype, Boolean sdncRequest) {
boolean result = true;
String message = "";
if (!checkString(serviceName)) {
result = false;
message = "Service ConnectionType is not set";
}
- if (sndcRequest) {
+ if (sdncRequest) {
if (sdncRequestHeader != null) {
RpcActions serviceAction = sdncRequestHeader.getRpcAction();
String requestId = sdncRequestHeader.getRequestId();
/**
* Check Compliancy of Service TxRx info.
+ * @param serviceEnd Service Endpoint
+ * @param endpointType Endpoint type
*
* @return true if String ok false if not
*/