-
Notifications
You must be signed in to change notification settings - Fork 10
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
SaveTopology Race Condition #60
Comments
This would be really beneficial in our case as well. Since this is post from March 30, adding a super gentle nudge 😺 to @cheynearista |
@cheynearista is there a solution to this issue currently? If not, what would be needed in your opinion? Does CVP itself need to be changed to allow for more finegrained topology saving, or can we do this in this project/repository? |
There are several issues (needing to be addressed) that build on each other:
reqResp, err := c.client.Post("/ztp/v2/saveTopology.do", nil, []string{}) Sending an empty list for the data implies executing all current temp actions. We would need to pass the tempAction data for the specific action desired to be executed into
Data format (what we currently send) for temp action passed to
There may be addition fields that should be set. I'll need to chase down these. |
When saving topology at the same time among multiple devices, duplicate tasks are created causing the inability to execute those tasks. Is there a good way to be more selective on the save topology call so that the call is at the scope of a device or temp action and not the entire topology?
The text was updated successfully, but these errors were encountered: