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.rev201126.path.description.AToZDirection;
11 import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.pathdescription.rev201126.path.description.ZToADirection;
13 public interface FrequenciesService {
16 * Allocate frequency in network topology.
18 * @param atoZDirection AToZDirection: a to z path
19 * @param ztoADirection ZToADirection: z to a path
21 void allocateFrequencies(AToZDirection atoZDirection, ZToADirection ztoADirection);
24 * Release frequency in network topology.
26 * @param atoZDirection AToZDirection: a to z path
27 * @param ztoADirection ZToADirection: z to a path
29 void releaseFrequencies(AToZDirection atoZDirection, ZToADirection ztoADirection);