2 * Copyright (C) 2013 Red Hat, Inc.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 * Authors : Madhu Venugopal
10 package org.opendaylight.ovsdb.schema.openvswitch;
12 import org.opendaylight.ovsdb.lib.notation.Column;
13 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
14 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
15 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
16 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
23 * This class is a typed interface to the Controller Table
26 @TypedTable (name="Controller", database="Open_vSwitch", fromVersion="1.0.0")
27 public interface Controller extends TypedBaseTable<GenericTableSchema> {
29 @TypedColumn (name = "target", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
30 public Column<GenericTableSchema, Set <String>> getTargetColumn();
32 @TypedColumn (name = "target", method = MethodType.SETDATA, fromVersion = "1.0.0")
33 public void setTarget(Set <String> target);
35 @TypedColumn (name = "controller_burst_limit", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
36 public Column<GenericTableSchema, Long> getBurstLimitColumn();
38 @TypedColumn (name = "controller_burst_limit", method = MethodType.SETDATA, fromVersion = "1.0.0")
39 public void setBurstLimit(Long burstLimit);
41 @TypedColumn (name = "controller_rate_limit", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
42 public Column<GenericTableSchema, Long> getRateLimitColumn();
44 @TypedColumn (name = "controller_rate_limit", method = MethodType.SETDATA, fromVersion = "1.0.0")
45 public void setRateLimit(Long rateLimit);
47 @TypedColumn (name = "connection_mode", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
48 public Column<GenericTableSchema, Set<String>> getConnectionModeColumn();
50 @TypedColumn (name = "connection_mode", method = MethodType.SETDATA, fromVersion = "1.0.0")
51 public void setConnectionMode(Set<String> connectionMode);
53 @TypedColumn (name = "enable_async_messages", method = MethodType.GETCOLUMN, fromVersion = "6.7.0")
54 public Column<GenericTableSchema, Set<Boolean>> getEnableAsyncMessagesColumn();
56 @TypedColumn (name = "enable_async_messages", method = MethodType.SETDATA, fromVersion = "6.7.0")
57 public void setEnableAsyncMessages(Set<Boolean> enableAsyncMessages);
59 @TypedColumn (name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
60 public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
62 @TypedColumn (name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0")
63 public void setExternalIds(Map<String, String> externalIds);
65 @TypedColumn (name = "local_netmask", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
66 public Column<GenericTableSchema, Set<String>> getLocalNetmaskColumn();
68 @TypedColumn (name = "local_netmask", method = MethodType.SETDATA, fromVersion = "1.0.0")
69 public void setLocalNetmask(Set<String> localNetmask);
71 @TypedColumn (name = "local_gateway", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
72 public Column<GenericTableSchema, Set<String>> getLocalGatewayColumn();
74 @TypedColumn (name = "local_gateway", method = MethodType.SETDATA, fromVersion = "1.0.0")
75 public void setLocalGateway(Set<String> localGateway);
77 @TypedColumn (name = "status", method = MethodType.GETCOLUMN, fromVersion = "1.1.0")
78 public Column<GenericTableSchema, Map<String, String>> getStatusColumn();
80 @TypedColumn (name = "status", method = MethodType.SETDATA, fromVersion = "1.1.0")
81 public void setStatus(Map<String, String> status);
83 @TypedColumn (name = "role", method = MethodType.GETCOLUMN, fromVersion = "1.1.0")
84 public Column<GenericTableSchema, Set<String>> getRoleColumn();
86 @TypedColumn (name = "role", method = MethodType.SETDATA, fromVersion = "1.1.0")
87 public void setRole(Set<String> role);
89 @TypedColumn (name = "inactivity_probe", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
90 public Column<GenericTableSchema, Set<Long>> getInactivityProbeColumn();
92 @TypedColumn (name = "inactivity_probe", method = MethodType.SETDATA, fromVersion = "1.0.0")
93 public void setInactivityProbe(Set<Long> inactivityProbe);
95 @TypedColumn (name = "is_connected", method = MethodType.GETCOLUMN, fromVersion = "1.1.0")
96 public Column<GenericTableSchema, Boolean> getIsConnectedColumn();
98 @TypedColumn (name = "is_connected", method = MethodType.SETDATA, fromVersion = "1.1.0")
99 public void setIsConnected(Boolean isConnected);
101 @TypedColumn (name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "6.8.0")
102 public Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
104 @TypedColumn (name = "other_config", method = MethodType.SETDATA, fromVersion = "6.8.0")
105 public void setOtherConfig(Map<String, String> otherConfig);
107 @TypedColumn (name = "max_backoff", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
108 public Column<GenericTableSchema, Long> getMaxBackoffColumn();
110 @TypedColumn (name = "max_backoff", method = MethodType.SETDATA, fromVersion = "1.0.0")
111 public void setMaxBackoff(Long maxBackoff);
113 @TypedColumn (name = "local_ip", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
114 public Column<GenericTableSchema, Set<String>> getLocalIpColumn();
116 @TypedColumn (name = "local_ip", method = MethodType.SETDATA, fromVersion = "1.0.0")
117 public void setLocalIp(Set<String> localIp);
119 @TypedColumn (name = "discover_update_resolv_conf", method = MethodType.GETCOLUMN,
120 fromVersion="1.0.0", untilVersion="3.0.0")
121 public Column<GenericTableSchema, Set<String>> getDiscoverUpdateResolvConfColumn();
123 @TypedColumn (name = "discover_update_resolv_conf", method = MethodType.SETDATA,
124 fromVersion="1.0.0", untilVersion="3.0.0")
125 public void setDiscoverUpdateResolvConf(Set<String> discoverUpdateResolvConf);
127 @TypedColumn (name = "discover_accept_regex", method = MethodType.GETCOLUMN,
128 fromVersion="1.0.0", untilVersion="3.0.0")
129 public Column<GenericTableSchema, Set<String>> getDiscoverAcceptRegexColumn();
131 @TypedColumn (name = "discover_accept_regex", method = MethodType.SETDATA,
132 fromVersion="1.0.0", untilVersion="3.0.0")
133 public void setDiscoverAcceptRegex(Set<String> discoverAcceptRegex);