Open
Conversation
To register controller with RFMonitor, send a ControllerRegister message to RFMonitor. The message has controller listening host, port and role. Signed-off-by: Srijan Mishra <srijan23mishra@gmail.com>
A controller was being registered with RFMonitor when ryu app was initialized. Thus, it was not possible to keep a track on how many devices a controller is connected to. Now the registration is done when a device comes up. This helps in keeping exact count of devices to which a controller is connected to. Signed-off-by: Srijan Mishra <srijan23mishra@gmail.com>
RFMonitor informs rfproxy about the new master elected by ELECT_MASTER message. The message is parsed at rfproxy and all the devices are informed about the new master. Signed-off-by: Srijan Mishra <srijan23mishra@gmail.com>
The controller address is stored on CONF.ofp_listen_host config variable provided by ryu API. If the parameter is not provided run time then the controller is listens on localhost and the value of this variable is uninitialized. So a check is made on init on variable and in case its empty it is assigned value '127.0.0.1'. Signed-off-by: Srijan Mishra <srijan23mishra@gmail.com> Acked-by: Joe Stringer <joestringernz@gmail.com>
The arguments that were being passed into register_controller function are available with the class object and the config variable for the ryu app. The function definition is changed and correct calling of function where it is being invoked. Signed-off-by: Srijan Mishra <srijan23mishra@gmail.com> Acked-by: Joe Stringer joestringernz@gmail.com
Closed
|
dear author, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pull request has all the changes required for HA support in rfproxy.
The changes include processing of new master election message sent by RFMonitor and inform about the newly elected master to all the devices connected.
Addressed review comments.