lib/dcmgr.rb in wakame-vdc-dcmgr-10.11.0 vs lib/dcmgr.rb in wakame-vdc-dcmgr-10.12.0

- old
+ new

@@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- module Dcmgr - VERSION='10.11.0' + VERSION='10.12.0' class << self def conf @conf end @@ -71,11 +71,13 @@ :Image,:HostPool,:RequestLog,:Instance, :NetfilterGroup, :NetfilterRule, :StoragePool,:Volume,:VolumeSnapshot, :InstanceNetfilterGroup, :InstanceSpec, :InstanceNic, :Network, :IpLease, - :SshKeyPair].freeze + :SshKeyPair, :History, :HostnameLease, :MacLease, + :VlanLease, + ].freeze autoload :BaseNew, 'dcmgr/models/base_new' autoload :Account, 'dcmgr/models/account' autoload :Tag, 'dcmgr/models/tag' autoload :TagMapping, 'dcmgr/models/tag_mapping' autoload :AccountResource, 'dcmgr/models/account_resource' @@ -93,23 +95,34 @@ autoload :InstanceNic, 'dcmgr/models/instance_nic' autoload :Network, 'dcmgr/models/network' autoload :IpLease, 'dcmgr/models/ip_lease' autoload :InstanceNetfilterGroup, 'dcmgr/models/instance_netfilter_group' autoload :SshKeyPair, 'dcmgr/models/ssh_key_pair' + autoload :History, 'dcmgr/models/history' + autoload :HostnameLease, 'dcmgr/models/hostname_lease' + autoload :MacLease, 'dcmgr/models/mac_lease' + autoload :VlanLease, 'dcmgr/models/vlan_lease' end module Endpoints autoload :CoreAPI, 'dcmgr/endpoints/core_api' autoload :Metadata, 'dcmgr/endpoints/metadata' end module NodeModules autoload :StaCollector, 'dcmgr/node_modules/sta_collector' autoload :HvaCollector, 'dcmgr/node_modules/hva_collector' + autoload :InstanceHA, 'dcmgr/node_modules/instance_ha' end module Stm autoload :VolumeContext, 'dcmgr/stm/volume_context' autoload :SnapshotContext, 'dcmgr/stm/snapshot_context' autoload :Instance, 'dcmgr/stm/instance' end + + module Helpers + autoload :CliHelper, 'dcmgr/helpers/cli_helper' + end + + autoload :Tags, 'dcmgr/tags' end