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;
12 import org.opendaylight.ovsdb.lib.notation.Column;
13 import org.opendaylight.ovsdb.lib.notation.UUID;
14 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
15 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
16 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
24 * This class is a typed interface to the Mirror Table
26 @TypedTable (name="Mirror", database="Open_vSwitch", fromVersion="1.0.0")
27 public interface Mirror extends TypedBaseTable<GenericTableSchema> {
29 @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
30 public Column<GenericTableSchema, String> getNameColumn();
32 @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
33 public void setName(Set<String> name);
35 @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
36 public Set<String> getName();
38 @TypedColumn(name="select_src_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
39 public Column<GenericTableSchema, Set<UUID>> getSelectSrcPortColumn();
41 @TypedColumn(name="select_src_port", method=MethodType.SETDATA, fromVersion="1.0.0")
42 public void setSelectSrcPort(Set<UUID> selectSrcPort);
44 @TypedColumn(name="select_dst_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
45 public Column<GenericTableSchema, Set<UUID>> getSelectDstPortColumn();
47 @TypedColumn(name="select_dst_port", method=MethodType.SETDATA, fromVersion="1.0.0")
48 public void setSelectDstPort(Set<UUID> selectDstPrt);
50 @TypedColumn(name="select_vlan", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
51 public Column<GenericTableSchema, Set<Long>> getSelectVlanColumn();
53 @TypedColumn(name="select_vlan", method=MethodType.SETDATA, fromVersion="1.0.0")
54 public void setSelectVlan(Set<Long> selectVlan);
56 @TypedColumn(name="output_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
57 public Column<GenericTableSchema, Set<UUID>> getOutputPortColumn();
59 @TypedColumn(name="output_port", method=MethodType.SETDATA, fromVersion="1.0.0")
60 public void setOutputPort(Set<UUID> outputPort);
62 @TypedColumn (name="output_vlan", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
63 public Column<GenericTableSchema, Set<Long>> getOutputVlanColumn();
65 @TypedColumn (name="output_vlan", method= MethodType.SETDATA, fromVersion="1.0.0")
66 public void setOutputVlan(Set<Long> outputVlan);
68 @TypedColumn (name="statistics", method= MethodType.GETCOLUMN, fromVersion="6.4.0")
69 public Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();
71 @TypedColumn (name="statistics", method= MethodType.SETDATA, fromVersion="6.4.0")
72 public void setStatistics(Map<String, Long> statistics);
74 @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
75 public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
77 @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="1.0.0")
78 public void setExternalIds(Map<String, String> externalIds);
80 @TypedColumn (name="select_all", method= MethodType.GETCOLUMN, fromVersion="6.2.0")
81 public Column<GenericTableSchema, Boolean> getSelectAllColumn();
83 @TypedColumn (name="select_all", method= MethodType.SETDATA, fromVersion="6.2.0")
84 public void setSelectAll(Boolean selectAll);