/usr/lib/python2.6/site-packages/novaclient/tests/functional/v2/legacy
NameSizeModeActions
test_consoles.py19100644editdlrm
test_consoles.pyc31310644editdlrm
test_extended_attributes.py24300644editdlrm
test_extended_attributes.pyc22930644editdlrm
test_fixedips.py21980644editdlrm
test_fixedips.pyc22180644editdlrm
test_flavor_access.py31310644editdlrm
test_flavor_access.pyc28060644editdlrm
test_instances.py30460644editdlrm
test_instances.pyc24310644editdlrm
test_keypairs.py32680644editdlrm
test_keypairs.pyc47010644editdlrm
test_os_services.py29810644editdlrm
test_os_services.pyc24900644editdlrm
test_quotas.py21360644editdlrm
test_quotas.pyc19250644editdlrm
test_readonly_nova.py58400644editdlrm
test_readonly_nova.pyc128930644editdlrm
test_servers.py36240644editdlrm
test_servers.pyc41210644editdlrm
test_server_groups.py19960644editdlrm
test_server_groups.pyc23940644editdlrm
test_virtual_interface.py11490644editdlrm
test_virtual_interface.pyc11790644editdlrm
test_volumes_api.py30780644editdlrm
test_volumes_api.pyc23410644editdlrm
__init__.py00644editdlrm
__init__.pyc1760644editdlrm
Edit: /usr/lib/python2.6/site-packages/novaclient/tests/functional/v2/legacy/test_instances.pyc (2431B)
Ñò =vVc@s-ddklZdeifd„ƒYZdS(iÿÿÿÿ(tbasetTestInstanceCLIcBseZdZd„ZRS(s2.1cCsd|idƒ}|iiiƒd}|iddd|ii|ii||ifƒ|ii idh|d6ƒ}|i dt |ƒ|ƒ|d}|i |i ƒ|iiidƒ}|i |id d|iƒ|i|d ƒ|id dd ||ifƒ|i|d ƒ|iddd ||ifƒ|i|d ƒ|id d|iƒdS(s*Test we can attach a volume via the cli. This test was added after bug 1423695. That bug exposed inconsistencies in how to talk to API services from the CLI vs. API level. The volumes api calls that were designed to populate the completion cache were incorrectly routed to the Nova endpoint. Novaclient volumes support actually talks to Cinder endpoint directly. This would case volume-attach to return a bad error code, however it does this *after* the attach command is correctly dispatched. So the volume-attach still works, but the user is presented a 404 error. This test ensures we can do a through path test of: boot, create volume, attach volume, detach volume, delete volume, destroy. tInstanceitboottparamss0--flavor %s --image %s %s --nic net-id=%s --pollt search_optstnameis volume-deletet availables volume-attachs%s %ssin-uses volume-detachN(t name_generatetclienttnetworkstlisttnovatflavorRtimagetidtserverst assertEqualtlent addCleanuptdeletetvolumestcreatetwait_for_volume_status(tselfRtnetworkRtservertvolume((s_/tmp/pip-build-cD3xZi/python-novaclient/novaclient/tests/functional/v2/legacy/test_instances.pyttest_attach_volumes" #   (t__name__t __module__tCOMPUTE_API_VERSIONR(((s_/tmp/pip-build-cD3xZi/python-novaclient/novaclient/tests/functional/v2/legacy/test_instances.pyRsN(tnovaclient.tests.functionalRtClientTestBaseR(((s_/tmp/pip-build-cD3xZi/python-novaclient/novaclient/tests/functional/v2/legacy/test_instances.pyt s