Commit 210e776
Added changes for updating TestbedProcessing module (sonic-net#4221)
Summary:
* Fixed incorrect name of num_asics value.
* Added extra approach for getting os value from testbed-new.yaml.
* Added extra approach for getting dev value from testbed dictionary.
What is the motivation for this PR?
Sometimes the device configuration is located in testbed dictionary of testbed-new.yaml module.
The fanouthosts fixture gets 'os' type from host_vars.
How did you do it?
Added the possibility for getting dev value from testbed dictionary.
Added the possibility for defining os type by the extra parameter os in testbed-new.yaml.
Example:
testbed-new.yaml:
devices:
str-msn2700-01:
os: sonic
device_type: DevSonic # source: sonic-mgmt/ansible/files/sonic_lab_devices-github.csv
Signed-off-by: Oleksandr Kozodoi <oleksandrx.kozodoi@intel.com>1 parent 08ef0a6 commit 210e776
1 file changed
+16
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
392 | 398 | | |
393 | 399 | | |
394 | 400 | | |
| |||
458 | 464 | | |
459 | 465 | | |
460 | 466 | | |
461 | | - | |
462 | | - | |
| 467 | + | |
| 468 | + | |
463 | 469 | | |
464 | 470 | | |
465 | 471 | | |
| |||
526 | 532 | | |
527 | 533 | | |
528 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
529 | 542 | | |
530 | 543 | | |
531 | 544 | | |
| |||
0 commit comments