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

API to change the name of Link, Switch and Interface #5

Open
ajoaoff opened this issue Jun 14, 2021 · 0 comments
Open

API to change the name of Link, Switch and Interface #5

ajoaoff opened this issue Jun 14, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ajoaoff
Copy link

ajoaoff commented Jun 14, 2021

Original issue opened by @italovalcy at kytos#145.

Hello guys,

I trying to change the name of the switches, links and interfaces. I didnt find the API endpoints for that (at least not for switch and link). The names of the switches seems to be auto-filled from the DPID, the interfaces are filled with data coming from OF PortDesc message and the Links does not have “name” attribute.

From our discussion on Slack, it looks like the API does not have endpoints for that. Furthermore, the Link data structure does not include a name attribute.

Having the name for Switches, Links and Interfaces is very useful in many situations, such as: monitoring, where you can easily associate those items with others in your monitoring system sharing the same name; troubleshooting, the operator/admin usually choose names meaningful, which in case of a problem we easily and fast recognize where it is supposed to mean; documentation, since during the operation of the network the dpid may change, the link endpoints may change, an UNI may be moved to another interface, having the Name helps identify which context is associate with a particular item.

In summary, I would like to request a feature to:

  1. Include a name attribute to the Link data structure
  2. Create API endpoints to change the name for Link, Interface and Switch

Thanks in advance!

@ajoaoff ajoaoff added the enhancement New feature or request label Jun 14, 2021
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

No branches or pull requests

1 participant