Added assert operation as per RFC 7047 section 5.2.10
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / operations / Operations.java
index 341d7780b0429be23240403c7ce46604d439f0c5..912ff67caa5d3c961cadc8bbfab0c0d08533ecdd 100644 (file)
@@ -44,4 +44,12 @@ public class Operations {
     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);
+    }
 }
\ No newline at end of file