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

Config proposal #935

Merged
merged 4 commits into from
Sep 2, 2019
Merged

Config proposal #935

merged 4 commits into from
Sep 2, 2019

Conversation

jreidinger
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Sep 2, 2019

Coverage Status

Coverage increased (+1.7%) to 65.863% when pulling df4bfcf on config_proposal into e08b1a6 on network-ng.

Copy link
Contributor

@imobachgs imobachgs left a comment

Choose a reason for hiding this comment

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

In general, it looks OK to me to make it explicit. I just miss some documentation.

@@ -59,10 +59,39 @@ class Base
# Constructor
def initialize
@ip_aliases = []
@bootproto = BootProtocol::STATIC
@bootproto = BootProtocol::STATIC # TODO: maybe do test query if psycical interface is attached?
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: physical

def propose
super
# For WIFI DHCP makes more sense as majority of wifi routers act as dhcp servers
self.bootproto = BootProtocol::DHCP
Copy link
Contributor

Choose a reason for hiding this comment

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

What is exactly the difference between above attributes and this one? For instance, between self.mode and self.bootproto. Please, document it in the #propose method description so we know where to put each of them.

@jreidinger jreidinger merged commit 180882c into network-ng Sep 2, 2019
@imobachgs imobachgs deleted the config_proposal branch September 2, 2019 16:25
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

3 participants