Merge "Add xags=STORAGE to physical wwpn query"

This commit is contained in:
Jenkins 2015-04-17 11:34:01 +00:00 committed by Gerrit Code Review
commit 0fc5feea73
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ def get_vios_name_map(adapter, host_uuid):
def get_physical_wwpns(adapter, ms_uuid):
"""Returns the WWPNs of the FC adapters across all VIOSes on system."""
resp = adapter.read(pvm_ms.System.schema_type, root_id=ms_uuid,
child_type=pvm_vios.VIOS.schema_type)
child_type=pvm_vios.VIOS.schema_type,
xag=[pvm_vios.VIOS.xags.STORAGE])
vios_feed = pvm_vios.VIOS.wrap(resp)
wwpn_list = []
for vios in vios_feed: