Revert "Add functions to get disk slots and disk type in xml."

This reverts commit d0bb4d74b6371c76abd547722a8624fb8f80cb1a.
Add functions to get disk slots and disk type in xml.