/* * Copyright (C) 2013 Red Hat, Inc. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Madhu Venugopal */ package org.opendaylight.ovsdb.schema.openvswitch; import org.opendaylight.ovsdb.lib.notation.Column; import org.opendaylight.ovsdb.lib.notation.UUID; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.typed.MethodType; import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable; import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn; import org.opendaylight.ovsdb.lib.schema.typed.TypedTable; import java.util.Map; import java.util.Set; /** * This class is a typed interface to the Mirror Table */ @TypedTable (name="Mirror", database="Open_vSwitch", fromVersion="1.0.0") public interface Mirror extends TypedBaseTable { @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0") Column getNameColumn(); @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") void setName(Set name); @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") Set getName(); @TypedColumn(name="select_src_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0") Column> getSelectSrcPortColumn(); @TypedColumn(name="select_src_port", method=MethodType.SETDATA, fromVersion="1.0.0") void setSelectSrcPort(Set selectSrcPort); @TypedColumn(name="select_dst_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0") Column> getSelectDstPortColumn(); @TypedColumn(name="select_dst_port", method=MethodType.SETDATA, fromVersion="1.0.0") void setSelectDstPort(Set selectDstPrt); @TypedColumn(name="select_vlan", method=MethodType.GETCOLUMN, fromVersion="1.0.0") Column> getSelectVlanColumn(); @TypedColumn(name="select_vlan", method=MethodType.SETDATA, fromVersion="1.0.0") void setSelectVlan(Set selectVlan); @TypedColumn(name="output_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0") Column> getOutputPortColumn(); @TypedColumn(name="output_port", method=MethodType.SETDATA, fromVersion="1.0.0") void setOutputPort(Set outputPort); @TypedColumn (name="output_vlan", method= MethodType.GETCOLUMN, fromVersion="1.0.0") Column> getOutputVlanColumn(); @TypedColumn (name="output_vlan", method= MethodType.SETDATA, fromVersion="1.0.0") void setOutputVlan(Set outputVlan); @TypedColumn (name="statistics", method= MethodType.GETCOLUMN, fromVersion="6.4.0") Column> getStatisticsColumn(); @TypedColumn (name="statistics", method= MethodType.SETDATA, fromVersion="6.4.0") void setStatistics(Map statistics); @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0") Column> getExternalIdsColumn(); @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="1.0.0") void setExternalIds(Map externalIds); @TypedColumn (name="select_all", method= MethodType.GETCOLUMN, fromVersion="6.2.0") Column getSelectAllColumn(); @TypedColumn (name="select_all", method= MethodType.SETDATA, fromVersion="6.2.0") void setSelectAll(Boolean selectAll); }