2 * Copyright © 2017 AT&T, Inc. and others. All rights reserved.
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
8 package org.opendaylight.transportpce.pce.service;
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;
16 * Path Computation Service.
18 public interface PathComputationService {
21 * Cancels a resource reservation.
23 * @param input CancelResourceReserveInput data
24 * @return output CancelResourceReserveOutput data
26 CancelResourceReserveOutput cancelResourceReserve(CancelResourceReserveInput input);
29 * Requests a path compuation.
31 * @param input PathComputationRequestInput data
32 * @return output PathComputationRequestOutput data
34 PathComputationRequestOutput pathComputationRequest(PathComputationRequestInput input);