mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Feature #4620: Show PCI IPs in onevm list
This commit is contained in:
parent
b6dbd9c92c
commit
8917dd39aa
@ -164,6 +164,10 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
|
||||
vm_nics = [vm["TEMPLATE"]['NIC']].flatten
|
||||
end
|
||||
|
||||
if !vm["TEMPLATE"]["PCI"].nil?
|
||||
vm_nics = [vm_nics, vm["TEMPLATE"]['PCI']].flatten
|
||||
end
|
||||
|
||||
vm_nics.each do |nic|
|
||||
["IP", "IP6_GLOBAL", "IP6_ULA",
|
||||
"VROUTER_IP", "VROUTER_IP6_GLOBAL", "VROUTER_IP6_ULA"].each do |attr|
|
||||
|
Loading…
x
Reference in New Issue
Block a user