Skip to content

Instantly share code, notes, and snippets.

@robotman321
Created October 18, 2018 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robotman321/909255cbdc36fa62b730a953807f7397 to your computer and use it in GitHub Desktop.
Save robotman321/909255cbdc36fa62b730a953807f7397 to your computer and use it in GitHub Desktop.
XML output from the api for the attached CDROM of a vm.
Before, saved from the api:
2018-10-18 16:18:00 DEBUG > <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2018-10-18 16:18:00 DEBUG > <cdroms>
2018-10-18 16:18:00 DEBUG > <cdrom href="/ovirt-engine/api/vms/dfd5aac8-c2e9-485a-a7c3-2bb5f0af978e/cdroms/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000">
2018-10-18 16:18:00 DEBUG > <vm href="/ovirt-engine/api/vms/dfd5aac8-c2e9-485a-a7c3-2bb5f0af978e" id="dfd5aac8-c2e9-485a-a7c3-2bb5f0af978e"/>
2018-10-18 16:18:00 DEBUG > <file id="The-Iso-Installer.iso"/>
2018-10-18 16:18:00 DEBUG > </cdrom>
2018-10-18 16:18:00 DEBUG > </cdroms>
After, saved from the web ui:
2018-10-18 16:18:26 DEBUG > <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2018-10-18 16:18:26 DEBUG > <cdroms>
2018-10-18 16:18:26 DEBUG > <cdrom href="/ovirt-engine/api/vms/dfd5aac8-c2e9-485a-a7c3-2bb5f0af978e/cdroms/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000">
2018-10-18 16:18:26 DEBUG > <vm href="/ovirt-engine/api/vms/dfd5aac8-c2e9-485a-a7c3-2bb5f0af978e" id="dfd5aac8-c2e9-485a-a7c3-2bb5f0af978e"/>
2018-10-18 16:18:26 DEBUG > <file id="The-Iso-Installer.iso"/>
2018-10-18 16:18:26 DEBUG > </cdrom>
2018-10-18 16:18:26 DEBUG > </cdroms>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment