-
Notifications
You must be signed in to change notification settings - Fork 897
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
Conversation
There was a problem hiding this 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
@miq-bot assign @blomquisg |
needed by ManageIQ/manageiq-providers-ovirt#90 |
app/models/cloud_tenant.rb
Outdated
@@ -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" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@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 |
411031b
to
a439653
Compare
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.
Checked commit AlonaKaplan@3d617e0 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 spec/factories/ext_management_system.rb
|
depends on ManageIQ/manageiq-providers-ovirt#90 |
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.