mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Adjust dynamically generated portgroup
This commit is contained in:
parent
4e0692d4e5
commit
61ad2c0c08
@ -56,10 +56,9 @@ class OpenNebulaVMware < OpenNebulaNetwork
|
||||
vm_id = @vm['ID']
|
||||
hostname = @vm['HISTORY_RECORDS/HISTORY/HOSTNAME']
|
||||
process do |nic|
|
||||
|
||||
switch = nic[:bridge]
|
||||
network_id = nic[:network_id]
|
||||
pg = "one-#{network_id}"
|
||||
pg = "one-pg-#{network_id}"
|
||||
|
||||
if nic[:vlan] == "YES"
|
||||
if nic[:vlan_id]
|
||||
|
Loading…
x
Reference in New Issue
Block a user