Sha256: f604959103b86b3b5cf458f17778d5116746385496a190abfbfb13351afeb9a6

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

# -*- coding: utf-8 -*-

module Dcmgr::Models
  class TagMapping < BaseNew
    TYPE_ACCOUNT = 0
    TYPE_TAG = 1
    TYPE_USER = 2
    TYPE_INSTANCE = 3
    TYPE_INSTANCE_IMAGE = 4
    TYPE_HV_CONTROLLER = 5
    TYPE_HV_AGENT = 6
    TYPE_PHYSICAL_HOST = 7
    TYPE_PHYSICAL_HOST_LOCATION = 8
    TYPE_IMAGE_STORAGE_HOST = 9
    TYPE_IMAGE_STORAGE = 10

    inheritable_schema do
      Fixnum :tag_id, :null=>false
      index :tag_id
      String :uuid, :null=>false, :fixed=>true, :size=>20
      index :uuid
    end
    
    many_to_one :tag

  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
wakame-vdc-dcmgr-10.11.0 lib/dcmgr/models/tag_mapping.rb
wakame-vdc-agents-10.11.0 lib/dcmgr/models/tag_mapping.rb