Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Make revert_port non-admin? #1062

Open
naved001 opened this issue Feb 14, 2019 · 3 comments
Open

Make revert_port non-admin? #1062

naved001 opened this issue Feb 14, 2019 · 3 comments

Comments

@naved001
Copy link
Contributor

Revert port is quite useful, and I don't understand why it's restricted to admin use only. I think it makes sense to make it open to people with access to nodes. In that case we might even change the API and call it revert_nic since end users perform operations on the nic rather than ports.

@zenhack
Copy link
Contributor

zenhack commented Feb 15, 2019

I don't see any reason to keep it admin-only, though we'd definitely want to change it to operate on nics instead of ports. I think this is an artifact of our original intended use cases, which centered around admins setting stuff up on a switch for the first time.

@naved001
Copy link
Contributor Author

Is there a standard way to mark an REST API deprecated? Some people are inserting the Warning header to notify. Because it would make sense to mark revert_port deprecated when we introduce revert_nic.

@zenhack
Copy link
Contributor

zenhack commented Feb 21, 2019 via email

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

No branches or pull requests

2 participants