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.networkmodel.service;
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;
13 public interface NetworkModelWavelengthService {
16 * Remove wavelength from available and add it to used wavelength list.
18 * @param atoZDirection AToZDirection: a to z path
19 * @param ztoADirection ZToADirection: z to a path
21 void useWavelengths(AToZDirection atoZDirection, ZToADirection ztoADirection);
24 * Remove wavelength from used and add it to available wavelength list.
26 * @param atoZDirection AToZDirection: a to z path
27 * @param ztoADirection ZToADirection: z to a path
29 void freeWavelengths(AToZDirection atoZDirection, ZToADirection ztoADirection);