-
Notifications
You must be signed in to change notification settings - Fork 37
[WIP] Add VM Networks to collected information #15
Conversation
Add VM network information. Update parse_vm_network.
@bronaghs I'll see what I can do with the scvmm provider I have access to. |
Checked commits https://github.com/djberg96/manageiq-providers-scvmm/compare/8c97f1605d8fdfe7e0b78803256d9c531bb5ac17~...a6dd1a06ceaf24c8a91da95a97c8cc4422f3e61f with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0 app/models/manageiq/providers/microsoft/infra_manager/refresh_parser.rb
|
@agrare Maybe I'm not sure how you want to represent a VM network, but it should be a child of a logical network (lan) shouldn't it? |
@djberg96 try with ManageIQ/manageiq#16153 that should save the subnets for you |
Right that's why we added the parent_id to |
@djberg96 the changes to manageiq core are in to save subnets so you should be good there I still need to do the lan parent_id saving, that'll be a little trickier. |
Closed in favor of #19 |
Currently we collect logical networks, but we do not collect VM network information. This PR adds support for them by adding them to the
guest_devices
table.Each VM network is associated with a lan (logical network), and so I add that relationship as well. We should then be able to get to the switch (virtual network) via the lan.
Ideally we should create a relationship between a VM and its corresponding VM networks.
Some more information here:
http://windowsitpro.com/hyper-v/understanding-hyper-v-networking-system-center-vmm-2012-r2