Hyunsun Moon | 5401aaa | 2016-06-12 17:40:34 -0700 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 16 | package org.opencord.cordvtn.api; |
| 17 | |
| 18 | /** |
| 19 | * Provides constants used in CORD VTN services. |
| 20 | */ |
| 21 | public 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 | |
Hyunsun Moon | 0592c3d | 2016-06-23 14:47:52 -0700 | [diff] [blame] | 33 | public static final String PORT_NAME = "portName"; |
Hyunsun Moon | 5401aaa | 2016-06-12 17:40:34 -0700 | [diff] [blame] | 34 | public static final String DEFAULT_TUNNEL = "vxlan"; |
Hyunsun Moon | 0592c3d | 2016-06-23 14:47:52 -0700 | [diff] [blame] | 35 | public static final String DEFAULT_BRIDGE = "br-int"; |
Hyunsun Moon | fb41794 | 2016-06-23 14:48:20 -0700 | [diff] [blame] | 36 | public static final String VPORT_PREFIX = "tap"; |
Hyunsun Moon | 5401aaa | 2016-06-12 17:40:34 -0700 | [diff] [blame] | 37 | } |