Adding retrieve WWPN of NPIV as facts #50
Closed
+19
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solving issue #40, about retrieve of details for WWPN of NPIV as facts in module powervm_lpar_instance, for parameter state in values present and facts.
Ex. Fragment of output:
{
"LocationCode": "U78D3.001.WZS0A2A-P1-C8-T2",
"PortName": "fcs1",
"viosname": "VIOCHP906",
"wwpn_pair": "c050760b5fe50160 c050760b5fe50161"
},
{
"LocationCode": "U78D3.001.WZS0A2A-P1-C3-T2",
"PortName": "fcs1",
"viosname": "VIOCHP905",
"wwpn_pair": "c050760b5fe50162 c050760b5fe50163"
},
{
"LocationCode": "U78D3.001.WZS0A2A-P1-C8-T1",
"PortName": "fcs0",
"viosname": "VIOCHP906",
"wwpn_pair": "c050760b5fe50164 c050760b5fe50165"
},
{
"LocationCode": "U78D3.001.WZS0A2A-P1-C3-T1",
"PortName": "fcs0",
"viosname": "VIOCHP905",
"wwpn_pair": "c050760b5fe50166 c050760b5fe50167"
}