-
Notifications
You must be signed in to change notification settings - Fork 34
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
Config proposal #935
Conversation
There was a problem hiding this 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? |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
No description provided.