2 * [[ Authors will Fill in the Copyright header ]]
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 : Brent Salisbury, Madhu Venugopal, Evan Zeller
10 package org.opendaylight.ovsdb.lib.table;
12 import java.math.BigInteger;
14 import org.opendaylight.ovsdb.lib.notation.OvsDBMap;
15 import org.opendaylight.ovsdb.lib.notation.OvsDBSet;
17 import com.fasterxml.jackson.annotation.JsonIgnore;
19 public class Interface extends Table<Interface> {
21 public static Name<Interface> NAME = new Name<Interface>("Interface") {};
24 private OvsDBMap<String, String> options;
26 private OvsDBSet<BigInteger> ofport;
27 private OvsDBSet<String> mac;
28 private OvsDBMap<String, Integer> statistics;
29 private OvsDBMap<String, String> status;
30 private OvsDBMap<String, String> other_config;
31 private OvsDBMap<String, String> external_ids;
33 public String getName() {
37 public void setName(String name) {
41 public OvsDBMap<String, String> getOptions() {
45 public void setOptions(OvsDBMap<String, String> options) {
46 this.options = options;
49 public String getType() {
53 public void setType(String type) {
57 public OvsDBSet<BigInteger> getOfport() {
61 public void setOfport(OvsDBSet<BigInteger> ofport) {
65 public OvsDBSet<String> getMac() {
69 public void setMac(OvsDBSet<String> mac) {
73 public OvsDBMap<String, Integer> getStatistics() {
77 public void setStatistics(OvsDBMap<String, Integer> statistics) {
78 this.statistics = statistics;
81 public OvsDBMap<String, String> getStatus() {
85 public void setStatus(OvsDBMap<String, String> status) {
89 public OvsDBMap<String, String> getOther_config() {
93 public void setOther_config(OvsDBMap<String, String> other_config) {
94 this.other_config = other_config;
97 public OvsDBMap<String, String> getExternal_ids() {
101 public void setExternal_ids(OvsDBMap<String, String> external_ids) {
102 this.external_ids = external_ids;
107 public Name<Interface> getTableName() {
112 public String toString() {
113 return "Interface [name=" + name + ", options=" + options + ", type="
114 + type + ", ofport=" + ofport + ", mac=" + mac
115 + ", statistics=" + statistics + ", status=" + status
116 + ", other_config=" + other_config + ", external_ids="
117 + external_ids + "]";