Hyunsun Moon | 5401aaa | 2016-06-12 17:40:34 -0700 | [diff] [blame] | 1 | /* |
Brian O'Connor | 80dff97 | 2017-08-03 22:46:30 -0700 | [diff] [blame] | 2 | * Copyright 2016-present Open Networking Foundation |
Hyunsun Moon | 5401aaa | 2016-06-12 17:40:34 -0700 | [diff] [blame] | 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 | |
Hyunsun Moon | 5401aaa | 2016-06-12 17:40:34 -0700 | [diff] [blame] | 28 | public static final String MSG_OK = "OK"; |
| 29 | public static final String MSG_NO = "NO"; |
| 30 | |
Hyunsun Moon | 5401aaa | 2016-06-12 17:40:34 -0700 | [diff] [blame] | 31 | public static final String DEFAULT_TUNNEL = "vxlan"; |
Hyunsun Moon | 81a1356 | 2016-08-04 13:48:08 -0700 | [diff] [blame] | 32 | public static final String INTEGRATION_BRIDGE = "br-int"; |
Hyunsun Moon | 1e88fef | 2016-08-04 14:00:35 -0700 | [diff] [blame] | 33 | public static final String NOT_APPLICABLE = "N/A"; |
Hyunsun Moon | 81a1356 | 2016-08-04 13:48:08 -0700 | [diff] [blame] | 34 | |
Hyunsun Moon | 3fc0cbc | 2016-11-22 18:29:12 -0800 | [diff] [blame] | 35 | public static final String DEFAULT_OF_PROTOCOL = "tcp"; |
| 36 | public static final int DEFAULT_OF_PORT = 6653; |
| 37 | public static final int DEFAULT_OVSDB_PORT = 6640; |
Hyunsun Moon | bcf4925 | 2017-02-21 22:28:41 +0900 | [diff] [blame] | 38 | public static final String DEFAULT_GATEWAY_MAC_STR = "00:00:00:00:00:01"; |
Hyunsun Moon | 5401aaa | 2016-06-12 17:40:34 -0700 | [diff] [blame] | 39 | } |