Commit 1e944b7
feat: allow previous connection for deploy-l1 (sonic-net#21909)
Description of PR
Summary:
Fixes # (issue) Currently, deploy-l1 is using overwrite mode. Which replace all the previous connection and add a new one on top.
However, this will also not allow us to re-use l1.
New changes add a parameter allow_previous_connection which helps to allow existing connections.
It only remove if the connection is overlap with the second connection
Signed-off-by: Austin Pham <[email protected]>
Signed-off-by: Saravanan Sellappa <[email protected]>1 parent 0174638 commit 1e944b7
3 files changed
Lines changed: 10 additions & 2 deletions
File tree
- ansible
- roles/testbed/nut
- tasks
- templates/config_patch/l1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
| 10 | + | |
4 | 11 | | |
5 | 12 | | |
6 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
| 703 | + | |
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| |||
0 commit comments