vmware-nsx/vmware_nsx/tests/unit/nsxlib/v3
Adit Sarfaty 93fa5bcb47 NSX|V3 fix nsxlib raised error with managers
The NSX3Client did not get the nsx managers IPs, and they where missing
from error messages.

To fix this, and also better fix a similar problem with max_attempts,
the client init method may get another instance of the client, and copy
relevant information from it.
This option is used by the copy-constructor "new_client_for" without the
RestClient class being aware of arguments relevant only to the NSXClient.

Also adding a new test for a resource error message, to make sure it contains
the nsx_manager ip.

Change-Id: I9e7e28eb5fd69ace44547d40cf8cd09e2457c5ed
2016-10-11 07:26:19 +03:00
..
__init__.py Reorganize vmware_nsx/tests structure 2015-09-24 10:41:10 -07:00
mocks.py nsxlib refactor - remove cfg usage 2016-09-30 20:20:42 +03:00
nsxlib_testcase.py NSX|V3 fix nsxlib raised error with managers 2016-10-11 07:26:19 +03:00
test_client.py nsxlib refactor - remove cfg usage 2016-09-30 20:20:42 +03:00
test_cluster.py nsxlib refactor: config + neutron deps 2016-09-30 21:00:52 +03:00
test_constants.py nsxlib refactor continue 2016-09-29 15:59:13 +03:00
test_qos_switching_profile.py nsxlib refactor: config + neutron deps 2016-09-30 21:00:52 +03:00
test_resources.py NSX|V3 fix nsxlib raised error with managers 2016-10-11 07:26:19 +03:00
test_switch.py nsxlib refactor - add hierarchy to the nsxlib apis 2016-09-30 20:44:32 +03:00
test_utils.py nsxlib refactor: config + neutron deps 2016-09-30 21:00:52 +03:00