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 display of switch port name to network service table listing #152

Closed
ibaldin opened this issue Apr 14, 2023 · 0 comments · Fixed by #332
Closed

Add display of switch port name to network service table listing #152

ibaldin opened this issue Apr 14, 2023 · 0 comments · Fixed by #332
Assignees
Labels
enhancement New feature or request

Comments

@ibaldin
Copy link
Contributor

ibaldin commented Apr 14, 2023

The name of the port corresponding to the node interface is available in fim:

topo = slice.get_fim_topology()
ns = topo.network_services['net1']
  
# or you can probably look at Labels field of each interface
for i in il:
  print(f'Interface {i.name} has port {i.labels.local_name}')

It would be useful to display it as part of each network service information table, just like MAC and other details.

@ibaldin ibaldin added the enhancement New feature or request label Apr 14, 2023
@kthare10 kthare10 self-assigned this Apr 11, 2024
@kthare10 kthare10 linked a pull request Jun 5, 2024 that will close this issue
@kthare10 kthare10 closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants