Copy from GitHub repo

This commit is contained in:
Dmitry Vlasov
2020-08-12 00:02:27 +03:00
parent c447c45bbb
commit 42ae66e3ec
90 changed files with 5632 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
TYPE=OVSBond
DEVICETYPE=ovs
NAME=bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
OVS_BRIDGE=br-ext-main
BOND_IFACES="{{ firstport.stdout }} {{ secondport.stdout }}"
OVS_OPTIONS="bond_mode=balance-tcp lacp=active"
NOZEROCONF=yes
HOTPUG=no
+7
View File
@@ -0,0 +1,7 @@
DEVICE=br-ext-main
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=none
OVS_EXTRA="set int $DEVICE mtu_request=9000"
ONBOOT=yes
HOTPLUG=no
+14
View File
@@ -0,0 +1,14 @@
TYPE=OVSIntPort
DEVICETYPE=ovs
DEVICE=mgmt0
ONBOOT=yes
OVS_BRIDGE=br-ext-main
OVS_OPTIONS="tag=161"
BOOTPROTO=static
IPADDR={{ public_ip.stdout }}
DNS1=172.17.1.10
GATEWAY=172.17.1.1
OVS_EXTRA="set int $DEVICE mtu_request=9000"
NOZEROCONF=yes
PREFIX=24
HOTPLUG="no"
@@ -0,0 +1,8 @@
DEVICE=patch-main-ext01
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSPatchPort
OVS_OPTIONS="tag=160"
OVS_EXTRA="set int $DEVICE mtu_request=9000"
OVS_BRIDGE=br-main
OVS_PATCH_PEER=patch-ext01-main
@@ -0,0 +1,8 @@
DEVICE=patch-main-ext02
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSPatchPort
OVS_OPTIONS="tag=165"
OVS_EXTRA="set int $DEVICE mtu_request=9000"
OVS_BRIDGE=br-main
OVS_PATCH_PEER=patch-ext02-main
@@ -0,0 +1,7 @@
DEVICE=patch-main-slave
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSPatchPort
OVS_EXTRA="set int $DEVICE mtu_request=9000"
OVS_BRIDGE=br-ext-main
OVS_PATCH_PEER=patch-slave-main
@@ -0,0 +1,5 @@
TYPE=Ethernet
DEVICE={{ firstport.stdout }}
ONBOOT=yes
MTU=9000
ETHTOOL_OPTS="-K ${DEVICE} rx off tx off; -K ${DEVICE} tso off; -K ${DEVICE} gso off"
@@ -0,0 +1,5 @@
TYPE=Ethernet
DEVICE={{ secondport.stdout }}
ONBOOT=yes
MTU=9000
ETHTOOL_OPTS="-K ${DEVICE} rx off tx off; -K ${DEVICE} tso off; -K ${DEVICE} gso off"
+12
View File
@@ -0,0 +1,12 @@
TYPE=OVSIntPort
DEVICETYPE=ovs
DEVICE=port-int
ONBOOT=yes
OVS_BRIDGE=br-ext-main
OVS_OPTIONS="tag=162"
BOOTPROTO=static
OVS_EXTRA="set int $DEVICE mtu_request=9000"
IPADDR={{ private_ip.stdout }}
NOZEROCONF=yes
PREFIX=24
HOTPLUG="no"
+12
View File
@@ -0,0 +1,12 @@
TYPE=OVSIntPort
DEVICETYPE=ovs
DEVICE=port-tun
ONBOOT=yes
OVS_BRIDGE=br-dpdk
OVS_OPTIONS="tag=163"
BOOTPROTO=static
OVS_EXTRA="set int $DEVICE mtu_request=9000"
IPADDR={{ tun_ip.stdout }}
NOZEROCONF=yes
PREFIX=24
HOTPLUG="no"