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