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

Parsing pci_device and vlan info to ports #142

Merged
merged 1 commit into from
Apr 19, 2018

Conversation

felipedf
Copy link
Member

@felipedf felipedf commented Mar 16, 2018

This adds some vlan info to ports (guest_devices) and parse pciDevices of a Node

Did some refactor on AddinCards to use the same method to parse PciDevices as well, because they have the same fields.

Basically I am parsing the new info added to the schema on ManageIQ/manageiq-schema#165
:vlan_enabled => port["vnicMode"],
:vlan_key => port["logicalPortIndex"],

Depends on: ManageIQ/manageiq-schema#165

@felipedf
Copy link
Member Author

ManageIQ/manageiq-schema#165 was merged

@agrare
Copy link
Member

agrare commented Mar 26, 2018

@felipedf it looks like you amended a merge commit or something, can you fix that up?
Also this should have spec tests added and the rubocop issues look legit.

@agrare agrare self-assigned this Mar 26, 2018
@felipedf felipedf changed the title Parsing pci_device and vlan info to ports [WIP] Parsing pci_device and vlan info to ports Mar 27, 2018
@miq-bot miq-bot added the wip label Mar 27, 2018
@miq-bot
Copy link
Member

miq-bot commented Mar 29, 2018

This pull request is not mergeable. Please rebase and repush.

@agrare agrare assigned felipedf and unassigned agrare Apr 4, 2018
@agrare
Copy link
Member

agrare commented Apr 4, 2018

@felipedf please fix the commit and assign back to me when it is ready for review

@rodneyhbrown7
Copy link
Contributor

@felipedf This is now merged with #132 correct? Can we close this PR?

@felipedf
Copy link
Member Author

felipedf commented Apr 5, 2018

#132 is parsing those into physical switch's ports, here were trying to parse them for a physical server

@felipedf felipedf force-pushed the add_vlan_info branch 2 times, most recently from b3538dd to bd45a96 Compare April 18, 2018 20:18
@miq-bot
Copy link
Member

miq-bot commented Apr 18, 2018

Checked commit felipedf@bd45a96 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@felipedf felipedf changed the title [WIP] Parsing pci_device and vlan info to ports Parsing pci_device and vlan info to ports Apr 19, 2018
@rodneyhbrown7 rodneyhbrown7 merged commit 470f5d6 into ManageIQ:master Apr 19, 2018
@agrare agrare added this to the Sprint 84 Ending Apr 23, 2018 milestone Apr 24, 2018
@felipedf felipedf deleted the add_vlan_info branch May 4, 2018 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants