Commit 4d4e0c0
committed
Fix: device-specific attributes like ios.debug can be global
When a device-specific is defined as a global attribute, it has to be
applied to every device in the lab topology (similar to what we're
doing with the propagated module settings).
This fix implements the simple merge-from-global behavior. I had to
change the parameters of the 'augment_node_device_data' function
because it needs access to topology data.1 parent 423f69b commit 4d4e0c0
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
| 423 | + | |
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
| |||
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
435 | 439 | | |
436 | 440 | | |
437 | 441 | | |
| |||
485 | 489 | | |
486 | 490 | | |
487 | 491 | | |
488 | | - | |
| 492 | + | |
489 | 493 | | |
490 | 494 | | |
491 | 495 | | |
| |||
0 commit comments