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;
16 import org.opendaylight.ovsdb.lib.notation.UUID;
18 import com.fasterxml.jackson.annotation.JsonIgnore;
20 public class Port extends Table<Port> {
22 public static final Name<Port> NAME = new Name<Port>("Port") {};
25 private OvsDBSet<BigInteger> tag;
26 private OvsDBSet<BigInteger> trunks;
27 private OvsDBSet<UUID> interfaces;
28 private OvsDBSet<String> mac;
29 private OvsDBSet<UUID> qos;
30 private OvsDBMap<String, String> other_config;
31 private OvsDBMap<String, String> external_ids;
36 public String getName() {
40 public void setName(String name) {
44 public OvsDBSet<BigInteger> getTag() {
48 public void setTag(OvsDBSet<BigInteger> tag) {
52 public OvsDBSet<BigInteger> getTrunks() {
56 public void setTrunks(OvsDBSet<BigInteger> trunks) {
60 public OvsDBSet<UUID> getInterfaces() {
64 public void setInterfaces(OvsDBSet<UUID> interfaces) {
65 this.interfaces = interfaces;
68 public OvsDBSet<String> getMac() {
72 public void setMac(OvsDBSet<String> mac) {
76 public OvsDBSet<UUID> getQos() {
80 public void setQos(OvsDBSet<UUID> qos) {
84 public OvsDBMap<String, String> getOther_config() {
88 public void setOther_config(OvsDBMap<String, String> other_config) {
89 this.other_config = other_config;
92 public OvsDBMap<String, String> getExternal_ids() {
96 public void setExternal_ids(OvsDBMap<String, String> external_ids) {
97 this.external_ids = external_ids;
102 public Name<Port> getTableName() {
107 public String toString() {
108 return "Port [name=" + name + ", tag=" + tag + ", trunks=" + trunks
109 + ", interfaces=" + interfaces + ", mac=" + mac + ", qos="
110 + qos + ", other_config=" + other_config + ", external_ids="
111 + external_ids + "]";
114 public enum Column implements org.opendaylight.ovsdb.lib.table.Column<Port> {