openstack-ansible-os_swift/tests/test-swift-MR-interfaces.cfg.j2
Andy McCrae 80d2d96a5f Add Multi Region Swift gate scenario
* Fix networking so that we can extend it for MR swift gate.
* Add a vars file for region A and region B.
* Add host_vars and inventory files for region A and region B
* Split out the function-test to allow all scenarios to use the same
test.yml file.
* Use -e @vars-file.yml format in tox.ini since we can't include vars
files based on a variable.
* Remove any references to include_vars: test-vars.yml as a result of
moving to use -e @vars-file.yml
* Add static routes into host_vars for swift-proxy and swift-storage
hosts so that they can route to the other region.
* Make addresses in test-vars more generic based on inventory.

Change-Id: I52b4068acbc80dcb7710d388ccbed2edcb8bfd61
2016-09-06 14:31:16 +01:00

68 lines
1.6 KiB
Django/Jinja

## The default networking requires several bridges. These bridges were named to be informative
## however they can be named what ever you like and is adaptable to any network infrastructure
## environment. This file serves as an example of how to setup basic networking and was ONLY
## built for the purpose of being an example and used expressly in the building of an ALL IN
## ONE development environment.
auto br-mgmtA
iface br-mgmtA inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
# Notice the bridge port is the vlan tagged interface
bridge_ports none
address 10.1.1.1
netmask 255.255.255.0
offload-sg off
auto br-storageA
iface br-storageA inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports none
address 10.1.2.1
netmask 255.255.255.0
offload-sg off
auto br-replA
iface br-replA inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports none
address 10.1.3.1
netmask 255.255.255.0
offload-sg off
auto br-mgmtB
iface br-mgmtB inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
# Notice the bridge port is the vlan tagged interface
bridge_ports none
address 10.1.11.1
netmask 255.255.255.0
offload-sg off
auto br-storageB
iface br-storageB inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports none
address 10.1.12.1
netmask 255.255.255.0
offload-sg off
auto br-replB
iface br-replB inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports none
address 10.1.13.1
netmask 255.255.255.0
offload-sg off