Commit 1d2ae39
committed
extension: refresh extension VpcProviders on every getVpcElements() call
The vpcElements list was initialized once and never refreshed, so
dynamically registered extensions would be invisible until server restart.
Fix: keep caching the static providers (VPCVirtualRouter, JuniperContrailVpcRouter)
but re-query extension-backed NetworkOrchestrator providers on every call so
that newly registered extensions are picked up immediately.1 parent 78eda30 commit 1d2ae39
1 file changed
Lines changed: 11 additions & 12 deletions
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2267 | 2267 | | |
2268 | 2268 | | |
2269 | 2269 | | |
| 2270 | + | |
2270 | 2271 | | |
2271 | 2272 | | |
2272 | 2273 | | |
| |||
2278 | 2279 | | |
2279 | 2280 | | |
2280 | 2281 | | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
2284 | | - | |
2285 | | - | |
2286 | | - | |
2287 | | - | |
2288 | | - | |
2289 | | - | |
2290 | 2282 | | |
2291 | 2283 | | |
2292 | | - | |
2293 | | - | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
2294 | 2293 | | |
2295 | 2294 | | |
2296 | | - | |
| 2295 | + | |
2297 | 2296 | | |
2298 | 2297 | | |
2299 | 2298 | | |
| |||
0 commit comments