Jian Li | ff8b9f9 | 2018-06-05 17:36:37 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018-present Open Networking Foundation |
| 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.onosproject.openstacktelemetry.api; |
| 17 | |
Jian Li | ff8b9f9 | 2018-06-05 17:36:37 +0900 | [diff] [blame] | 18 | /** |
| 19 | * Provides constants used in OpenstackTelemetry. |
| 20 | */ |
| 21 | public final class Constants { |
| 22 | |
| 23 | private Constants() { |
| 24 | } |
| 25 | |
| 26 | public static final String OPENSTACK_TELEMETRY_APP_ID = "org.onosproject.openstacktelemetry"; |
| 27 | |
Jian Li | 4df75b1 | 2018-06-07 22:11:04 +0900 | [diff] [blame] | 28 | // default configuration variables for InfluxDB |
Boyoung Jeong | 4d1c9d1 | 2018-07-20 17:09:20 +0900 | [diff] [blame] | 29 | public static final String DEFAULT_INFLUXDB_MEASUREMENT = "sonaflow"; |
Jian Li | d1ce10a | 2018-06-12 13:47:23 +0900 | [diff] [blame] | 30 | |
Jian Li | e6110b7 | 2018-07-06 19:06:36 +0900 | [diff] [blame] | 31 | public static final String VXLAN = "VXLAN"; |
| 32 | public static final String VLAN = "VLAN"; |
| 33 | public static final String FLAT = "FLAT"; |
Boyoung Jeong | 1cca5e8 | 2018-08-01 21:00:08 +0900 | [diff] [blame] | 34 | |
Jian Li | 69600e0 | 2018-12-24 13:21:18 +0900 | [diff] [blame] | 35 | public static final String GRPC_SCHEME = "grpc"; |
| 36 | public static final String KAFKA_SCHEME = "kafka"; |
| 37 | public static final String INFLUXDB_SCHEME = "influxdb"; |
| 38 | public static final String PROMETHEUS_SCHEME = "prometheus"; |
| 39 | public static final String REST_SCHEME = "rest"; |
| 40 | |
Boyoung Jeong | 1cca5e8 | 2018-08-01 21:00:08 +0900 | [diff] [blame] | 41 | // default configuration variables for ONOS GUI |
| 42 | public static final int DEFAULT_DATA_POINT_SIZE = 17280; |
Jian Li | ff8b9f9 | 2018-06-05 17:36:37 +0900 | [diff] [blame] | 43 | } |