2 * Copyright (c) 2013, 2015 Red Hat, Inc. and others. All rights reserved.
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
9 package org.opendaylight.ovsdb.schema.openvswitch;
13 import org.opendaylight.ovsdb.lib.notation.Column;
14 import org.opendaylight.ovsdb.lib.notation.UUID;
15 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
16 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
23 * This class is a typed interface to the Open_vSwitch table.
25 @TypedTable(name = "Open_vSwitch", database = "Open_vSwitch", fromVersion = "1.0.0")
26 public interface OpenVSwitch extends TypedBaseTable<GenericTableSchema> {
28 @TypedColumn(name = "bridges", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
29 Column<GenericTableSchema, Set<UUID>> getBridgesColumn();
31 @TypedColumn(name = "bridges", method = MethodType.SETDATA, fromVersion = "1.0.0")
32 void setBridges(Set<UUID> bridges);
34 @TypedColumn(name = "managers", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "2.0.0")
35 Column<GenericTableSchema, Set<UUID>> getManagersColumn();
37 @TypedColumn(name = "managers", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "2.0.0")
38 void setManagers(Set<UUID> managers);
40 @TypedColumn(name = "manager_options", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
41 Column<GenericTableSchema, Set<UUID>> getManagerOptionsColumn();
43 @TypedColumn(name = "manager_options", method = MethodType.SETDATA, fromVersion = "1.0.0")
44 void setManagerOptions(Set<UUID> managerOptions);
46 @TypedColumn(name = "ssl", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
47 Column<GenericTableSchema, Set<UUID>> getSslColumn();
49 @TypedColumn(name = "ssl", method = MethodType.SETDATA, fromVersion = "1.0.0")
50 void setSsl(Set<UUID> ssl);
52 @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "5.1.0")
53 Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
55 @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "5.1.0")
56 void setOtherConfig(Map<String, String> otherConfig);
58 @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
59 Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
61 @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0")
62 void setExternalIds(Map<String, String> externalIds);
64 @TypedColumn(name = "next_cfg", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
65 Column<GenericTableSchema, Long> getNextConfigColumn();
67 @TypedColumn(name = "next_cfg", method = MethodType.SETDATA, fromVersion = "1.0.0")
68 void setNextConfig(Long nextConfig);
70 @TypedColumn(name = "cur_cfg", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
71 Column<GenericTableSchema, Long> getCurrentConfigColumn();
73 @TypedColumn(name = "cur_cfg", method = MethodType.SETDATA, fromVersion = "1.0.0")
74 void setCurrentConfig(Long currentConfig);
76 @TypedColumn(name = "capabilities", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "6.7.0")
77 Column<GenericTableSchema, Map<String, UUID>> getCapabilitiesColumn();
79 @TypedColumn(name = "capabilities", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "6.7.0")
80 void setCapabilities(Map<String, UUID> capabilities);
82 @TypedColumn(name = "statistics", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
83 Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();
85 @TypedColumn(name = "statistics", method = MethodType.SETDATA, fromVersion = "1.0.0")
86 void setStatistics(Map<String, Long> statistics);
88 @TypedColumn(name = "ovs_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
89 Column<GenericTableSchema, Set<String>> getOvsVersionColumn();
91 @TypedColumn(name = "ovs_version", method = MethodType.SETDATA, fromVersion = "1.0.0")
92 void setOvsVersion(Set<String> ovsVersion);
94 @TypedColumn(name = "db_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
95 Column<GenericTableSchema, Set<String>> getDbVersionColumn();
97 @TypedColumn(name = "db_version", method = MethodType.SETDATA, fromVersion = "1.0.0")
98 void setDbVersion(Set<String> dbVersion);
100 @TypedColumn(name = "system_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
101 Column<GenericTableSchema, Set<String>> getSystemTypeColumn();
103 @TypedColumn(name = "system_type", method = MethodType.SETDATA, fromVersion = "1.0.0")
104 void setSystemType(Set<String> systemType);
106 @TypedColumn(name = "system_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
107 Column<GenericTableSchema, Set<String>> getSystemVersionColumn();
109 @TypedColumn(name = "system_version", method = MethodType.SETDATA, fromVersion = "1.0.0")
110 void setSystemVersion(Set<String> systemVersion);
112 @TypedColumn(name = "datapath_types", method = MethodType.GETCOLUMN, fromVersion = "7.12.1")
113 Column<GenericTableSchema, Set<String>> getDatapathTypesColumn();
115 @TypedColumn(name = "datapath_types", method = MethodType.SETDATA, fromVersion = "7.12.1")
116 @SuppressWarnings("checkstyle:ParameterName")
117 void setDatapathTypes(Set<String> datapath_types);
119 @TypedColumn(name = "iface_types", method = MethodType.GETCOLUMN, fromVersion = "7.12.1")
120 Column<GenericTableSchema, Set<String>> getIfaceTypesColumn();
122 @TypedColumn(name = "iface_types", method = MethodType.SETDATA, fromVersion = "7.12.1")
123 @SuppressWarnings("checkstyle:ParameterName")
124 void setIfaceTypes(Set<String> iface_types);
126 @TypedColumn(name = "dpdk_initialized", method = MethodType.GETCOLUMN, fromVersion = "7.16.0")
127 Column<GenericTableSchema, Set<Boolean>> getDpdkInitializedColumn();
129 @TypedColumn(name = "dpdk_initialized", method = MethodType.SETDATA, fromVersion = "7.16.0")
130 @SuppressWarnings("checkstyle:ParameterName")
131 void setDpdkInitialized(Set<Boolean> dpdk_initialized);
133 @TypedColumn(name = "dpdk_version", method = MethodType.GETCOLUMN, fromVersion = "7.16.0")
134 Column<GenericTableSchema, Set<String>> getDpdkVersionColumn();
136 @TypedColumn(name = "dpdk_version", method = MethodType.SETDATA, fromVersion = "7.16.0")
137 @SuppressWarnings("checkstyle:ParameterName")
138 void setDpdkVersion(Set<String> dpdk_version);