Minimal refactor of renderer to prepare flexgrid
[transportpce.git] / networkmodel / src / main / java / org / opendaylight / transportpce / networkmodel / service / 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.networkmodel.service;
9
10 import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev200629.path.description.AToZDirection;
11 import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev200629.path.description.ZToADirection;
12
13 public interface NetworkModelWavelengthService {
14
15     /**
16      * Remove wavelength from available and add it to used wavelength list.
17      *
18      * @param atoZDirection AToZDirection: a to z path
19      * @param ztoADirection ZToADirection: z to a path
20      */
21     void useWavelengths(AToZDirection atoZDirection, ZToADirection ztoADirection);
22
23     /**
24      * Remove wavelength from used and add it to available wavelength list.
25      *
26      * @param atoZDirection AToZDirection: a to z path
27      * @param ztoADirection ZToADirection: z to a path
28      */
29     void freeWavelengths(AToZDirection atoZDirection, ZToADirection ztoADirection);
30
31 }