-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support replicate /batch resources #2
Comments
Solution:
<batchRule1> or <batchRule2> |
Alternatively, do not use BatchService but simply let Resource mrs:hasBatch. |
I have added a new class called BatchResourcesTool and implemented the following method addBatchToModel which will create a copy of a delta model and do the following:
This was tested with creating multiple VMs at once where root volumes and network interfaces have to be batched as well. |
While the code works for push(add) it has not been tested for push(delete) since I need to first come up with a solution on how to pull multiple resources. The current solution works at a model level, so it should work for any driver and any type of resources. Current problems:
|
Miguel, |
Mr Yang I opened the issue on the versaStack an include you in it. Tomorrow, I have I hope you have a good Sunday. Sincerely, On Sun, Sep 20, 2015 at 10:54 AM, xi-yang notifications@github.com wrote:
|
We need a way to model a group of resources with exact same properties. For example, in AWS we can create a number of EC2 instances in a batch.
This should not change the existing relationships. We should also use a common notion instead of creating multiple batch relationships.
The text was updated successfully, but these errors were encountered: