server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb
# determine storage volume type (system or additional storage)
determine storage volume type (system or additional storage)
determine storage volume type ( system or additional storage )
def determine_storage_type(id)
    return 'system' if id =~ /^.*-S-\d\d\d\d/
    return 'data'   if id =~ /^.*-D-\d\d\d\d/
    return 'unknown'
  end
def determine_storage_type ( id ) return 'system' if id =~ / ^.*-S- \d \d \d \d / return 'data' if id =~ / ^.*-D- \d \d \d \d / return 'unknown' end
determine storage volume type (system or additional storage)
determine storage volume type ( system or additional storage )
id
<not_specific>