Fix to use correct config options for network_for_ssh
network_for_ssh config options under compute group have been
deprecated since 1 year and it has been under new group validation.
Tempest will remove the deprecated config options soon.
This commit use the config options from correct group.
Change-Id: Ieb333745d62058ad2798821437373c636ba4af07
diff --git a/manila_tempest_tests/tests/scenario/manager_share.py b/manila_tempest_tests/tests/scenario/manager_share.py
index b29449a..4bdaf5f 100644
--- a/manila_tempest_tests/tests/scenario/manager_share.py
+++ b/manila_tempest_tests/tests/scenario/manager_share.py
@@ -212,7 +212,8 @@
if isinstance(server_or_ip, six.string_types):
ip = server_or_ip
else:
- addr = server_or_ip['addresses'][CONF.compute.network_for_ssh][0]
+ addr = server_or_ip['addresses'][
+ CONF.validation.network_for_ssh][0]
ip = addr['addr']
# NOTE(u_glide): Both options (pkey and password) are required here to