# File lib/deltacloud/drivers/sbc/sbc_driver.rb, line 51
  def realms(credentials, opts={})
    sbc_client = new_client(credentials)
    doc = sbc_client.list_locations
    realms = doc.xpath('ns2:DescribeLocationsResponse/Location').map { |loc| convert_location(loc) }
    realms = filter_on(realms, :id, opts)
  end