mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
parent
b502c32a64
commit
0b36571b23
@ -413,6 +413,17 @@ void VirtualNetworkReserve::request_execute(
|
||||
|
||||
if (quota_authorization(&qtmpl, Quotas::NETWORK, reservation_att) == false)
|
||||
{
|
||||
if (!on_exisiting)
|
||||
{
|
||||
rvn = vnpool->get(rid, true);
|
||||
|
||||
if (rvn != 0)
|
||||
{
|
||||
vnpool->drop(rvn, att.resp_msg);
|
||||
|
||||
rvn->unlock();
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user