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

update API getSwitch() #22

Open
shivarammysore opened this issue May 14, 2014 · 1 comment
Open

update API getSwitch() #22

shivarammysore opened this issue May 14, 2014 · 1 comment
Assignees

Comments

@shivarammysore
Copy link
Contributor

In Class org.flowforwarding.warp.jcontroller.Controller.ControllerRef there are 2 methods - getSwitches() and getSwitch(dpid). Normal API design would be:

List<SwitchState.SwitchRef> getSwitch()

and

SwitchState.SwitchRef getSwitch(String dpid)
@Dmitry-Orekhov
Copy link
Contributor

Thanks for the note, this is really a bad design. We're already working on Controller API, it will be completely re-designed soon.

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

No branches or pull requests

2 participants