2 * Copyright © 2017 AT&T 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.renderer;
10 import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev171017.PathDescription;
12 public interface NetworkModelWavelengthService {
15 * Remove wavelength from available and add it to used wavelength list.
17 * @param pathDescription
18 * path description containing a-to-z and z-to-a path
20 void useWavelengths(PathDescription pathDescription);
23 * Remove wavelength from used and add it to available wavelength list.
25 * @param pathDescription
26 * path description containing a-to-z and z-to-a path
28 void freeWavelengths(PathDescription pathDescription);