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

Add docs and tests #28

Merged
merged 2 commits into from
May 14, 2019
Merged

Add docs and tests #28

merged 2 commits into from
May 14, 2019

Conversation

fhunleth
Copy link
Member

This adds docs for the IPv4 config helper. The CommandRunner module is also tested now. It was partially tested indirectly via InterfaceTest.

@fhunleth
Copy link
Member Author

@ConnorRigby When I was documenting the IPv4 config helper, I noticed that setting the default gateway won't work. The default gateway needs to be set on the RouteManager so that it can handle prioritizing it against other interfaces. I'm going to add this as an issue, but wanted to make you aware in case you were wondering why the Internet wasn't working...

* `:broadcast` - IPv4 broadcast address as a string
* `:metric` - Route metric (TODO: THIS WON'T WORK)
* `:gateway` - Default gateway (TODO: THIS WON'T WORK)
* `:pointopoint` - ?
Copy link
Member

Choose a reason for hiding this comment

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

Are you looking for information here about what this is? If so, is this helpful?

http://manpages.ubuntu.com/manpages/trusty/man5/interfaces.5.html

pointopoint address
  Address of other end point (dotted quad). Note the spelling of "point-to".

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I was lazy. I wonder if that works...

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@fhunleth fhunleth merged commit ec4d780 into master May 14, 2019
@fhunleth fhunleth deleted the doc-and-test branch May 14, 2019 16:00
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.

None yet

2 participants