Bug2901: Fix Inventory ofport_request column in schema 53/17153/2
authorRyan Goulding <ryandgoulding@gmail.com>
Thu, 26 Mar 2015 11:51:03 +0000 (07:51 -0400)
committerRyan Goulding <ryandgoulding@gmail.com>
Thu, 26 Mar 2015 14:29:06 +0000 (10:29 -0400)
Fixes ofport_request column setter.  Open_vSwitch defines ofport_request as an
integer, not a String.  The setOpenFlowPortRequest() method was modified to
take Set<Integer> instead of String.

Change-Id: I95e4a015aa53015fee2a9802e4f034951bed2b47
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
schemas/openvswitch/src/main/java/org/opendaylight/ovsdb/schema/openvswitch/Interface.java

index 1314189ea3ca2a288e7ce5be54832c53682f212e..83d0859f29182492dff7ab53804b9b45030e84c6 100644 (file)
@@ -78,9 +78,9 @@ public interface Interface extends TypedBaseTable<GenericTableSchema> {
     public void setOpenFlowPort(Set<Long> openFlowPort);
 
     @TypedColumn(name="ofport_request", method=MethodType.GETCOLUMN, fromVersion="6.2.0")
-    public Column<GenericTableSchema, Set<Long>> getOpenFlowPortRequestColumn();
+    public Column<GenericTableSchema, Set<Integer>> getOpenFlowPortRequestColumn();
     @TypedColumn(name="ofport_request", method=MethodType.SETDATA, fromVersion="6.2.0")
-    public void setOpenFlowPortRequest(String openFlowPortRequest);
+    public void setOpenFlowPortRequest(Set<Integer> openFlowPortRequest);
 
     @TypedColumn(name="bfd", method=MethodType.GETCOLUMN, fromVersion="7.2.0")
     public Column<GenericTableSchema, Map<String, String>> getBfdColumn();