Add support for Mirror.snaplen 96/86196/5
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 5 Dec 2019 10:02:26 +0000 (11:02 +0100)
committerStephen Kitt <skitt@redhat.com>
Thu, 12 Dec 2019 14:45:05 +0000 (14:45 +0000)
This mirrors the database update made here:
https://github.com/openvswitch/ovs/commit/1356dbd12125200c319a7d420660e72293baa8ec#diff-01f05b225090c4067284ed798ed23f05
and shipping in OVS 2.6.0.

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

index 021c39e5cb7a1a81604b8935fd5e1566c8521d49..b5a203cc7e1f6da91b60a8731cdab28729927b21 100644 (file)
@@ -63,6 +63,12 @@ public interface Mirror extends TypedBaseTable<GenericTableSchema> {
     @TypedColumn(name = "output_vlan", method = MethodType.SETDATA, fromVersion = "1.0.0")
     void setOutputVlan(Set<Long> outputVlan);
 
+    @TypedColumn(name = "snaplen", method = MethodType.GETCOLUMN, fromVersion = "7.13.0")
+    Column<GenericTableSchema, Set<Long>> getSnaplenColumn();
+
+    @TypedColumn(name = "snaplen", method = MethodType.SETDATA, fromVersion = "7.13.0")
+    void setSnaplen(Set<Long> snaplen);
+
     @TypedColumn(name = "statistics", method = MethodType.GETCOLUMN, fromVersion = "6.4.0")
     Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();