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

Fixes segmentation_id and physical_network required (in Cloud Network form) #5364

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

rvsia
Copy link
Contributor

@rvsia rvsia commented Mar 21, 2019

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1649280

Networks > Networks > Configuration > Add a new Cloud Network

Description

type physical_network segmentation_id
flat required
gre required (GRE ID)
vlan required required (VLAN ID)
vxlan

As you can see in the table, some fields should be required, but they are not.

FLAT -> segmentation_id not needed
GRE -> segmentation_id is GRE ID
VLAN -> segmentation_id is VLAN ID
VXLAN -> segmentation_id not needed

Physical network:
It isn't required for VXLAN and GRE
But VLAN and Flat do require it. In which case the value is provided by a logical name (mapping to a real physical network)

Before
image

After
image

fixes  https://bugzilla.redhat.com/show_bug.cgi?id=1649280

FLAT -> segmentation_id not needed
GRE -> segmentation_id is GRE ID
VLAN -> segmentation_id is VLAN ID
VXLAN -> segmentation_id not needed

Physical network:
It isn't required for VXLAN and GRE
But VLAN and Flat do require it. In which case the value is provided by a logical name (mapping to a real physical network)
@rvsia rvsia changed the title Fixes segmentation_id and physical network required (cloud network form Fixes segmentation_id and physical network required (cloud network form) Mar 21, 2019
@rvsia
Copy link
Contributor Author

rvsia commented Mar 21, 2019

@miq-bot add_label hammer/yes, networks, bug

@rvsia rvsia changed the title Fixes segmentation_id and physical network required (cloud network form) Fixes segmentation_id and physical_network required (in Cloud Network form) Mar 21, 2019
@miq-bot
Copy link
Member

miq-bot commented Mar 21, 2019

Checked commit rvsia@02eb283 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 🍰

@mzazrivec mzazrivec self-assigned this Mar 26, 2019
@mzazrivec mzazrivec added this to the Sprint 108 Ending Apr 1, 2019 milestone Mar 26, 2019
@mzazrivec mzazrivec merged commit c731d69 into ManageIQ:master Mar 26, 2019
@rvsia rvsia deleted the fix-network-form branch September 17, 2019 12:02
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.

4 participants