Committed by
Gerrit Code Review
Fixed timeout logic for waiting for onos device discovery in opticalUtils.py
Change-Id: I6e019cf8eafed296f4b4a345ac18c7ddc62acee0
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -469,8 +469,7 @@ class LINCSwitch(OpticalSwitch): | ... | @@ -469,8 +469,7 @@ class LINCSwitch(OpticalSwitch): |
| 469 | devs = response.get('devices') | 469 | devs = response.get('devices') |
| 470 | 470 | ||
| 471 | # Wait for all devices to be registered. There is a chance that this is only a subgraph. | 471 | # Wait for all devices to be registered. There is a chance that this is only a subgraph. |
| 472 | - if (len(devices) > len(devs)): | 472 | + if (len(devices) == len(devs)): |
| 473 | - continue | ||
| 474 | 473 | ||
| 475 | # Wait for all devices to available | 474 | # Wait for all devices to available |
| 476 | available = True | 475 | available = True | ... | ... |
-
Please register or login to post a comment