On Wed, Dec 03, 2014 at 11:10:58AM -0800, Andy Grover wrote:
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
Hi Andy,
Thanks for the notice.
I have finished the targetd and lsm access group
create/delete/edit/list, and currently working on masking.
I will provide feedback once I tried all methods I am looking for.
Thank you again.
Best regards.
--
Gris Ge