public <T extends TypedBaseTable<?>> T createTypedRowWrapper( DatabaseSchema dbSchema, Class<T> klazz) { return client.createTypedRowWrapper(dbSchema, klazz); }
public <T extends TypedBaseTable<?>> T createTypedRowWrapper(Class<T> klazz) { return client.createTypedRowWrapper(klazz); }
@Override public <T extends TypedBaseTable<?>> T createTypedRow(Node node, Class<T> typedClass) { Connection connection = connectionService.getConnection(node); if (connection == null) { return null; } OvsdbClient client = connection.getClient(); return client.createTypedRowWrapper(typedClass); }
Bridge bridge = connection.getClient().createTypedRowWrapper(Bridge.class); short ofControllerPort = getControllerOFPort(); String newControllerTarget = "tcp:"+ofControllerAddr.getHostAddress()+":"+ofControllerPort; Controller newController = connection.getClient().createTypedRowWrapper(Controller.class); newController.setTarget(newControllerTarget); final String controllerTableName = newController.getSchema().getName(); bridge = connection.getClient().createTypedRowWrapper(Bridge.class); bridge.setController(Sets.newHashSet(currControllerUuid)); status = this.updateRow(node, bridge.getSchema().getName(), null, bridgeUUID, bridge.getRow());