Network model add enable wavelength unit test
[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.rev201126.path.description.AToZDirection;
11 import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev201126.path.description.ZToADirection;
12
13 public interface NetworkModelWavelengthService {
14
15     /**
16      * Allocate frequency in network topology.
17      *
18      * @param atoZDirection AToZDirection: a to z path
19      * @param ztoADirection ZToADirection: z to a path
20      */
21     void allocateFrequencies(AToZDirection atoZDirection, ZToADirection ztoADirection);
22
23     /**
24      * Release frequency in network topology.
25      *
26      * @param atoZDirection AToZDirection: a to z path
27      * @param ztoADirection ZToADirection: z to a path
28      */
29     void releaseFrequencies(AToZDirection atoZDirection, ZToADirection ztoADirection);
30
31 }