Feilong is a open source z/VM cloud connector project under the Open Mainframe Project umbrella that will accelerate the z/VM adoption, extending its ecosystem and its user experience. It provides a set of APIs to operate z/VM including guest, image, network, volume etc.
It is currently impossible to use authentication tokens from a python client program.
Reason is that on client side, you do not have the /etc/zvmsdk.conf file where you could define auth = token. The only way to pass such an option is via parameters, but this is not currently implemented.
This PR adds an auth parameter to the ZVM connector methods, which is then passed on to the REST client.
It is currently impossible to use authentication tokens from a python client program.
Reason is that on client side, you do not have the
/etc/zvmsdk.conf
file where you could defineauth = token
. The only way to pass such an option is via parameters, but this is not currently implemented.This PR adds an
auth
parameter to the ZVM connector methods, which is then passed on to the REST client.Python program used for testing: