DeviceState implementation 08/17308/2
authorMartin Bobak <mbobak@cisco.com>
Sun, 29 Mar 2015 03:18:44 +0000 (05:18 +0200)
committerMartin Bobak <mbobak@cisco.com>
Mon, 30 Mar 2015 11:41:40 +0000 (13:41 +0200)
commit3237a17a946e95af341d269713e8ade864e074ed
treee13ca3418f8464dc424933772cf1f7bb3a5492ad
parenta29553293e059ea656ec0bb3339d6e261ecf081b
DeviceState implementation

Note: DeviceState is a basic object which we need to populate
from ConnectionContext and it has to be a input object for
DeviceContext. So this implementation has to be before
DeviceContext implementation in the chain order.

* DeviceState interface - fix getNextXid and getPortsBandwidth methods
* impl DeviceStateImpl
* impl test suite in DeviceStateImplTest

Change-Id: Iadf19754c3373b25a6a320c676118d13338a0097
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
Signed-off-by: Martin Bobak <mbobak@cisco.com>
openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/DeviceState.java
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/device/DeviceStateImpl.java [new file with mode: 0644]
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/device/DeviceStateImplTest.java [new file with mode: 0644]