Skip to content

Commit

Permalink
Merge pull request #18560 from mansam/support-volume-resizing
Browse files Browse the repository at this point in the history
Add Volume Resizing capability to SupportsFeatureMixin
  • Loading branch information
agrare committed Mar 15, 2019
2 parents 20c5509 + c3e0468 commit da11d02
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 @@ -196,6 +196,7 @@ def validate_zone_not_maintenance_when_ems_enabled?
virtual_total :total_subnets, :cloud_subnets
virtual_column :supports_block_storage, :type => :boolean
virtual_column :supports_volume_multiattachment, :type => :boolean
virtual_column :supports_volume_resizing, :type => :boolean
virtual_column :supports_cloud_object_store_container_create, :type => :boolean
virtual_column :supports_cinder_volume_types, :type => :boolean

Expand Down Expand Up @@ -636,6 +637,10 @@ def supports_volume_multiattachment
supports_volume_multiattachment?
end

def supports_volume_resizing
supports_volume_resizing?
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 @@ -146,6 +146,7 @@ module SupportsFeatureMixin
:object_storage => 'Object Storage',
:vm_import => 'VM Import',
:volume_multiattachment => 'Volume Multiattachment',
:volume_resizing => 'Volume Resizing',
:change_password => 'Change Password'
}.freeze

Expand Down

0 comments on commit da11d02

Please sign in to comment.