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, Dave Tucker
10 package org.opendaylight.ovsdb.schema.openvswitch;
15 import org.opendaylight.ovsdb.lib.notation.Column;
16 import org.opendaylight.ovsdb.lib.notation.UUID;
17 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
18 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
20 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
21 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
25 * This class is a typed interface to the Open_vSwitch table
27 @TypedTable(name="Open_vSwitch", database="Open_vSwitch")
28 public interface OpenVSwitch extends TypedBaseTable {
30 @TypedColumn(name="bridges", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
31 public Column<GenericTableSchema, Set<UUID>> getBridgesColumn();
32 @TypedColumn(name="bridges", method=MethodType.SETDATA, fromVersion="1.0.0")
33 public void setBridges(Set<UUID> bridges);
35 @TypedColumn(name="managers", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="2.0.0")
36 public Column<GenericTableSchema, Set<UUID>> getManagersColumn();
37 @TypedColumn(name="managers", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="2.0.0")
38 public void setManagers(Set<UUID> managers);
40 @TypedColumn(name="manager_options", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
41 public Column<GenericTableSchema, Set<UUID>> getManagerOptionsColumn();
42 @TypedColumn(name="manager_options", method=MethodType.SETDATA, fromVersion="1.0.0")
43 public void setManagerOptions(Set<UUID> managerOptions);
45 @TypedColumn(name="ssl", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
46 public Column<GenericTableSchema, Set<UUID>> getSslColumn();
47 @TypedColumn(name="ssl", method=MethodType.SETDATA, fromVersion="1.0.0")
48 public void setSsl(Set<UUID> ssl);
50 @TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="5.1.0")
51 public Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn() ;
52 @TypedColumn(name="other_config", method=MethodType.SETDATA, fromVersion="5.1.0")
53 public void setOtherConfig(Map<String, String> otherConfig);
55 @TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
56 public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn() ;
57 @TypedColumn(name="external_ids", method=MethodType.SETDATA, fromVersion="1.0.0")
58 public void setExternalIds(Map<String, String> externalIds);
60 @TypedColumn(name="next_cfg", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
61 public Column<GenericTableSchema, Integer> getNextConfigColumn();
62 @TypedColumn(name="next_cfg", method=MethodType.SETDATA, fromVersion="1.0.0")
63 public void setNextConfig(Integer nextConfig);
65 @TypedColumn(name="cur_cfg", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
66 public Column<GenericTableSchema, Integer> getCurrentConfigColumn();
67 @TypedColumn(name="cur_cfg", method=MethodType.SETDATA, fromVersion="1.0.0")
68 public void setCurrentConfig(Integer currentConfig);
70 @TypedColumn(name="capabilities", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="6.7.0")
71 public Column<GenericTableSchema, Map<String, UUID>> getCapabilitiesColumn();
72 @TypedColumn(name="capabilities", method=MethodType.SETDATA, fromVersion="1.0.0", untilVersion="6.7.0")
73 public void setCapabilities(Map<String, UUID> capabilities);
75 @TypedColumn(name="statistics", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
76 public Column<GenericTableSchema, Map<String, Integer>> getStatisticsColumn();
77 @TypedColumn(name="statistics", method=MethodType.SETDATA, fromVersion="1.0.0")
78 public void setStatistics(Map<String, Integer> statistics);
80 @TypedColumn(name="ovs_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
81 public Column<GenericTableSchema, Set<String>> getOvsVersionColumn();
82 @TypedColumn(name="ovs_version", method=MethodType.SETDATA, fromVersion="1.0.0")
83 public void setOvsVersion(Set<String> ovsVersion);
85 @TypedColumn(name="db_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
86 public Column<GenericTableSchema, Set<String>> getDbVersionColumn();
87 @TypedColumn(name="db_version", method=MethodType.SETDATA, fromVersion="1.0.0")
88 public void setDbVersion(Set<String> dbVersion);
90 @TypedColumn(name="system_type", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
91 public Column<GenericTableSchema, Set<String>> getSystemTypeColumn();
92 @TypedColumn(name="system_type", method=MethodType.SETDATA, fromVersion="1.0.0")
93 public void setSystemType(Set<String> systemType);
95 @TypedColumn(name="system_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
96 public Column<GenericTableSchema, Set<String>> getSystemVersionColumn();
97 @TypedColumn(name="system_version", method=MethodType.SETDATA, fromVersion="1.0.0")
98 public void setSystemVersion(Set<String> systemVersion);