Skip to content

Conversation

@JordanPeterson-nrel
Copy link

Support for ospf on linux routers using FRRouting (FRR)

Description

Adds support to use ospf on outers using a linux image with FRR installed and configured to run the ospf daemon. This feature increases the support for an alternative router option when deploying an environment. Instead of using Vyos/Vyatta, one can use a linux box and not give up the functionality of the ospf protocol.

This support is basic functional ospf using default FRR hello and dead intervals. Additional FRR configurations are not included in this MR and should be considered in future updates.

Related Issue

Closes #242

Type of Change

Please select the type of change your pull request introduces:

  • Bugfix
  • New feature
  • Documentation update
  • Other (please describe):

Checklist

  • This PR conforms to the process detailed in the Contributing Guide.
  • I have included no proprietary/sensitive information in my code.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have tested my code.

Additional Notes

Please provide any additional information or context for your pull request here.

sysctl -w net.ipv4.conf.all.forwarding = 1

#check if frr exists
if command -v 'frr' &>/dev/null; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

If this check fails, that should probably be logged somewhere?

fi


# frr ospf config
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is the point of this comment?

Copy link
Collaborator

@activeshadow activeshadow left a comment

Choose a reason for hiding this comment

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

I suggest this all be put into the vrouter app and that app be updated to handle vanilla Linux-based routers appropriately.

Also, minimega's minirouter (which is vanilla Linux-based) already supports OSPF. @JordanPeterson-nrel are you not able to use minirouter as an option?

continue
}


Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't like this change... all of this should be in the vrouter app, not the startup app.

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

Successfully merging this pull request may close these issues.

[FEATURE] OSPF Configuration for linux VMs

3 participants