2 * Copyright (C) 2013 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
10 package org.opendaylight.ovsdb.schema.openvswitch;
15 import org.opendaylight.ovsdb.lib.notation.Column;
16 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
17 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
20 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
23 * This class is a typed interface to the SFlow Table
25 @TypedTable(name="sFlow", database="Open_vSwitch", fromVersion="1.0.0")
26 public interface SFlow extends TypedBaseTable {
27 @TypedColumn(name="targets", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
28 public Column<GenericTableSchema, Set<String>> getTargetsColumn() ;
29 @TypedColumn(name="targets", method=MethodType.SETDATA, fromVersion="1.0.0")
30 public void setTargets(Set<String> targets) ;
32 @TypedColumn(name="agent", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
33 public Column<GenericTableSchema, Set<String>> getAgentColumn() ;
34 @TypedColumn(name="agent", method=MethodType.SETDATA, fromVersion="1.0.0")
35 public void setAgent(Set<String> agent) ;
37 @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
38 public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn() ;
39 @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="1.0.0")
40 public void setExternalIds(Map<String, String> externalIds) ;
42 @TypedColumn(name="header", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
43 public Column<GenericTableSchema, Set<Integer>> getHeaderColumn() ;
44 @TypedColumn(name="header", method=MethodType.SETDATA, fromVersion="1.0.0")
45 public void setHeader(Set<Integer> header) ;
47 @TypedColumn(name="polling", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
48 public Column<GenericTableSchema, Set<Integer>> getPollingColumn() ;
49 @TypedColumn(name="polling", method=MethodType.SETDATA, fromVersion="1.0.0")
50 public void setPolling(Set<Integer> polling) ;
52 @TypedColumn(name="sampling", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
53 public Column<GenericTableSchema, Set<Integer>> getSamplingColumn() ;
54 @TypedColumn(name="sampling", method=MethodType.SETDATA, fromVersion="1.0.0")
55 public void setSampling(Set<Integer> sampling) ;