Add XML support to tests that currently have only JSON calls

Registered by Rajalakshmi Ganesan

Add XML support to Compute tests that currently have only JSON calls. I have identified the following scripts that do not have XML support:
1)Compute:
     a) quotas_client: DONE
     b)console_output_client: DONE
2) images tests:
     a) test_image_metadata.py: DONE
     b) test_images_whitebox.py:- NOT to be done
     c) test_list_image_filters.py: DONE
     d) test_list_images.py: DONE
3) servers tests:
     a) test_console_output.py: DONE (Rajalakshmi Ganesan)
     b) test_disk_config.py; - DONE (Ivan Zhu)
     c) test_list_servers_negative.py: DONE (Rajalakshmi Ganesan)
     d) test_server_addresses.py: DONE(Matthew Treinish)
     g) test_server_metadata.py: DONE(Meera Belur)
     h) test_servers_negative.py: DONE
     j) test_servers_whitebox.py: NOT to be done - The Test script is being skipped even for JSON, Also base class is not using _interface variable. Need to find alternative way to add XML support.
4) scripts in /tests/compute/
     a) test_authorization.py: DONE
     b) test_live_block_migration.py: DONE

5) Tests that use nova_client

     a) test_server_advanced_ops.py;
     b) test_server_basic_ops.py

DONE: Merged into repo

Blueprint information

Status:
Complete
Approver:
Jay Pipes
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Harika Vakadi
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Ravikumar Venkatesan
Completed by
Ravikumar Venkatesan

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-xml-support,n,z

Addressed by: https://review.openstack.org/18639
    Addition of XML support to test_console_output.py

Addressed by: https://review.openstack.org/19372
    Addition of XML support to test_quotas.py

Addressed by: https://review.openstack.org/22765
    test_server_metadata.py - BP add-xml-support

Addressed by: https://review.openstack.org/23074
    Addition of XML support to servers tests.

5) Tests that use nova_client

     a) test_server_advanced_ops.py;--INVALID
     b) test_server_basic_ops.py--INVALID

As the above test scripts uses nova client which uses JSON By default.

Addressed by: https://review.openstack.org/24903
    Xml Support for Image Test scripts

Addressed by: https://review.openstack.org/24989
    Adds XML support to test_live_block_migration.py

Addressed by: https://review.openstack.org/27165
    Add XML support to test_server_basic_ops

(?)

Work Items

Work items:
test_live_block_migration.py: DONE
quotas_client: DONE
console_output_client: DONE
test_image_metadata.py: DONE
test_list_image_filters.py: DONE
test_list_images.py: DONE
test_console_output.py: DONE
test_disk_config.py: DONE
test_list_servers_negative.py: DONE
test_server_addresses.py: DONE
test_server_metadata.py: DONE
test_servers_negative.py: DONE
test_authorization.py: DONE
test_live_block_migration.py: DONE

This blueprint contains Public information 
Everyone can see this information.