mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-03 12:08:07 +00:00
Opensync AP State Tables row parsing
This commit is contained in:
@@ -1205,8 +1205,11 @@ public class OvsdbDao {
|
||||
Row row = ru.getNew();
|
||||
if (row != null) {
|
||||
OpensyncAPVIFState apVifState = new OpensyncAPVIFState();
|
||||
apVifState.setBridge(row.getStringColumn("bridge"));
|
||||
apVifState.setBtm(row.getIntegerColumn("btm").intValue());
|
||||
apVifState.setBridge(getSingleValueFromSet(row, "bridge"));
|
||||
Long btmTmp = getSingleValueFromSet(row, "btm");
|
||||
if (btmTmp == null)
|
||||
btmTmp = 0L;
|
||||
apVifState.setBtm(btmTmp.intValue());
|
||||
Long channelTmp = getSingleValueFromSet(row, "channel");
|
||||
if (channelTmp == null) {
|
||||
channelTmp = -1L;
|
||||
|
||||
Reference in New Issue
Block a user