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

Offer a higher level interface to hello messages #51

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

Offer a higher level interface to hello messages #51

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

Comments

@ajoaoff
Copy link

ajoaoff commented Jun 28, 2021

Original issue opened by @erickvermot at kytos#380.

It would be very convenient to have a higher level interface to deal with hello messages and the version bitmaps.
The following branch proposes a simple interface where one is able to create a hello message passing the xid and a python list of supported versions:
https://github.com/erickvermot/python-openflow/tree/high_level_hello

this still needs fixing of kytos#378, which is related to kytos#303. And once kytos#379 is closed, the same development proposed here can also be applied to v0x01.

Furthermore, following the same logic as presented here for the creation of the message, the versionbitmap when unpacked could also return a pythons list of versions in order to make its use simpler.

This proposal is intended to facilitate the use of the lib.
This goes with the same idea as https://github.com/kytos/kytos/blob/master/docs/blueprints/EP009.rst (kytos/kytos#306), and also @renanrodrigo https://github.com/kytos/kytos/blob/master/docs/blueprints/EP011.rst (kytos/kytos#311).

@ajoaoff ajoaoff added enhancement New feature or request pri:normal labels Jun 28, 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

2 participants