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

Babel Integration #200

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

seamustuohy
Copy link
Collaborator

Per Team Réseau Libre & @xbmi

Changes made to the luci-commotion web interface:

  1. Basic status pages: when the selected mesh protocol is babel, a warning is shown instead of olsrd daemon errors.
  2. Add mesh protocol selection to basic mesh configuration and setup wizard.
  3. Add babel protocol to advanced network interface protocol selection.

if protocol == "commotion" then
status_builder("commotion/viz", nil, "mesh_visualizer")
else
status_builder("commotion/warning_protocol", {proto=protocol}, "mesh_visualizer")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh, I am so sorry about the Russian nesting doll status builder process.

Seamus Tuohy and others added 5 commits March 25, 2014 10:34
If multiple mesh interfaces exist with multiple proto's we want to make sure we show the status of any that we can. The name commotionMesh is only set for the initial mesh interface. If a user creates multiple mesh interfaces, or deletes and recreates their mesh interface it will have another name. The uci:foreach stanza here identifies adhoc wireless interfaces and checks their protocols.
Removed the protocol identification in action_neigh and placed it in its own function so I could also use the same code in the viz function.
A few additions to address some hardcoding
@seamustuohy seamustuohy self-assigned this Apr 16, 2014
@seamustuohy seamustuohy assigned jheretic and unassigned seamustuohy Jun 18, 2014
@jheretic jheretic assigned gradyoti and unassigned jheretic Aug 11, 2014
@jheretic jheretic modified the milestones: Future, Router-1.2 Mar 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants