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

56 lines
646 B
Plaintext

[all]
localhost ansible_connection=local ansible_become=True
infraB1
swift-proxyB
swift-storageB1
swift-storageB2
[all_containers]
infraB1
swift-proxyB
swift-storageB1
swift-storageB2
[galera_all]
infraB1
[memcached_all]
infraB1
[service_all:children]
galera_all
memcached_all
[keystone_all]
infraB1
[swift_hosts]
swift-storageB1
swift-storageB2
[swift_proxy]
swift-proxyB
[swift_acc]
swift-storageB1
swift-storageB2
[swift_cont]
swift-storageB1
swift-storageB2
[swift_obj]
swift-storageB1
swift-storageB2
[swift_all:children]
swift_acc
swift_proxy
swift_cont
swift_obj
[swift_remote_all]
swift-proxyA
swift-storageA1
swift-storageA2