mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
B #4864: vnet topology, hide IPs on hold
This commit is contained in:
parent
1151843d9f
commit
3f464f585a
@ -278,6 +278,11 @@ define(function(require) {
|
||||
|
||||
if (lease.VM != undefined) { //used by a VM
|
||||
|
||||
// Skip leases on hold
|
||||
if (lease.VM == "-1"){
|
||||
continue;
|
||||
}
|
||||
|
||||
var nodeId = "vm"+lease.VM;
|
||||
|
||||
var edgeLabel = undefined;
|
||||
@ -348,10 +353,7 @@ define(function(require) {
|
||||
}
|
||||
|
||||
/*
|
||||
else if (lease.VM == "-1") { //hold
|
||||
} else else if (lease.VNET != undefined) { //used by a VNET Reservation
|
||||
} else {
|
||||
}
|
||||
else if (lease.VNET != undefined) { //used by a VNET Reservation
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user