def get_default_volume_size(dataset_backend_configuration):
 default_volume_size = GiB(1)
 if (dataset_backend_configuration.get('auth_plugin') == 'rackspace'):
  default_volume_size = RACKSPACE_MINIMUM_VOLUME_SIZE
 return int(default_volume_size.to_Byte().value)

def get_default_volume_size ( dataset_backend_configuration ) : default_volume_size = GiB ( 1 ) if ( dataset_backend_configuration . get ( 'auth_plugin' ) == 'rackspace' ) : default_volume_size = RACKSPACE_MINIMUM_VOLUME_SIZE return int ( default_volume_size . to_Byte ( ) . value )
calculate the default volume size for the given dataset backend configuration .