Method: HPE3PAR_API#get_volume_type
- Defined in:
- lib/puppet/util/hpe3par_api.rb
#get_volume_type(type) ⇒ Object
595 596 597 598 599 600 601 602 603 604 605 |
# File 'lib/puppet/util/hpe3par_api.rb', line 595 def get_volume_type(type) enum_type = '' if type == 'thin' enum_type = 'TPVV' elsif type == 'thin_dedupe' enum_type = 'TDVV' elsif type == 'full' enum_type = 'FPVV' end return enum_type end |