2 * Copyright (C) 2014 Red Hat, Inc.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 * Authors : Madhu Venugopal
11 package org.opendaylight.ovsdb.schema.openvswitch;
16 import org.opendaylight.ovsdb.lib.notation.Column;
17 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
18 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
20 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
21 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
24 * This class is a typed interface to the Flow_Table Table
26 @TypedTable(name="Flow_Table", database="Open_vSwitch", fromVersion="6.5.0")
27 public interface FlowTable extends TypedBaseTable<GenericTableSchema> {
29 @TypedColumn(name="flow_limit", method=MethodType.GETCOLUMN, fromVersion="6.5.0")
30 public Column<GenericTableSchema, Set<Long>> getFlowLimitColumn() ;
32 @TypedColumn(name="flow_limit", method=MethodType.SETDATA, fromVersion="6.5.0")
33 public void setFlowLimit(Set<Long> flowLimit) ;
35 @TypedColumn(name="overflow_policy", method=MethodType.GETCOLUMN, fromVersion="6.5.0")
36 public Column<GenericTableSchema, Set<String>> getOverflowPolicyColumn() ;
38 @TypedColumn(name="overflow_policy", method=MethodType.SETDATA, fromVersion="6.5.0")
39 public void setOverflowPolicy(Set<String> overflowPolicy) ;
41 @TypedColumn(name="groups", method=MethodType.GETCOLUMN, fromVersion="6.5.0")
42 public Column<GenericTableSchema, Set<String>> getGroupsColumn() ;
44 @TypedColumn(name="groups", method=MethodType.SETDATA, fromVersion="6.5.0")
45 public void setGroups(Set<String> groups) ;
47 @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="6.5.0")
48 public Column<GenericTableSchema, Set<String>> getNameColumn();
50 @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="6.5.0")
51 public void setName(Set<String> name);
53 @TypedColumn(name="prefixes", method=MethodType.GETCOLUMN, fromVersion="7.4.0")
54 public Column<GenericTableSchema, Set<String>> getPrefixesColumn();
56 @TypedColumn(name="prefixes", method=MethodType.SETDATA, fromVersion="7.4.0")
57 public void setPrefixes(Set<String> prefixes);
59 @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="7.5.0")
60 public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
62 @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="7.5.0")
63 public void setExternalIds(Map<String, String> externalIds);