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 relation "security group belongs to router and subnet" #4542

Merged

Conversation

miha-plesko
Copy link
Contributor

Two foreign keys have been added to the SecurityGroup model recently:

security_group.network_router
security_group.cloud_subnet

With this commit we show them both on UI (in both directions).

SecurityGroup view:
image

NetworkRouter view:
image

image

CloudSubnet view:
image

image

Depends on: ManageIQ/manageiq#17900

@miq-bot add_label enhancement
@miq-bot assign @mzazrivec

@miha-plesko
Copy link
Contributor Author

Marked as WIP because core PR is not merged yet, otherwise this is ready for review.

@miq-bot miq-bot added the wip label Aug 27, 2018
Two foreign keys have been added to the SecurityGroup model recently:

```
security_group.network_router
security_group.cloud_subnet
```

With this commit we show them both on UI in both directions.

Signed-off-by: Miha Pleško <miha.plesko@xlab.si>
@miha-plesko miha-plesko force-pushed the sec-group-belongs-to-router-and-subnet branch from b7bba0a to a5f280b Compare August 27, 2018 13:07
@miq-bot
Copy link
Member

miq-bot commented Aug 27, 2018

Checked commit miha-plesko@a5f280b with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
9 files checked, 0 offenses detected
Everything looks fine. 🍰

@miha-plesko miha-plesko changed the title [WIP] Show relation "security group belongs to router and subnet" Show relation "security group belongs to router and subnet" Aug 27, 2018
@miha-plesko
Copy link
Contributor Author

Aaaand the core PR got merged, removing WIP label.

@miha-plesko miha-plesko reopened this Aug 27, 2018
@miq-bot miq-bot removed the wip label Aug 27, 2018
@miha-plesko
Copy link
Contributor Author

@mzazrivec would you prefer me to split this one into two separate PRs (one per foreign key) to make it easier to review?

@mzazrivec
Copy link
Contributor

@miha-plesko nah, it's fine this way.

@mzazrivec mzazrivec added this to the Sprint 94 Ending Sept 10, 2018 milestone Aug 31, 2018
@mzazrivec mzazrivec merged commit 6839a34 into ManageIQ:master Aug 31, 2018
@miha-plesko miha-plesko deleted the sec-group-belongs-to-router-and-subnet 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.

None yet

3 participants