2 * Copyright (C) 2014 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.hardwarevtep;
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;
19 @TypedTable(name="Logical_Binding_Stats", database="hardware_vtep", fromVersion="1.0.0")
20 public interface LogicalBindingStats extends TypedBaseTable<GenericTableSchema> {
22 @TypedColumn(name="bytes_from_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
23 public Column<GenericTableSchema, Long> getBytesFromLocalColumn();
25 @TypedColumn(name="bytes_from_local", method=MethodType.SETDATA, fromVersion="1.0.0")
26 public void setBytesFromLocal(Long bytesFromLocal);
28 @TypedColumn(name="packets_from_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
29 public Column<GenericTableSchema, Long> getPacketsFromLocalColumn();
31 @TypedColumn(name="packets_from_local", method=MethodType.SETDATA, fromVersion="1.0.0")
32 public void setPacketsFromLocal(Long packetsFromLocal);
34 @TypedColumn(name="bytes_to_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
35 public Column<GenericTableSchema, Long> getBytesToLocalColumn();
37 @TypedColumn(name="bytes_to_local", method=MethodType.SETDATA, fromVersion="1.0.0")
38 public void setBytesToLocal(Long bytesToLocal);
40 @TypedColumn(name="packets_to_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
41 public Column<GenericTableSchema, Long> getPacketsToLocalColumn();
43 @TypedColumn(name="packets_to_local", method=MethodType.SETDATA, fromVersion="1.0.0")
44 public void setPacketsToLocal(Long packetsToLocal);