Jian Li | 4aa1764 | 2019-01-30 00:01:11 +0900 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 16 | package org.onosproject.k8snetworking.impl; |
| 17 | |
| 18 | /** |
| 19 | * Name/Value constants for properties. |
| 20 | */ |
| 21 | public final class OsgiPropertyConstants { |
| 22 | |
| 23 | private OsgiPropertyConstants() { |
| 24 | } |
| 25 | |
| 26 | static final String GATEWAY_MAC = "gatewayMac"; |
| 27 | static final String GATEWAY_MAC_DEFAULT = "fe:00:00:00:00:02"; |
| 28 | |
| 29 | static final String ARP_MODE = "arpMode"; |
| 30 | static final String ARP_MODE_DEFAULT = "proxy"; |
| 31 | |
| 32 | static final String DHCP_SERVER_MAC = "dhcpServerMac"; |
| 33 | static final String DHCP_SERVER_MAC_DEFAULT = "fe:00:00:00:00:02"; |
Jian Li | 004526d | 2019-02-25 16:26:27 +0900 | [diff] [blame] | 34 | |
| 35 | static final String SERVICE_IP_NAT_MODE = "serviceIpNatMode"; |
| 36 | static final String SERVICE_IP_NAT_MODE_DEFAULT = "stateless"; |
Jian Li | f5da78a | 2019-04-15 01:52:23 +0900 | [diff] [blame] | 37 | static final String SERVICE_CIDR = "serviceCidr"; |
| 38 | static final String SERVICE_IP_CIDR_DEFAULT = "10.96.0.0/12"; |
Jian Li | 4aa1764 | 2019-01-30 00:01:11 +0900 | [diff] [blame] | 39 | } |