nova-powervm/nova_powervm/tests/virt/powervm
Eric Fried a0ed70408c Sanitize config ISO name
Previously, we were using the instance's name verbatim to generate the
name of its config ISO.  Since the format of the instance name is very
permissive, this can lead to rejection of the name by the PowerVM REST
API:

Value 'Linux Test_0ce757b1_thorst_config.iso' is not facet-valid with
respect to pattern '([A-Za-z0-9_\.]{1,79})' for type 'FileName.Pattern'.

This change set exploits a new pypowervm utility to sanitize the
instance name and combine it with the desired prefix and suffix to
generate a valid config ISO name.

The same is being done for an instance's boot/rescue disks and image LUs
(for SSP).

Change-Id: Id8a77e20ede3ec3339ef5e5910e05943683a2b6c
2015-05-13 14:32:00 -05:00
..
data Cluster config for SSP disk driver 2015-03-27 15:44:48 -05:00
disk Sanitize config ISO name 2015-05-13 14:32:00 -05:00
volume Always call hdisk removal from vscsi volume driver 2015-05-01 07:36:57 -05:00
__init__.py Add UT for resize operation 2015-02-05 16:30:04 -06:00
fixtures.py Optimize the VIOS specification in driver 2015-04-30 12:19:45 -05:00
test_driver.py Remove adapter params from pypowervm calls 2015-05-04 16:15:47 -05:00
test_host.py Accomodate pypowervm restructures 2015-03-02 17:03:01 -06:00
test_media.py Sanitize config ISO name 2015-05-13 14:32:00 -05:00
test_vios.py Add xags argument to get_active_vioses 2015-05-04 09:12:48 -05:00
test_vm.py Adopt EntryWrapper.create() 2015-05-07 10:51:00 -05:00