WIP: Automation for configuring multivm networking #3
10
templates/etc/sysconfig/network-scripts/ifcfg-br.j2
Normal file
10
templates/etc/sysconfig/network-scripts/ifcfg-br.j2
Normal file
@ -0,0 +1,10 @@
|
||||
DEVICETYPE='ovs'
|
||||
TYPE='OVSBridge'
|
||||
BOOTPROTO='static'
|
||||
IPADDR='172.16.2.2'
|
||||
NETMASK='255.254.0.0'
|
||||
DEVICE={{ openqa_multivm_bridge_interface }}
|
||||
STP=off
|
||||
ONBOOT='yes'
|
||||
NAME='{{ openqa_multivm_bridge_interface }}'
|
||||
HOTPLUG='no'
|
7
templates/etc/sysconfig/network-scripts/ifcfg-tap.j2
Normal file
7
templates/etc/sysconfig/network-scripts/ifcfg-tap.j2
Normal file
@ -0,0 +1,7 @@
|
||||
DEVICETYPE='ovs'
|
||||
TYPE='OVSPort'
|
||||
OVS_BRIDGE='{{ openqa_multivm_bridge_interface }}'
|
||||
DEVICE='tap{{ item }}'
|
||||
ONBOOT='yes'
|
||||
BOOTPROTO='none'
|
||||
HOTPLUG='no'
|
3
templates/etc/sysconfig/os-autoinst-openvswitch.j2
Normal file
3
templates/etc/sysconfig/os-autoinst-openvswitch.j2
Normal file
@ -0,0 +1,3 @@
|
||||
OS_AUTOINST_BRIDGE_LOCAL_IP=172.16.2.2
|
||||
OS_AUTOINST_BRIDGE_REWRITE_TARGET=172.17.0.0
|
||||
OS_AUTOINST_USE_BRIDGE={{ openqa_multivm_bridge_interface }}
|
Loading…
Reference in New Issue
Block a user