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

Show CloudTenants in network manager's topology view #4569

Merged
merged 1 commit into from
Aug 30, 2018

Conversation

miha-plesko
Copy link
Contributor

With this commit we let NetworkManager's topology view render CloudTenants with basic entities beneath them in order for Nuage provider to display a meaningful topology view.

Since Nuage provider subclasses CloudSubnets into

ManageIQ::Providers::Nuage::NetworkManager::CloudSubnet::L2
ManageIQ::Providers::Nuage::NetworkManager::CloudSubnet::L3

we also make sure those get appropriate class name assigned (i.e. base class name) or else nothing is shown.

Before

Amazon provider:
image

Nuage provider:
image

After:

Amazon provider (proof that nothing has changed):
image

Nuage provider:
image

Fixes #4316

@miq-bot add_label enhancement
@miq-bot assign @himdel

With this commit we let NetworkManager's topology view render
CloudTenants with basic entities beneath them in order for Nuage
provider to display a meaningful topology view.

Since Nuage provider subclasses CloudSubnets into

```
ManageIQ::Providers::Nuage::NetworkManager::CloudSubnet::L2
ManageIQ::Providers::Nuage::NetworkManager::CloudSubnet::L3
```

we also make sure those get appropriate class name assigned
(i.e. base class name).

Signed-off-by: Miha Pleško <[email protected]>
@miq-bot
Copy link
Member

miq-bot commented Aug 30, 2018

Checked commit miha-plesko@34672dc with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 1 offense detected

app/services/network_topology_service.rb

Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

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

The Seal of Approval

@miha-plesko
Copy link
Contributor Author

😂 @skateman this seal of yours, I cant get enough of it, I laugh every time, best joke ever 😂

@skateman
Copy link
Member

Made by @mzazrivec actually 😉

@mzazrivec
Copy link
Contributor

We all love @skateman's seal of approval.

@mzazrivec mzazrivec assigned mzazrivec and unassigned himdel Aug 30, 2018
@mzazrivec mzazrivec added this to the Sprint 94 Ending Sept 10, 2018 milestone Aug 30, 2018
@mzazrivec mzazrivec merged commit f64054d into ManageIQ:master Aug 30, 2018
@miha-plesko miha-plesko deleted the nuage-topology-view branch January 7, 2019 08:24
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.

5 participants