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

Question about MessageStream.Inbound's consumer #31

Open
xuzhaokui opened this issue Jan 4, 2015 · 1 comment
Open

Question about MessageStream.Inbound's consumer #31

xuzhaokui opened this issue Jan 4, 2015 · 1 comment

Comments

@xuzhaokui
Copy link

hi @jonstout,

As far as I can see, after a switch starts up, function Controller.handleConnection() and OFSwitch.receive() are both tring to pop messages from the same inbound channel OFSwitch.stream.Inbound. However the former one can only deal with the OPFT_HELLO or OFPT_FEATURES_REPLY messages.

So, other messages will be discarded if received by Controller.handleConnection() ?

@jonstout
Copy link
Owner

jonstout commented Jan 5, 2015

Correct. Controller.handleConnection only concerns itself with the openflow channel setup. Until the openflow handshake is complete everything else is ignored. Once the dpid is discovered using the ofp_features_request message the connection stream is passed along to a Switch instance.

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

No branches or pull requests

2 participants