Committed by
Gerrit Code Review
GUI- topo : added warning logs showing a race condition
- setting up the topology elements and trying to highlight them because we are trying to monitor an intent. Change-Id: Ic7d7be62c085c186a22ba91942970eccb5711fe4
Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -339,6 +339,8 @@ | ... | @@ -339,6 +339,8 @@ |
339 | api.unsupNode(hdata.id, less); | 339 | api.unsupNode(hdata.id, less); |
340 | } | 340 | } |
341 | // TODO: further highlighting? | 341 | // TODO: further highlighting? |
342 | + } else { | ||
343 | + $log.warn('HILITE: no host element:', host.id); | ||
342 | } | 344 | } |
343 | }); | 345 | }); |
344 | 346 | ||
... | @@ -352,6 +354,8 @@ | ... | @@ -352,6 +354,8 @@ |
352 | api.unsupNode(ddata.id, less); | 354 | api.unsupNode(ddata.id, less); |
353 | } | 355 | } |
354 | // TODO: further highlighting? | 356 | // TODO: further highlighting? |
357 | + } else { | ||
358 | + $log.warn('HILITE: no device element:', device.id); | ||
355 | } | 359 | } |
356 | }); | 360 | }); |
357 | 361 | ||
... | @@ -382,6 +386,8 @@ | ... | @@ -382,6 +386,8 @@ |
382 | } | 386 | } |
383 | ldata.el.classed(portcls, true); | 387 | ldata.el.classed(portcls, true); |
384 | } | 388 | } |
389 | + } else { | ||
390 | + $log.warn('HILITE: no link element:', link.id); | ||
385 | } | 391 | } |
386 | }); | 392 | }); |
387 | 393 | ... | ... |
-
Please register or login to post a comment