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;
17 import org.opendaylight.ovsdb.lib.table.internal.Table;
19 import com.fasterxml.jackson.annotation.JsonIgnore;
21 public class Port extends Table<Port> {
23 public static final Name<Port> NAME = new Name<Port>("Port") {};
26 private OvsDBSet<BigInteger> tag;
27 private OvsDBSet<BigInteger> trunks;
28 private OvsDBSet<UUID> interfaces;
29 private OvsDBSet<String> mac;
30 private OvsDBSet<UUID> qos;
31 private OvsDBMap<String, String> other_config;
32 private OvsDBMap<String, String> external_ids;
37 public String getName() {
41 public void setName(String name) {
45 public OvsDBSet<BigInteger> getTag() {
49 public void setTag(OvsDBSet<BigInteger> tag) {
53 public OvsDBSet<BigInteger> getTrunks() {
57 public void setTrunks(OvsDBSet<BigInteger> trunks) {
61 public OvsDBSet<UUID> getInterfaces() {
65 public void setInterfaces(OvsDBSet<UUID> interfaces) {
66 this.interfaces = interfaces;
69 public OvsDBSet<String> getMac() {
73 public void setMac(OvsDBSet<String> mac) {
77 public OvsDBSet<UUID> getQos() {
81 public void setQos(OvsDBSet<UUID> qos) {
85 public OvsDBMap<String, String> getOther_config() {
89 public void setOther_config(OvsDBMap<String, String> other_config) {
90 this.other_config = other_config;
93 public OvsDBMap<String, String> getExternal_ids() {
97 public void setExternal_ids(OvsDBMap<String, String> external_ids) {
98 this.external_ids = external_ids;
103 public Name<Port> getTableName() {
108 public String toString() {
109 return "Port [name=" + name + ", tag=" + tag + ", trunks=" + trunks
110 + ", interfaces=" + interfaces + ", mac=" + mac + ", qos="
111 + qos + ", other_config=" + other_config + ", external_ids="
112 + external_ids + "]";
115 public enum Column implements org.opendaylight.ovsdb.lib.table.internal.Column<Port> {