blob: c1d00a19f46a3835200eb36841ec37389d473cc3 [file] [log] [blame]
YuanyouZhangd06bb6b2015-08-05 16:59:07 +08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
YuanyouZhangd06bb6b2015-08-05 16:59:07 +08003 *
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.controller;
17
18/**
19 * Ovsdb related constants.
20 */
21public final class OvsdbConstant {
22
23 /**
24 * Default constructor.
25 *
26 * The constructor is private to prevent creating an instance of this
27 * utility class.
28 */
29 private OvsdbConstant() {
30 }
31
32 /** Ovsdb database Open_vSwitch. */
33 public static final String DATABASENAME = "Open_vSwitch";
34
35 /** Ovsdb table Bridge. */
36 public static final String BRIDGE = "Bridge";
37
38 /** Ovsdb table Interface. */
39 public static final String INTERFACE = "Interface";
40
41 /** Ovsdb table Controller. */
42 public static final String CONTROLLER = "Controller";
43
44 /** Ovsdb table Port. */
45 public static final String PORT = "Port";
46
47 /** Ovsdb bridge name. */
48 public static final String INTEGRATION_BRIDGE = "br-int";
49
50 /** Ovsdb vxlan tunnel type. */
51 public static final String TYPEVXLAN = "vxlan";
52
53 /** Openflow version. */
54 public static final String OPENFLOW13 = "OpenFlow13";
55
56 /** Ovsdb external_id_interface_id.. */
57 public static final String EXTERNAL_ID_INTERFACE_ID = "iface-id";
58
59 /** Ovsdb external_id_vm_mac. */
60 public static final String EXTERNAL_ID_VM_MAC = "attached-mac";
61
62 /** Openflow port. */
Charles Chan45624b82015-08-24 00:29:20 +080063 public static final int OFPORT = 6653;
YuanyouZhangd06bb6b2015-08-05 16:59:07 +080064
65 /** Ovsdb port. */
66 public static final int OVSDBPORT = 6640;
67
68}