public class OvsdbItUtils extends Object
| Constructor and Description |
|---|
OvsdbItUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
Create a new OvsdbItUtils instance.
|
| Modifier and Type | Method and Description |
|---|---|
NodeInfo |
createNodeInfo(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.node.attributes.ConnectionInfo connectionInfo,
List<org.opendaylight.ovsdb.utils.mdsal.utils.NotifyingDataChangeListener> waitList)
Get a NodeInfo instance initialized with this ItUtil's DataBroker.
|
boolean |
isControllerConnected(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.node.attributes.ConnectionInfo connectionInfo)
Checks whether the OVSDB controller is connected.
|
public OvsdbItUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
dataBroker - md-sal data brokerpublic NodeInfo createNodeInfo(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.node.attributes.ConnectionInfo connectionInfo, List<org.opendaylight.ovsdb.utils.mdsal.utils.NotifyingDataChangeListener> waitList)
connectionInfo - ConnectionInfo for the OVSDB serverwaitList - For tracking outstanding md-sal events notificationspublic boolean isControllerConnected(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.node.attributes.ConnectionInfo connectionInfo)
throws InterruptedException
connectionInfo - where to connect toInterruptedException - if interrupted while waiting for connection to appearCopyright © 2018 OpenDaylight. All rights reserved.