Beispiel #1
0
 @Override
 public void updateOvsdbStore(String dbName, String tableName, String uuid, Row row) {
   OvsdbTableStore tableStore = ovsdbStore.getOvsdbTableStore(dbName);
   if (tableStore == null) {
     tableStore = new OvsdbTableStore();
   }
   OvsdbRowStore rowStore = tableStore.getRows(tableName);
   if (rowStore == null) {
     rowStore = new OvsdbRowStore();
   }
   rowStore.insertRow(uuid, row);
   tableStore.createOrUpdateTable(tableName, rowStore);
   ovsdbStore.createOrUpdateOvsdbStore(dbName, tableStore);
 }