blob: f4ffd0b2ed2ccf9f8a6511178355df61ae72691d [file] [log] [blame]
Jian Li43dc9ca2020-12-19 04:01:49 +09001/*
2 * Copyright 2020-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 */
16package org.onosproject.kubevirtnode.api;
17
18/**
19 * Provides constants used in KubeVirt node services.
20 */
21public final class Constants {
22
23 private Constants() {
24 }
25
Jian Li171582e2020-12-21 01:44:05 +090026 public static final String HOST_NAME = "hostname";
27 public static final String TYPE = "type";
28 public static final String MANAGEMENT_IP = "managementIp";
29 public static final String DATA_IP = "dataIp";
30
Jian Li43dc9ca2020-12-19 04:01:49 +090031 public static final String VXLAN = "vxlan";
32 public static final String GRE = "gre";
33 public static final String GENEVE = "geneve";
34
Jian Li138f51f2021-01-06 03:29:58 +090035 public static final String INTEGRATION_BRIDGE = "br-int";
36 public static final String TUNNEL_BRIDGE = "br-tun";
37
38 public static final String INTEGRATION_TO_TUNNEL = "int-to-tun";
39 public static final String TUNNEL_TO_INTEGRATION = "tun-to-int";
40
41 public static final String BRIDGE_PREFIX = "br-";
42 public static final String INTEGRATION_TO_PHYSICAL_PREFIX = "int-to-";
43 public static final String PHYSICAL_TO_INTEGRATION_SUFFIX = "-to-int";
44
45 public static final String FLOW_KEY = "flow";
46
Jian Li43dc9ca2020-12-19 04:01:49 +090047 public static final String DEFAULT_CLUSTER_NAME = "default";
48}