cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1488
Views
5
Helpful
1
Replies

How to get allocation resource synchronously

kuiliu
Cisco Employee
Cisco Employee

The standard resource allocation package is asynchronously by reactive fast map, if committing a service which has several resource to allocation within CREATE method, it returns back immediately without knowing if configuration is correctly pushed to devices. I'm wondering if there is a way to allocate resource synchronously, the committing could returns correctly status of the service.

1 Reply 1

u.avsec
Spotlight
Spotlight

Necrobumping this thread.

Resource manager version 4.0 allows synchronous allocations.

Or at least I think it does. The code for the feature is not documented at all (and kinda messy too in case of Python) and pdf documentation just writes about it from a high level.

The thing that I can't figure out yet is if it actually works only on pre-existing pools or not. For now it seems that if I'm both creating a pool and allocating from it in the same transaction, the only result will be:

"response error com.tailf.pkg.resourcemanager.ResourceErrorException: Unable to get pool."

Anyone knows how to deal with this to retain dry-run and stuff working?

Polls
AI-powered tools for network troubleshooting are likely to be part of everyone’s workflow sooner or later. What is the single biggest challenge or concern you see with adopting these tools in your organization?