/* * 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 java.math.BigInteger; import java.util.Map; import java.util.Set; 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; /* * Reusing the existing Table definitions and many of columns are not defined here * TODO : Fill up the missing Columns and include Supported DB Version */ @TypedTable(name="Port", database="Open_vSwitch") public interface Port extends TypedBaseTable { @TypedColumn(name="name", method=MethodType.GETCOLUMN) public Column getNameColumn() ; @TypedColumn(name="name", method=MethodType.SETDATA) public void setName(String name) ; @TypedColumn(name="tag", method=MethodType.GETCOLUMN) public Column> getTagColumn() ; @TypedColumn(name="tag", method=MethodType.SETDATA) public void setTag(Set tag) ; @TypedColumn(name="trunks", method=MethodType.GETCOLUMN) public Column> getTrunksColumn() ; @TypedColumn(name="trunks", method=MethodType.SETDATA) public void setTrunks(Set trunks) ; @TypedColumn(name="interfaces", method=MethodType.GETCOLUMN) public Column> getInterfacesColumn() ; @TypedColumn(name="interfaces", method=MethodType.SETDATA) public void setInterfaces(Set interfaces) ; @TypedColumn(name="mac", method=MethodType.GETCOLUMN) public Column> getMacColumn() ; @TypedColumn(name="mac", method=MethodType.SETDATA) public void setMac(Set mac) ; @TypedColumn(name="qos", method=MethodType.GETCOLUMN) public Column> getQosColumn() ; @TypedColumn(name="qos", method=MethodType.SETDATA) public void setQos(Set qos) ; @TypedColumn(name="other_config", method=MethodType.GETCOLUMN) public Column> getOtherConfigColumn() ; @TypedColumn(name="other_config", method=MethodType.SETDATA) public void setOtherConfig(Map otherConfig) ; @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN) public Column> getExternalIdsColumn() ; @TypedColumn(name="external_ids", method=MethodType.SETDATA) public void setExternalIds(Map externalIds) ; }