blob: 0594dd2fb5b2d50526977d060bb259b5c1d5cea0 [file] [log] [blame]
Sho SHIMIZUe4efe452015-08-26 15:06:55 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
Sho SHIMIZUe4efe452015-08-26 15:06:55 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.ovsdb.rfc.table;
17
18/**
19 * Ovsdb table name. Refer to RFC7047's Section 9.2.
20 */
21public enum OvsdbTable {
22 INTERFACE("Interface"), BRIDGE("Bridge"), CONTROLLER("Controller"),
23 PORT("Port"), OPENVSWITCH("Open_vSwitch"), FLWTABLE("Flow_Table"),
Frank Wang28082302016-09-20 14:43:29 +080024 QOS("QoS"), QUEUE("Queue"), MIRROR("Mirror"), MANAGER("Manager"),
Sho SHIMIZUe4efe452015-08-26 15:06:55 -070025 NETFLOW("NetFlow"), SSL("SSL"), SFLOW("sFlow"), IPFIX("IPFIX"),
26 FLOWSAMPLECOLLECTORSET("Flow_Sample_Collector_Set");
27
28 private final String tableName;
29
kdarapufce5abb2018-05-10 19:37:53 +053030 OvsdbTable(String tableName) {
Sho SHIMIZUe4efe452015-08-26 15:06:55 -070031 this.tableName = tableName;
32 }
33
34 /**
35 * Returns the table name for OvsdbTable.
36 * @return the table name
37 */
38 public String tableName() {
39 return tableName;
40 }
41}