[Freeipa-devel] Query regarding pytest-multihost plugin
Niranjan
mrniranjan at fedoraproject.org
Wed Aug 12 18:11:54 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 311 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150812/65c33fb9/attachment.sig>
More information about the Freeipa-devel
mailing list