Skip to content

Conversation

carbonin
Copy link
Member

This will allow a user on a Red Hat system to use the "getter" methods defined in network_interface.rb even if they don't have a config file corresponding to the given interface name.

To do this we instantiate a NetworkInterfaceGeneric object if the file doesn't exist rather than a NetworkInterfaceRH instance.

@abonas @bdunne @Fryguy

Fixes #139

This will allow a user on a Red Hat system to use the
"getter" methods defined in network_interface.rb even
if they don't have a config file corresponding to the
given interface name.
To do this we instantiate a NetworkInterfaceGeneric
object if the file doesn't exist rather than a
NetworkInterfaceRH instance.

Fixes ManageIQ#139
@miq-bot
Copy link
Member

miq-bot commented Oct 26, 2015

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

@bdunne
Copy link
Member

bdunne commented Oct 27, 2015

👍 LGTM @Fryguy Any concerns?

Fryguy added a commit that referenced this pull request Oct 27, 2015
…t_config_file

Allow NetworkInterface creation without a config file
@Fryguy Fryguy merged commit fdef580 into ManageIQ:master Oct 27, 2015
@carbonin carbonin deleted the create_network_interface_without_config_file branch November 13, 2015 20:16
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