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

Add new 'CloudSubnet' extra attribute column #20672

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

jaywcarman
Copy link
Member

In 'ManageIQ::Providers::IbmCloud::PowerVirtualServers' subnets are
typed as 'vlan' and 'pub-vlan'. This generic ':network_type' virtual
column in the 'cloud_subnets' 'extra_attributes' table would facilitate
persisting the subnet type.

This patch was suggested by @agrare
ManageIQ/manageiq-providers-ibm_cloud#77 (comment)

In 'ManageIQ::Providers::IbmCloud::PowerVirtualServers' subnets are
typed as 'vlan' and 'pub-vlan'. This generic ':network_type' virtual
column in the 'cloud_subnets' 'extra_attributes' table would facilitate
persisting the subnet type.
@miq-bot
Copy link
Member

miq-bot commented Oct 8, 2020

Checked commit jaywcarman@57308ef with ruby 2.6.3, rubocop 0.69.0, haml-lint 0.28.0, and yamllint
1 file checked, 1 offense detected

app/models/cloud_subnet.rb

@agrare agrare merged commit 110e5d7 into ManageIQ:master Oct 8, 2020
@agrare agrare self-assigned this Oct 8, 2020
@jaywcarman jaywcarman deleted the cloud_subnet_add_network_type branch October 8, 2020 15:44
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