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

Add Node Networking Configuration #7

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

ajamias
Copy link
Collaborator

@ajamias ajamias commented Jul 26, 2024

After pressing the 'Actions' button, the user will be shown a config wizard to either attach a network/port/trunk (to a specified MAC address) or detach a port. After the request is submitted, the node's network info will automatically refresh when the request is successful.

@ajamias ajamias requested a review from tzumainn July 26, 2024 21:06
@ajamias ajamias force-pushed the networking branch 10 times, most recently from ffdfc18 to 4fa533f Compare July 31, 2024 14:21
Copy link
Collaborator

@tzumainn tzumainn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The UI looks really good! Some issues and suggestions:

  • is it possible to take out the "Back / Next" buttons? They imply it's multiple steps for the wizard
  • I can't seem to get the network detach to work; weirdly, in the log I see the error that the node has no free ports. I wonder if this happens when a node's ports are all occupied, and someone tries to detach a port?
  • I really like the MAC address selection bar; can you change the "blank" option to "any", to make it clear to the user that it's something that can be left untouched?

After pressing the 'Actions' button, the user
will be shown a config wizard to either attach
a network/port/trunk (to a specified MAC address)
or detach a port. After the request is submitted,
the node's network info will automatically refresh
when the request is successful.
@ajamias
Copy link
Collaborator Author

ajamias commented Aug 2, 2024

It isn't possible to remove the back/next buttons because that is part of the wizard template. I fixed the other two bullet points though.

@ajamias ajamias requested a review from tzumainn August 5, 2024 13:22
Copy link
Collaborator

@tzumainn tzumainn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me! I think it'd be nice to have a processing bar while the network is being attached, since that can take a while, but I suspect that would actually require some backend changes, so I'm fine punting that for now.

@tzumainn tzumainn merged commit c9f2f5f into CCI-MOC:main Aug 6, 2024
@ajamias ajamias deleted the networking branch August 6, 2024 15:34
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

Successfully merging this pull request may close these issues.

Update ESI UI to allow tenant users to control their node networking
2 participants