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(ConnectionInfo connectionInfo,
List<ControllerNotifyingDataChangeListener> waitList)
Get a NodeInfo instance initialized with this ItUtil's DataBroker.
|
boolean |
isControllerConnected(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(ConnectionInfo connectionInfo, List<ControllerNotifyingDataChangeListener> waitList)
connectionInfo
- ConnectionInfo for the OVSDB serverwaitList
- For tracking outstanding md-sal events notificationspublic boolean isControllerConnected(ConnectionInfo connectionInfo) throws InterruptedException
connectionInfo
- where to connect toInterruptedException
- if interrupted while waiting for connection to appearCopyright © 2019 OpenDaylight. All rights reserved.