/* * 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.math.BigInteger; import java.util.Map; import java.util.Set; import org.opendaylight.ovsdb.lib.notation.Column; 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 Bridge Table */ @TypedTable(name="Interface", database="Open_vSwitch") public interface Interface extends TypedBaseTable { @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getNameColumn(); @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0") public void setName(String name); @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0") public String getName(); @TypedColumn(name="type", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column getTypeColumn(); @TypedColumn(name="type", method=MethodType.SETDATA, fromVersion="1.0.0") public void setType(String type); @TypedColumn(name="options", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getOptionsColumn(); @TypedColumn(name="options", method=MethodType.SETDATA, fromVersion="1.0.0") public void setOptions(Map options); @TypedColumn(name="ingress_policing_rate", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getIngressPolicingRateColumn(); @TypedColumn(name="ingress_policing_rate", method=MethodType.SETDATA, fromVersion="1.0.0") public void setIngressPolicingRate(Set ingressPolicingRate); @TypedColumn(name="ingress_policing_burst", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getIngressPolicingBurstColumn(); @TypedColumn(name="ingress_policing_burst", method=MethodType.SETDATA, fromVersion="1.0.0") public void setIngressPolicingBurst(Set ingressPolicingBurst); @TypedColumn(name="mac_in_use", method=MethodType.GETCOLUMN, fromVersion="7.1.0") public Column> getMacInUseColumn(); @TypedColumn(name="mac_in_use", method=MethodType.SETDATA, fromVersion="7.1.0") public void setMacInUse(Set macInUse); @TypedColumn(name="mac", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getMacColumn(); @TypedColumn(name="mac", method=MethodType.SETDATA, fromVersion="1.0.0") public void setMac(Set mac); @TypedColumn(name="ifindex", method=MethodType.GETCOLUMN, fromVersion="7.2.1") public Column getIfIndexColumn(); @TypedColumn(name="ifindex", method=MethodType.SETDATA, fromVersion="7.2.1") public void setIfIndex(BigInteger ifIndex); @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="ofport", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getOpenFlowPortColumn(); @TypedColumn(name="ofport", method=MethodType.SETDATA, fromVersion="1.0.0") public void setOpenFlowPort(Set openFlowPort); @TypedColumn(name="ofport_request", method=MethodType.GETCOLUMN, fromVersion="6.2.0") public Column> getOpenFlowPortRequestColumn(); @TypedColumn(name="ofport_request", method=MethodType.SETDATA, fromVersion="6.2.0") public void setOpenFlowPortRequest(String openFlowPortRequest); @TypedColumn(name="bfd", method=MethodType.GETCOLUMN, fromVersion="7.2.0") public Column> getBfdColumn(); @TypedColumn(name="bfd", method=MethodType.SETDATA, fromVersion="7.2.0") public void setBfd(Map bfd); @TypedColumn(name="bfd_status", method=MethodType.GETCOLUMN, fromVersion="7.2.0") public Column> getBfdStatusColumn(); @TypedColumn(name="bfd_status", method=MethodType.SETDATA, fromVersion="7.2.0") public void setBfdStatus(Map bfdStatus); @TypedColumn(name="monitor", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="3.5.0") public Column getMonitorColumn(); @TypedColumn(name="monitor", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="3.5.0") public void setMonitor(String monitor); @TypedColumn(name="cfm_mpid", method=MethodType.GETCOLUMN, fromVersion="4.0.0") public Column> getCfmMpidColumn(); @TypedColumn(name="cfm_mpid", method=MethodType.SETDATA) public void setCfmMpid(Set cfmMpid); @TypedColumn(name="cfm_remote_mpid", method=MethodType.GETCOLUMN, fromVersion="4.0.0", untilVersion="5.2.0") public Column> getCfmRemoteMpidColumn(); @TypedColumn(name="cfm_remote_mpid", method=MethodType.SETDATA, fromVersion="4.0.0", untilVersion="5.2.0") public void setCfmRemoteMpid(Set cfmRemoteMpid); @TypedColumn(name="cfm_remote_mpids", method=MethodType.GETCOLUMN, fromVersion="6.0.0") public Column> getCfmRemoteMpidsColumn(); @TypedColumn(name="cfm_remote_mpids", method=MethodType.SETDATA, fromVersion="6.0.0") public void setCfmRemoteMpids(Set cfmRemoteMpids); @TypedColumn(name="cfm_flap_count", method=MethodType.GETCOLUMN, fromVersion="7.3.0") public Column> getCfmFlapCountColumn(); @TypedColumn(name="cfm_flap_count", method=MethodType.SETDATA, fromVersion="7.3.0") public void setCfmFlapCount(Set cfmFlapCount); @TypedColumn(name="cfm_fault", method=MethodType.GETCOLUMN, fromVersion="4.0.0") public Column> getCfmFaultColumn(); @TypedColumn(name="cfm_fault", method=MethodType.SETDATA, fromVersion="4.0.0") public void setCfmFault(Set cfmFault); @TypedColumn(name="cfm_fault_status", method=MethodType.GETCOLUMN, fromVersion="6.6.0") public Column> getCfmFaultStatusColumn(); @TypedColumn(name="cfm_fault_status", method=MethodType.SETDATA, fromVersion="6.6.0") public void setCfmFaultStatus(Set cfmFaultStatus); @TypedColumn(name="cfm_remote_opstate", method=MethodType.GETCOLUMN, fromVersion="6.10.0") public Column> getCfmRemoteOpStateColumn(); @TypedColumn(name="cfm_remote_opstate", method=MethodType.SETDATA, fromVersion="6.10.0") public void setCfmRemoteOpState(Set cfmRemoteOpState); @TypedColumn(name="cfm_health", method=MethodType.GETCOLUMN, fromVersion="6.9.0") public Column> getCfmHealthColumn(); @TypedColumn(name="cfmHealth", method=MethodType.SETDATA, fromVersion="6.9.0") public void setCfmHealth(Set cfmHealth); @TypedColumn(name="lacp_current", method=MethodType.GETCOLUMN, fromVersion="3.3.0") public Column> getLacpCurrentColumn(); @TypedColumn(name="lacp_current", method=MethodType.SETDATA, fromVersion="3.3.0") public void setLacpCurrent(Set lacpCurrent); @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getOtherConfigColumn(); @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="1.0.0") public void setOtherConfig(Map otherConfig); @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="status", method=MethodType.GETCOLUMN, fromVersion="1.0.0") public Column> getStatusColumn(); @TypedColumn(name="status", method=MethodType.SETDATA, fromVersion="1.0.0") public void setStatus(Map status); @TypedColumn(name="admin_state", method=MethodType.GETCOLUMN, fromVersion="1.0.6") public Column> getAdminStateColumn(); @TypedColumn(name="admin_state", method=MethodType.SETDATA, fromVersion="1.0.6") public void setAdminState(Set adminState); @TypedColumn(name="link_state", method=MethodType.GETCOLUMN, fromVersion="1.0.6") public Column> getLinkStateColumn(); @TypedColumn(name="link_state", method=MethodType.SETDATA, fromVersion="1.0.6") public void setLinkState(Map linkState); @TypedColumn(name="link_resets", method=MethodType.GETCOLUMN, fromVersion="6.2.0") public Column> getLinkResetsColumn(); @TypedColumn(name="link_resets", method=MethodType.SETDATA, fromVersion="6.2.0") public void setLinkResets(Set linkResets); @TypedColumn(name="link_speed", method=MethodType.GETCOLUMN, fromVersion="1.0.6") public Column> getLinkSpeedColumn(); @TypedColumn(name="link_speed", method=MethodType.SETDATA, fromVersion="1.0.6") public void setLinkSpeed(SetlinkSpeed); @TypedColumn(name="duplex", method=MethodType.GETCOLUMN, fromVersion="1.0.6") public Column> getDuplexColumn(); @TypedColumn(name="duplex", method=MethodType.SETDATA, fromVersion="1.0.6") public void setDuplex(Set duplex); @TypedColumn(name="mtu", method=MethodType.GETCOLUMN, fromVersion="1.0.6") public Column> getMtuColumn(); @TypedColumn(name="mtu", method=MethodType.SETDATA, fromVersion="1.0.6") public void setMtu(Set mtu); @TypedColumn(name="error", method=MethodType.GETCOLUMN, fromVersion="7.7.0") public Column> getErrorColumn(); @TypedColumn(name="error", method=MethodType.SETDATA, fromVersion="7.7.0") public void setError(Set error); }