-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test cases for unmanaged nodes and 'none' clones
- Loading branch information
Showing
3 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
message: This scenario tests the virtual deployment of 'none' type devices, occupying IP address | ||
space but skipped when deployed as containers or VMs | ||
|
||
plugin: [ node.clone ] | ||
|
||
nodes: | ||
switch: | ||
device: frr | ||
|
||
host: | ||
device: none | ||
clone.count: 10 | ||
|
||
host-01: | ||
device: linux | ||
|
||
host-10: | ||
device: linux | ||
|
||
links: | ||
- switch: | ||
host: | ||
pool: p2p | ||
|
||
validate: | ||
ping: | ||
description: IPv4 ping host-01 => host-10 | ||
wait: 10 | ||
wait_msg: Wait for IPv4 interfaces to become operational | ||
nodes: [ host-01 ] | ||
plugin: ping('host-10') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
|
||
provider: clab | ||
|
||
nodes: | ||
switch: | ||
device: frr | ||
host1: | ||
device: linux | ||
unmanaged: True | ||
host2: | ||
device: linux | ||
|
||
links: | ||
- switch-host1 | ||
- switch-host2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters