Revision 2a7c3583 qa/qa_rapi.py
b/qa/qa_rapi.py | ||
---|---|---|
72 | 72 |
_rapi_ca.flush() |
73 | 73 |
|
74 | 74 |
port = qa_config.get("rapi-port", default=constants.DEFAULT_RAPI_PORT) |
75 |
cfg_ssl = rapi.client.CertAuthorityVerify(cafile=_rapi_ca.name) |
|
75 |
cfg_curl = rapi.client.GenericCurlConfig(cafile=_rapi_ca.name, |
|
76 |
proxy="") |
|
76 | 77 |
|
77 | 78 |
_rapi_client = rapi.client.GanetiRapiClient(master["primary"], port=port, |
78 | 79 |
username=username, |
79 | 80 |
password=password, |
80 |
config_ssl_verification=cfg_ssl, |
|
81 |
ignore_proxy=True) |
|
81 |
curl_config_fn=cfg_curl) |
|
82 | 82 |
|
83 | 83 |
print "RAPI protocol version: %s" % _rapi_client.GetVersion() |
84 | 84 |
|
Also available in: Unified diff