1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-13 12:58:17 +03:00

F #4809: Start/Stop zone replication threads when adding/deleting zones

This commit is contained in:
Ruben S. Montero 2017-06-13 17:47:42 +02:00
parent 9c0e7c8023
commit 2f5a3185df
2 changed files with 4 additions and 0 deletions

View File

@ -980,6 +980,8 @@ Request::ErrorCode ZoneAllocate::pool_allocate(
return Request::INTERNAL;
}
Nebula::instance().get_frm()->add_zone(id);
return Request::SUCCESS;
}

View File

@ -395,6 +395,8 @@ int ZoneDelete::drop(PoolObjectSQL * object, bool recursive,
aclm->del_zid_rules(oid);
}
Nebula::instance().get_frm()->delete_zone(oid);
return rc;
}