blob: b6382d796e7d51afc4ed584eaf13e357e0c12bc7 [file] [log] [blame]
Jian Li49109b52019-01-22 00:17:28 +09001/*
2 * Copyright 2019-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.k8snode.api;
17
18/**
19 * Provides constants used in Kubernetes node services.
20 */
21public final class Constants {
22
23 private Constants() {
24 }
25
Jian Lif16e8852019-01-22 22:55:31 +090026 public static final String INTEGRATION_BRIDGE = "kbr-int";
Jian Libf562c22019-04-15 18:07:14 +090027 public static final String EXTERNAL_BRIDGE = "kbr-ex";
Jian Li1a2eb5d2019-08-27 02:07:05 +090028 public static final String LOCAL_BRIDGE = "kbr-local";
Jian Lie2a04ce2020-07-01 19:07:02 +090029 public static final String TUNNEL_BRIDGE = "kbr-tun";
30 public static final String EXTERNAL_ROUTER = "kbr-router";
Jian Libf562c22019-04-15 18:07:14 +090031 public static final String INTEGRATION_TO_EXTERNAL_BRIDGE = "kbr-int-ex";
32 public static final String PHYSICAL_EXTERNAL_BRIDGE = "phy-kbr-ex";
Jian Li1a2eb5d2019-08-27 02:07:05 +090033 public static final String INTEGRATION_TO_LOCAL_BRIDGE = "kbr-int-local";
34 public static final String LOCAL_TO_INTEGRATION_BRIDGE = "kbr-local-int";
Jian Lie2a04ce2020-07-01 19:07:02 +090035 public static final String EXTERNAL_TO_ROUTER = "kbr-ex-router";
36 public static final String ROUTER_TO_EXTERNAL = "kbr-router-ex";
37 public static final String INTEGRATION_TO_TUN_BRIDGE = "kbr-int-tun";
38 public static final String TUN_TO_INTEGRATION_BRIDGE = "kbr-tun-int";
Jian Li49109b52019-01-22 00:17:28 +090039 public static final String VXLAN_TUNNEL = "vxlan";
40 public static final String GRE_TUNNEL = "gre";
41 public static final String GENEVE_TUNNEL = "geneve";
42
43 public static final String VXLAN = "vxlan";
44 public static final String GRE = "gre";
45 public static final String GENEVE = "geneve";
Jian Lie2a04ce2020-07-01 19:07:02 +090046
47 public static final String DEFAULT_CLUSTER_NAME = "default";
48 public static final String DEFAULT_CONFIG_MODE = "NORMAL";
49
50 public static final int DEFAULT_SEGMENT_ID = 100;
Jian Lic2242bd2020-09-03 13:12:14 +090051 public static final String DEFAULT_EXTERNAL_GATEWAY_MAC = "fa:00:00:00:00:01";
52 public static final String DEFAULT_EXTERNAL_BRIDGE_MAC = "fa:00:00:00:00:02";
Jian Li49109b52019-01-22 00:17:28 +090053}