Reduce code duplication
Reduce code duplication

Reduced source code by extracting duplicated code
(in volume/drivers/dell_emc/vmax/utils.py)

Change-Id: I3d68e360ab2030aa55cfb66f9663fc3772b141e1

openstack/cinder,Datera/cinder,j-griffith/cinder,eharney/cinder,mahak/cinder,mahak/cinder,phenoxim/cinder,j-griffith/cinder,phenoxim/cinder,eharney/cinder,Datera/cinder,openstack/cinder