Renderer and OLM update
[transportpce.git] / renderer / src / main / java / org / opendaylight / transportpce / renderer / NetworkModelWavelengthService.java
1 /*
2  * Copyright © 2017 AT&T 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.renderer;
9
10 import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev170426.PathDescription;
11
12 public interface NetworkModelWavelengthService {
13
14     /**
15      * Remove wavelength from available and add it to used wavelength list.
16      *
17      * @param pathDescription
18      *   path description containing a-to-z and z-to-a path
19      */
20     void useWavelengths(PathDescription pathDescription);
21
22     /**
23      * Remove wavelength from used and add it to available wavelength list.
24      *
25      * @param pathDescription
26      *   path description containing a-to-z and z-to-a path
27      */
28     void freeWavelengths(PathDescription pathDescription);
29
30 }