198c0d7327
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