Skip to content

Conversation

carbonin
Copy link
Member

Added a class that currently allows retrieving IP addresses via hostname -I using a retry mechanism.

Copy link
Member

Choose a reason for hiding this comment

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

I would not name this so similarly to the Ruby class. Maybe just spell it out (IpAddress)? Should it be part of a larger class like NetworkConfig or something?

Copy link
Member Author

Choose a reason for hiding this comment

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

@Fryguy If we go the route of creating a larger class we would be able to add stuff like DNS servers to it rather than having a separate class for that, but in that case I would also want to move the functionality from https://github.com/ManageIQ/linux_admin/blob/master/lib/linux_admin/hosts.rb to the larger class. Is that a change we want to make to the API?

@miq-bot
Copy link
Member

miq-bot commented Sep 28, 2015

<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush.

@carbonin carbonin force-pushed the add_ip_address_class branch from dc2dd02 to 17c5d44 Compare September 29, 2015 13:37
@miq-bot
Copy link
Member

miq-bot commented Sep 29, 2015

Checked commit carbonin@17c5d44 with ruby 1.9.3, rubocop 0.34.2, and haml-lint 0.13.0
3 files checked, 0 offenses detected
Everything looks good. 🍰

gtanzillo added a commit that referenced this pull request Sep 29, 2015
Added class for managing IP addresses
@gtanzillo gtanzillo merged commit ee6b70c into ManageIQ:master Sep 29, 2015
jrafanie added a commit to jrafanie/linux_admin that referenced this pull request Oct 2, 2015
@carbonin carbonin deleted the add_ip_address_class branch October 2, 2015 15:15
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.

4 participants