aboutsummaryrefslogtreecommitdiffstats
path: root/conf/integration/02_vswitch.conf
blob: 68eaf73e17321abb4f055cc5f5e2e68270416377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2015-2016 Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Tunnel endpoint for Overlay P2P deployment scenario
VTEP_IP1 = '192.168.0.1/24'
VTEP_IP2 = '192.168.240.10'
VTEP_IP2_SUBNET = '192.168.240.0/24'
TUNNEL_INTEGRATION_BRIDGE = 'br0'
TUNNEL_EXTERNAL_BRIDGE = 'br-ext'
TUNNEL_EXTERNAL_BRIDGE_IP = '192.168.240.1/24'

# vxlan|gre|geneve
TUNNEL_TYPE = 'vxlan'

# The receiving NIC of VXLAN traffic
# Used for OVS Vanilla Decap
DUT_NIC1_MAC = ''
# Used for OVS DPDK Decap
DUT_NIC2_MAC = ''

#Tunnel bridge configuration for P-TUN-P(VxLAN) deployment scenario
# to test VxLAN performance without any overlay ingress traffic by doing the
# encap decap inside the virtual switch itself.
TUNNEL_EXTERNAL_BRIDGE1 = 'br-phy1'
TUNNEL_EXTERNAL_BRIDGE2 = 'br-phy2'
TUNNEL_MODIFY_BRIDGE1 = 'br-mod1'
TUNNEL_MODIFY_BRIDGE2 = 'br-mod2'
TUNNEL_MODIFY_BRIDGE_MAC1 = '00:00:10:00:00:01'
TUNNEL_MODIFY_BRIDGE_MAC2 = '00:00:20:00:00:01'
TUNNEL_MODIFY_BRIDGE_IP1 = '10.0.0.1/24'
TUNNEL_MODIFY_BRIDGE_IP2 = '20.0.0.1/24'