959445d155e70f359d212e4a4eb515d0370261bf
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemanager / api / src / main / java / org / opendaylight / mwtn / devicemanager / api / DeviceManagerService.java
1 /**
2  * Copyright (c) 2017 highstreet technologies GmbH
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
9 package org.opendaylight.mwtn.devicemanager.api;
10
11 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode;
13
14 public interface DeviceManagerService {
15
16     /*@Deprecated
17     public void startListenerOnNode(String nodeName);*/
18
19     /*@Deprecated
20     public void removeListenerOnNode(String nodeName);*/
21
22     /**
23      * Managed device is disconnected from node/mountpoint
24      * @param nNodeId id of the mountpoint
25      * @param nNode mountpoint contents
26      */
27     public void removeListenerOnNode(NodeId nNodeId, NetconfNode nNode);
28
29     /**
30      * Managed device is connected to node/mountpoint
31      * @param nNodeId id of the mountpoint
32      * @param nNode mountpoint contents
33      */
34     public void startListenerOnNode(NodeId nNodeId, NetconfNode nNode);
35
36     /**
37      * Creation indication of node/mountpoint
38      * @param nNodeId id of the mountpoint
39      * @param nNode mountpoint contents
40      */
41     public void mountpointNodeCreation(NodeId nNodeId, NetconfNode nNode);
42
43     /**
44      * Removal indication of node/mountpoint
45      * @param nNodeId id of the mountpoint
46      */
47     public void mountpointNodeRemoved(NodeId nNodeId);
48
49 }