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

ovn: introducing ovn as ovirt's network provider #15929

Merged
merged 1 commit into from
Oct 3, 2017

Conversation

AlonaKaplan
Copy link
Contributor

oVirts network provider has 'neutron like' api. Therefore, it has tenants.
Since oVirt provider is infra provider (and not cloud provider), tenants
had to be extracted to support infra provider as parent ems.

@AlonaKaplan
Copy link
Contributor Author

@dankenigsberg

@AlonaKaplan
Copy link
Contributor Author

please review @tzumainn @Ladas

Copy link
Contributor

@Ladas Ladas left a comment

Choose a reason for hiding this comment

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

Looks good, seems like this depends on some PR, looking at the failing CI

@Ladas
Copy link
Contributor

Ladas commented Sep 4, 2017

@miq-bot assign @blomquisg

@AlonaKaplan
Copy link
Contributor Author

needed by ManageIQ/manageiq-providers-ovirt#90

@@ -5,7 +5,7 @@ class CloudTenant < ApplicationRecord
include NewWithTypeStiMixin
extend ActsAsTree::TreeWalker

belongs_to :ext_management_system, :foreign_key => "ems_id", :class_name => "ManageIQ::Providers::CloudManager"
belongs_to :ext_management_system, :foreign_key => "ems_id", :class_name => "ExtManagementSystem"
Copy link
Member

Choose a reason for hiding this comment

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

You should be able to drop the :class_name since you're targeting all descendants, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@Ladas
Copy link
Contributor

Ladas commented Sep 12, 2017

@AlonaKaplan seems like just spec/models/ext_management_system_spec.rb specs need to be fixed, just add redhat_network to the lists and it should work

oVirts network provider has 'neutron like' api. Therefore, it has tenants.
Since oVirt provider is infra provider (and not cloud provider), tenants
had to be extracted to support infra provider as parent ems.
@miq-bot
Copy link
Member

miq-bot commented Oct 3, 2017

Checked commit AlonaKaplan@3d617e0 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
5 files checked, 2 offenses detected

spec/factories/ext_management_system.rb

@AlonaKaplan
Copy link
Contributor Author

depends on ManageIQ/manageiq-providers-ovirt#90

@martinpovolny martinpovolny merged commit a191a55 into ManageIQ:master Oct 3, 2017
@martinpovolny martinpovolny added this to the Sprint 71 Ending Oct 16, 2017 milestone Oct 3, 2017
AlonaKaplan added a commit to AlonaKaplan/manageiq-ui-classic that referenced this pull request Oct 5, 2017
xeviknal pushed a commit to xeviknal/manageiq-ui-classic that referenced this pull request Oct 9, 2017
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.

6 participants