2 * Copyright (c) 2014 Cisco Systems, Inc. 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
9 package org.opendaylight.openflowplugin.applications.statistics.manager;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.flow.node.SwitchFeatures;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.OpendaylightInventoryListener;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node;
14 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
18 * org.opendaylight.openflowplugin.applications.statistics.manager.impl
20 * StatNodeRegistration
21 * Class represents {@link org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode}
22 * {@link org.opendaylight.controller.md.sal.binding.api.DataChangeListener} in Operational/DataStore for ADD / REMOVE
23 * actions which are represented connect / disconnect OF actions. Connect functionality are expecting
25 * @author <a href="mailto:vdemcak@cisco.com">Vaclav Demcak</a>
27 * Created: Sep 5, 2014
29 public interface StatNodeRegistration extends OpendaylightInventoryListener, AutoCloseable {
32 * Method contains {@link org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode} registration to {@link StatisticsManager}
33 * for permanently collecting statistics by {@link StatPermCollector} and
34 * as a prevention to use a validation check to the Operational/DS for identify
35 * connected {@link org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode}.
41 void connectFlowCapableNode(InstanceIdentifier<SwitchFeatures> keyIdent,
42 SwitchFeatures data, InstanceIdentifier<Node> nodeIdent);
45 * Method cut {@link Node} registration for {@link StatPermCollector}
49 void disconnectFlowCapableNode(InstanceIdentifier<Node> keyIdent);