blob: b4c7329703e5a4428bb2b07d064d4d7d772ce47a [file] [log] [blame]
Hyunsun Moon5401aaa2016-06-12 17:40:34 -07001/*
2 * Copyright 2016-present Open Networking Laboratory
3 *
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.opencord.cordvtn.api;
17
18/**
19 * Provides constants used in CORD VTN services.
20 */
21public final class Constants {
22
23 private Constants() {
24 }
25
26 public static final String CORDVTN_APP_ID = "org.opencord.vtn";
27
28 public static final String ERROR_XOS_ACCESS = "XOS access is not configured";
29 public static final String ERROR_OPENSTACK_ACCESS = "OpenStack access is not configured";
30 public static final String MSG_OK = "OK";
31 public static final String MSG_NO = "NO";
32
33 public static final String PORT_NAME = "portName";
34 public static final String DEFAULT_TUNNEL = "vxlan";
35 public static final String DEFAULT_BRIDGE = "br-int";
36 public static final String VPORT_PREFIX = "tap";
37}