/* * 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.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 Controller Table */ @TypedTable (name="Controller", database="Open_vSwitch", fromVersion="1.0.0") public interface Controller extends TypedBaseTable { @TypedColumn (name = "target", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column getTargetColumn(); @TypedColumn (name = "target", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setTarget(String target); @TypedColumn (name = "controller_burst_limit", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column getBurstLimitColumn(); @TypedColumn (name = "controller_burst_limit", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setBurstLimit(Long burstLimit); @TypedColumn (name = "controller_rate_limit", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column getRateLimitColumn(); @TypedColumn (name = "controller_rate_limit", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setRateLimit(Long rateLimit); @TypedColumn (name = "connection_mode", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column> getConnectionModeColumn(); @TypedColumn (name = "connection_mode", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setConnectionMode(Set connectionMode); @TypedColumn (name = "enable_async_messages", method = MethodType.GETCOLUMN, fromVersion = "6.7.0") public Column> getEnableAsyncMessagesColumn(); @TypedColumn (name = "enable_async_messages", method = MethodType.SETDATA, fromVersion = "6.7.0") public void setEnableAsyncMessages(Set enableAsyncMessages); @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 = "local_netmask", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column> getLocalNetmaskColumn(); @TypedColumn (name = "local_netmask", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setLocalNetmask(Set localNetmask); @TypedColumn (name = "local_gateway", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column> getLocalGatewayColumn(); @TypedColumn (name = "local_gateway", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setLocalGateway(Set localGateway); @TypedColumn (name = "status", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") public Column> getStatusColumn(); @TypedColumn (name = "status", method = MethodType.SETDATA, fromVersion = "1.1.0") public void setStatus(Map status); @TypedColumn (name = "role", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") public Column> getRoleColumn(); @TypedColumn (name = "role", method = MethodType.SETDATA, fromVersion = "1.1.0") public void setRole(Set role); @TypedColumn (name = "inactivity_probe", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column> getInactivityProbeColumn(); @TypedColumn (name = "inactivity_probe", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setInactivityProbe(Set inactivityProbe); @TypedColumn (name = "is_connected", method = MethodType.GETCOLUMN, fromVersion = "1.1.0") public Column getIsConnectedColumn(); @TypedColumn (name = "is_connected", method = MethodType.SETDATA, fromVersion = "1.1.0") public void setIsConnected(Boolean isConnected); @TypedColumn (name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "6.8.0") public Column> getOtherConfigColumn(); @TypedColumn (name = "other_config", method = MethodType.SETDATA, fromVersion = "6.8.0") public void setOtherConfig(Map otherConfig); @TypedColumn (name = "max_backoff", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column getMaxBackoffColumn(); @TypedColumn (name = "max_backoff", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setMaxBackoff(Long maxBackoff); @TypedColumn (name = "local_ip", method = MethodType.GETCOLUMN, fromVersion = "1.0.0") public Column> getLocalIpColumn(); @TypedColumn (name = "local_ip", method = MethodType.SETDATA, fromVersion = "1.0.0") public void setLocalIp(Set localIp); @TypedColumn (name = "discover_update_resolv_conf", method = MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="3.0.0") public Column> getDiscoverUpdateResolvConfColumn(); @TypedColumn (name = "discover_update_resolv_conf", method = MethodType.SETDATA, fromVersion="1.0.0", untilVersion="3.0.0") public void setDiscoverUpdateResolvConf(Set discoverUpdateResolvConf); @TypedColumn (name = "discover_accept_regex", method = MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="3.0.0") public Column> getDiscoverAcceptRegexColumn(); @TypedColumn (name = "discover_accept_regex", method = MethodType.SETDATA, fromVersion="1.0.0", untilVersion="3.0.0") public void setDiscoverAcceptRegex(Set discoverAcceptRegex); }