Greetings, I have a following query regarding pytest-multihost plugin. I am going through the current documentation of this plugin at [1]
According example yaml file specified in documentation
<snip>
ssh_key_filename: ~/.ssh/id_rsa
domains:
- name: adomain.test
type: test-a
hosts:
- name: master
ip: 192.0.2.1
role: master
- name: replica1
ip: 192.0.2.2
role: replica
</snip>
Does the plugin connect to hosts using the hostname given under "name" or does
it user "hostname" parameter if specified .
The documentation specifies hosts have : role, hostname, shortname,
external_hostname and ip-address
So what is the role of "name" parameter in the above example ?
If i have the following yaml file:
<snip>
ssh_key_filename: ~/.ssh/id_rsa
domains:
- name: adomain.test
type: test-a
hosts:
- name: master
ip: 192.0.2.1
external_hostname: pki1.example.org
role: master
- name: replica1
ip: 192.0.2.2
role: replica
external_hostname: pki2.example.org
</snip>
Does the plugin connect to hosts using external_hostname or does it try
connecting to master.adomain.test and replica1.adomain.test, (currently
this is the behaviour that i am seeing, it ignore external_hostname)
1.https://pypi.python.org/pypi/pytest-multihost
Regards
Niranjan
pgpTLKyYxSCDu.pgp
Description: PGP signature
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
