Skip to content

Commit

Permalink
Add volume multiattachment capability
Browse files Browse the repository at this point in the history
  • Loading branch information
mansam committed Jan 17, 2019
1 parent af3491f commit 457366f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/models/ext_management_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def validate_zone_not_maintenance_when_ems_enabled?
virtual_column :total_vms_suspended, :type => :integer
virtual_total :total_subnets, :cloud_subnets
virtual_column :supports_block_storage, :type => :boolean
virtual_column :supports_volume_multiattachment, :type => :boolean
virtual_column :supports_cloud_object_store_container_create, :type => :boolean
virtual_column :supports_cinder_volume_types, :type => :boolean

Expand Down Expand Up @@ -643,6 +644,10 @@ def supports_block_storage
supports_block_storage?
end

def supports_volume_multiattachment
supports_volume_multiattachment?
end

def supports_cloud_object_store_container_create
supports_cloud_object_store_container_create?
end
Expand Down
1 change: 1 addition & 0 deletions app/models/mixins/supports_feature_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ module SupportsFeatureMixin
:block_storage => 'Block Storage',
:object_storage => 'Object Storage',
:vm_import => 'VM Import',
:volume_multiattachment => 'Volume Multiattachment',
:change_password => 'Change Password'
}.freeze

Expand Down

0 comments on commit 457366f

Please sign in to comment.