code: def create_volume(self, xml_bytes):
          
          root = XML(xml_bytes)
          volume_id = root.findtext("volumeId")
          size = int(root.findtext("size"))
          snapshot_id = root.findtext("snapshotId")
          availability_zone = root.findtext("availabilityZone")
          status = root.findtext("status")
          create_time = root.findtext("createTime")
          create_time = datetime.strptime(
              create_time[:19], "%Y-%m-%dT%H:%M:%S")
          volume = model.Volume(
              volume_id, size, status, create_time, availability_zone,
              snapshot_id)
          return volume
docs: Parse the XML returned by the C{CreateVolume} function.
  
          @param xml_bytes: XML bytes with a C{CreateVolumeResponse} root
              element.
          @return: The L{Volume} instance created.