Merge "ROADM To ROADM Path Calculation"
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / service / PathComputationService.java
1 /*
2  * Copyright © 2017 AT&T, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.transportpce.pce.service;
9
10 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.CancelResourceReserveInput;
11 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.CancelResourceReserveOutput;
12 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.PathComputationRequestInput;
13 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.PathComputationRequestOutput;
14
15 /**
16  * Path Computation Service.
17  */
18 public interface PathComputationService {
19
20     /**
21      * Cancels a resource reservation.
22      *
23      * @param input CancelResourceReserveInput data
24      * @return output CancelResourceReserveOutput data
25      */
26     CancelResourceReserveOutput cancelResourceReserve(CancelResourceReserveInput input);
27
28     /**
29      * Requests a path compuation.
30      *
31      * @param input PathComputationRequestInput data
32      * @return output PathComputationRequestOutput data
33      */
34     PathComputationRequestOutput pathComputationRequest(PathComputationRequestInput input);
35
36 }