Update portmapping YANG model
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / mapping / MappingUtils.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.common.mapping;
9
10 import java.util.List;
11 import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.portmapping.rev210315.mc.capabilities.McCapabilities;
12
13 public interface MappingUtils {
14
15     /*
16         This method returns the OpenROADM yang release
17         supported by the device.
18      */
19     String getOpenRoadmVersion(String nodeId);
20
21     /**
22      * Get list of mc capabilities for node with nodeId.
23      * @param nodeId String
24      * @return the list of McCapabilities for the node.
25      */
26     List<McCapabilities> getMcCapabilitiesForNode(String nodeId);
27 }