/* * 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, Dave Tucker */ package org.opendaylight.ovsdb.schema.openvswitch; 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; /** * This class is a typed interface to the Open_vSwitch table */ @TypedTable(name="Open_vSwitch", database="Open_vSwitch") public interface OpenVSwitch extends TypedBaseTable { @TypedColumn(name="bridges", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getBridgesColumn(); @TypedColumn(name="bridges", method=MethodType.SETDATA, fromVersion="1.0.0") public void setBridges(Set bridges); @TypedColumn(name="managers", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="2.0.0") public Column> getManagersColumn(); @TypedColumn(name="managers", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="2.0.0") public void setManagers(Set managers); @TypedColumn(name="manager_options", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getManagerOptionsColumn(); @TypedColumn(name="manager_options", method=MethodType.SETDATA, fromVersion="1.0.0") public void setManagerOptions(Set managerOptions); @TypedColumn(name="ssl", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getSslColumn(); @TypedColumn(name="ssl", method=MethodType.SETDATA, fromVersion="1.0.0") public void setSsl(Set ssl); @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="5.1.0") public Column> getOtherConfigColumn() ; @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="5.1.0") public void setOtherConfig(Map otherConfig); @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getExternalIdsColumn() ; @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="1.0.0") public void setExternalIds(Map externalIds); @TypedColumn(name="next_cfg", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getNextConfigColumn(); @TypedColumn(name="next_cfg", method=MethodType.SETDATA, fromVersion="1.0.0") public void setNextConfig(Integer nextConfig); @TypedColumn(name="cur_cfg", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getCurrentConfigColumn(); @TypedColumn(name="cur_cfg", method=MethodType.SETDATA, fromVersion="1.0.0") public void setCurrentConfig(Integer currentConfig); @TypedColumn(name="capabilities", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="6.7.0") public Column> getCapabilitiesColumn(); @TypedColumn(name="capabilities", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="6.7.0") public void setCapabilities(Map capabilities); @TypedColumn(name="statistics", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getStatisticsColumn(); @TypedColumn(name="statistics", method=MethodType.SETDATA, fromVersion="1.0.0") public void setStatistics(Map statistics); @TypedColumn(name="ovs_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getOvsVersionColumn(); @TypedColumn(name="ovs_version", method=MethodType.SETDATA, fromVersion="1.0.0") public void setOvsVersion(Set ovsVersion); @TypedColumn(name="db_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getDbVersionColumn(); @TypedColumn(name="db_version", method=MethodType.SETDATA, fromVersion="1.0.0") public void setDbVersion(Set dbVersion); @TypedColumn(name="system_type", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getSystemTypeColumn(); @TypedColumn(name="system_type", method=MethodType.SETDATA, fromVersion="1.0.0") public void setSystemType(Set systemType); @TypedColumn(name="system_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getSystemVersionColumn(); @TypedColumn(name="system_version", method=MethodType.SETDATA, fromVersion="1.0.0") public void setSystemVersion(Set systemVersion); }