Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script not gathering FC Uplink Ports correctly #4

Open
pschapman opened this issue Aug 1, 2022 · 1 comment
Open

Script not gathering FC Uplink Ports correctly #4

pschapman opened this issue Aug 1, 2022 · 1 comment

Comments

@pschapman
Copy link

pschapman commented Aug 1, 2022

FC Port output for all FI models looks like below. UCS version 4.1 and later.

Fabric Port WWN Mode Speed Xcvr Avg Mbps Rx Avg Mbps Tx Status State
nullnull/nullnullnullnullnullNaNNaNnullnull
nullnull/nullnullnullnullnullNaNNaNnullnull

EDIT - CLARIFICATION
This issue specifically impacts the report for:

  • UCS Domains without FC ports
  • UCS Domains with non-uplink FC ports (e.g., direct connect FC storage)
@pschapman
Copy link
Author

Testing and review of old reports shows that this issue has gone unreported for a long time.

Code review for this revealed a gap. Direct connected FC storage is not a use case accounted for by this report. I'll open a separate issue for that as a feature request.

To clean up the empty table, a filter is needed at Line 2150

Original Code

$_.FcUplinkPorts | % {

Recommended Code

$_.FcUplinkPorts | ? IfRole -cmatch "network" | % {

PSC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant