Move JSON de/serializers to base baremetal client
Now Tempest supports JSON tests only without XML ones, but a
base baremetal client contains still an option for switching
de/serializers and it makes the code a little difficult.
Then, this patch moves JSON de/serializers for clarifying it
supports only JSON and easy code.
In addition, this patch removes "object_type" from serialize()
because now passed values are 'node', 'chassis' and 'port'
and they are not used for serializing at all.
Change-Id: Id96af61c422cb4e9a6d89f4ede6701e3c9d5f3c5
3 files changed