Files
python-novaclient/novaclient/tests/unit
Andrey Kurilin ec15bf30e7 Allow tuple as for nics value
`novaclient.servers.boot` accepts 'nics' argument with information about
network interfaces to attach. Originally, it accepts a list or a string.

In case if a list value, the proper method iterates over it for
processing and constructs a right structure for Nova-API. A tuple type
is similar to a list type in the processing method and can look more
logical for some developers (a tuple is a sequence of immutable python
object, which can be ideal for predefined nics) and doensn't require
anything to change in code except one validation check.

Also, this patch adds more info in the error message for validation
step.

Change-Id: Ief9d22fefb0a64afc346c56e832c6c0b2b3d8fcb
2017-07-27 15:57:19 +00:00
..
2017-07-27 15:57:19 +00:00
2016-10-05 06:53:05 +11:00