Merge branch 'master' into topic/schema
[ovsdb.git] / schemas / hardware_vtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / McastMacsRemote.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
3  *
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
7  *
8  * Authors : Madhu Venugopal
9  */
10 package org.opendaylight.ovsdb.schema.hardwarevtep;
11
12 import org.opendaylight.ovsdb.lib.notation.Column;
13 import org.opendaylight.ovsdb.lib.notation.UUID;
14 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
15 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
16 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
19
20 @TypedTable(name="Mcast_Macs_Remote", database="hardware_vtep", fromVersion="1.0.0")
21 public interface McastMacsRemote extends TypedBaseTable {
22     @TypedColumn(name="MAC", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
23     public Column<GenericTableSchema, String> getMacColumn();
24
25     @TypedColumn(name="MAC", method=MethodType.GETDATA, fromVersion="1.0.0")
26     public String getMac();
27
28     @TypedColumn(name="MAC", method=MethodType.SETDATA, fromVersion="1.0.0")
29     public void setMac(String mac);
30
31
32     @TypedColumn(name="logical_switch", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
33     public Column<GenericTableSchema, UUID> getLogicalSwitchColumn();
34
35     @TypedColumn(name="logical_switch", method=MethodType.SETDATA, fromVersion="1.0.0")
36     public void setLogicalSwitch(UUID logicalSwitch);
37
38     @TypedColumn(name="locator_set", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
39     public Column<GenericTableSchema, UUID> getLocatorSetColumn();
40
41     @TypedColumn(name="locator_set", method=MethodType.SETDATA, fromVersion="1.0.0")
42     public void setLocatorSet(UUID locatorSet);
43
44
45     @TypedColumn(name="ipaddr", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
46     public Column<GenericTableSchema, String> getIpAddrColumn();
47
48     @TypedColumn(name="ipaddr", method=MethodType.GETDATA, fromVersion="1.0.0")
49     public String getIpAddr();
50
51     @TypedColumn(name="ipaddr", method=MethodType.SETDATA, fromVersion="1.0.0")
52     public void setIpAddress(String ipAddr);
53 }