On 12/01/2014 05:12 PM, Andy Grover wrote:
def nags_using_lun(tpg, lun):
matches = set()
for nag in tpg.node_acl_groups:
for mlung in nag.mapped_luns:
if mlung.tpg_lun == lun:
matches.add(nag)
return matches
Hi Gris, I just had to push another commit to dev-groups to fix
properties in MappedLUNGroup, but after doing so I was able to verify
that the above code works properly.
Let me know how it goes.
Thanks! -- Andy