We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 178230e commit b5b3a8aCopy full SHA for b5b3a8a
1 file changed
zaza/openstack/charm_tests/neutron/setup.py
@@ -30,7 +30,6 @@
30
31
import zaza.charm_lifecycle.utils as lifecycle_utils
32
33
-
34
# The overcloud network configuration settings are declared.
35
# These are the network configuration settings under test.
36
OVERCLOUD_NETWORK_CONFIG = {
@@ -80,6 +79,14 @@
80
79
"fip_service_subnet_cidr": "100.64.0.0/24"
81
}
82
+# Set proxy vars if provided so that all code gets to use it.
83
+for key, val in os.environ.items():
84
+ if not key.startswith('TEST_') or 'PROXY' not in key:
85
+ continue
86
+
87
+ _key = key.partition('TEST_')[2]
88
+ os.environ[_key.lower()] = val
89
90
91
def undercloud_and_charm_setup(limit_gws=None):
92
"""Perform undercloud and charm setup for network plumbing.
0 commit comments