#NEWLINE# def get_lv_vg( ns , lv ) : #NEWLINE# #INDENT# '\n    Return Volume Group of given Logical Volume.\n\n    :type lv: LMIInstance/LMI_LVStorageExtent or string\n    :param lv: Logical Volume to examine.\n    :rtype: LMIInstance/LMI_VGStoragePool\n    ' #NEWLINE# lv = common . str2device ( ns , lv ) #NEWLINE# return lv . first_associator ( AssocClass = 'LMI_LVAllocatedFromStoragePool' )