Sha256: a80bbb4c0ec2b72331b8cd1999b5fa7b6db2c80cc8f5ddb78c82b9fa13f2b573

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

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

module Dcmgr::Models
  # VLAN  lease information
  class VlanLease < AccountResource
    taggable 'vlan'

    inheritable_schema do
      Fixnum :tag_id, :null=>false

      index :tag_id, {:unique=>true}
    end
    with_timestamps

    one_to_many :networks
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
wakame-vdc-dcmgr-10.12.0 lib/dcmgr/models/vlan_lease.rb
wakame-vdc-agents-10.12.0 lib/dcmgr/models/vlan_lease.rb