Add support for Port.protected 98/86198/5
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 5 Dec 2019 10:08:24 +0000 (11:08 +0100)
committerStephen Kitt <skitt@redhat.com>
Thu, 12 Dec 2019 14:45:05 +0000 (14:45 +0000)
This mirrors the database update done in
https://github.com/openvswitch/ovs/commit/ced947ae5d1b9678930b11233b9716ddcb84666a#diff-01f05b225090c4067284ed798ed23f05
and shipping in OVS 2.7.0.

Change-Id: Id4345501ff8d627aa86f08336e82d2500fedd0ce
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Port.java

index 105fafdd4ea4d9f6efdc952d9dd6141cb8820af8..03067a7119fd884ea8581461f9d836443ba91d61 100644 (file)
@@ -125,6 +125,12 @@ public interface Port extends TypedBaseTable<GenericTableSchema> {
     @TypedColumn(name = "statistics", method = MethodType.SETDATA)
     void setStatistics(Map<String, Long> statistics);
 
+    @TypedColumn(name = "protected", method = MethodType.GETCOLUMN, fromVersion = "7.14.0")
+    Column<GenericTableSchema, Set<Boolean>> getProtectedColumn();
+
+    @TypedColumn(name = "protected", method = MethodType.SETDATA, fromVersion = "7.14.0")
+    void setProtected(Set<Boolean> fakeBridge);
+
     @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
     Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();