Theodoros Tsioutsias 198c0d7327 CommandError is raised for invalid server fields
When listing servers with fields of invalid type, a TypeError was
raised. With this change and in order to ensure the validity of the
fields, we are whitelisting them using the keys of the dictionary
Resource.to_dict(). For all fields not in the whitelist a CommandError
is raised.

Change-Id: I647fa611d29745f830daadac1c3f9c1c71c2733a
Closes-Bug: #1733917
2017-12-08 09:43:14 +00:00
..