Add support for Port.cvlans 01/86201/4
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 5 Dec 2019 10:17:42 +0000 (11:17 +0100)
committerStephen Kitt <skitt@redhat.com>
Thu, 12 Dec 2019 14:45:05 +0000 (14:45 +0000)
This mirrors the schema update done in
https://github.com/openvswitch/ovs/commit/fed8962aff57f552163ef718cc1b0db582f2295e#diff-01f05b225090c4067284ed798ed23f05
and shipping with OVS 2.8.0.

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

index 03067a7119fd884ea8581461f9d836443ba91d61..f63d972eb13d8cdc3e2521fddaa592ea5e705b1a 100644 (file)
@@ -45,6 +45,12 @@ public interface Port extends TypedBaseTable<GenericTableSchema> {
     @TypedColumn(name = "trunks", method = MethodType.SETDATA, fromVersion = "1.0.0")
     void setTrunks(Set<Long> trunks);
 
+    @TypedColumn(name = "cvlans", method = MethodType.GETCOLUMN, fromVersion = "7.15.0")
+    Column<GenericTableSchema, Set<Long>> getCustomerVlansColumn();
+
+    @TypedColumn(name = "cvlans", method = MethodType.SETDATA, fromVersion = "7.15.0")
+    void setCustomerVlans(Set<Long> cvlans);
+
     @TypedColumn(name = "tag", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
     Column<GenericTableSchema, Set<Long>> getTagColumn();