return new Select<>(schema);
}
-}
+ public Comment comment(String comment) {
+ return new Comment(comment);
+ }
+
+ /*
+ * Could not use Java keyword "assert" which clashes with the ovsdb json-rpc method.
+ * using assertion instead.
+ */
+ public Assert assertion(String lock) {
+ return new Assert(lock);
+ }
- }
++}
.column(name)
.where(name.opEqual("br-int"))
.operation())
+ .add(op.mutate(bridge)
+ .addMutation(flood_vlans, Mutator.INSERT, Sets.newHashSet(100, 101, 4001))
+ .where(name.opEqual("br-int"))
+ .operation())
.add(op.commit(true))
+ .add(op.comment("Commiting the operation"))
.execute();
List<OperationResult> operationResults = results.get();