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 IPFIX Table
26 @TypedTable(name="IPFIX", database="Open_vSwitch", fromVersion="7.1.0")
27 public interface IPFIX extends TypedBaseTable<GenericTableSchema> {
29 @TypedColumn(name="targets", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
30 Column<GenericTableSchema, Set<String>> getTargetsColumn();
31 @TypedColumn(name="targets", method=MethodType.SETDATA, fromVersion="7.1.0")
32 void setTargets(Set<String> targets);
34 @TypedColumn(name="sampling", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
35 Column<GenericTableSchema, Set<Long>> getSamplingColumn();
36 @TypedColumn(name="sampling", method=MethodType.SETDATA, fromVersion="7.1.0")
37 void setSampling(Set<Long> sampling);
39 @TypedColumn(name="obs_domain_id", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
40 Column<GenericTableSchema, Set<Long>> getObsDomainIdColumn();
41 @TypedColumn(name="obs_domain_id", method=MethodType.SETDATA, fromVersion="7.1.0")
42 void setObsDomainId(Set<Long> obs_domain_id);
44 @TypedColumn(name="obs_point_id", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
45 Column<GenericTableSchema, Set<Long>> getObsPointIdColumn();
46 @TypedColumn(name="obs_point_id", method=MethodType.SETDATA, fromVersion="7.1.0")
47 void setObsPointId(Set<Long> obsPointId);
49 @TypedColumn(name="cache_active_timeout", method=MethodType.GETCOLUMN, fromVersion="7.3.0")
50 Column<GenericTableSchema, Set<Long>> getCacheActiveTimeoutColumn();
51 @TypedColumn(name="cache_active_timeout", method=MethodType.SETDATA, fromVersion="7.3.0")
52 void setCacheActiveTimeout(Set<Long> cacheActiveTimeout);
54 @TypedColumn(name="cache_max_flows", method=MethodType.GETCOLUMN, fromVersion="7.3.0")
55 Column<GenericTableSchema, Set<Long>> getCacheMaxFlowsColumn();
56 @TypedColumn(name="cache_max_flows", method=MethodType.SETDATA, fromVersion="7.3.0")
57 void setCacheMaxFlows(Set<Long> cacheMaxFlows);
59 @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
60 Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
61 @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="7.1.0")
62 void setExternalIds(Map<String, String> externalIds);