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

Allow users to input ipv6 where it makes sense #70

Merged
merged 2 commits into from
Feb 23, 2017
Merged

Allow users to input ipv6 where it makes sense #70

merged 2 commits into from
Feb 23, 2017

Conversation

isimluk
Copy link
Member

@isimluk isimluk commented Feb 22, 2017

What

In many prompts we allow users to put IP address. In some prompts it makes sense to only accept IPv4 addresses (when setting up static IPv4). In other cases it makes sense to accept IPv4 or IPv6.

This PR makes Test Network Configuration to magically work with IPv6.

I'll continue to work with other dialogs to make sure, we are able to process IPv6. However, we can allow IPv6 inputs to be valid now.

@miq-bot miq-bot added the wip label Feb 22, 2017
@carbonin
Copy link
Member

It feels like this will probably come close to solving https://bugzilla.redhat.com/show_bug.cgi?id=1212896

Do you want to take that @isimluk?

When users inputs static IPv4 we should assert it is valid IPv4. All
other inputs shall allow for IPv6 as well.

This commit does not allow IPv6 yet, it just makes the logical
distinction.
@isimluk
Copy link
Member Author

isimluk commented Feb 22, 2017

Sure, taking, working on it anyway. It will get fixed in one of the following prs.

@isimluk isimluk changed the title [WIP] Allow users to input ipv6 where it makes sense Allow users to input ipv6 where it makes sense Feb 22, 2017
@isimluk
Copy link
Member Author

isimluk commented Feb 22, 2017

We will need new prompt for static ipv6 as things are different and people may want to have both.

@miq-bot miq-bot removed the wip label Feb 22, 2017
@miq-bot
Copy link
Member

miq-bot commented Feb 22, 2017

Checked commits https://github.com/isimluk/manageiq-gems-pending/compare/ee3769eac683f1bd878077a344b58b248db52dfd~...4f7202e22037c29565111a92d2152876841c4c65 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
3 files checked, 0 offenses detected
Everything looks good. ⭐

@isimluk
Copy link
Member Author

isimluk commented Feb 23, 2017

Getting this into the build early will make my job easier, when I will try to set-up multi region, multi-zone over ipv6. Thanks!

@carbonin carbonin self-assigned this Feb 23, 2017
@carbonin carbonin added this to the Sprint 55 Ending Feb 27, 2017 milestone Feb 23, 2017
@carbonin carbonin merged commit a245691 into ManageIQ:master Feb 23, 2017
@isimluk
Copy link
Member Author

isimluk commented Feb 23, 2017

Thanks!!

@isimluk isimluk deleted the allow-ipv6-inputs-somewhere branch February 23, 2017 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants