-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(eos_designs): Add sflow_settings (#3078)
Co-authored-by: Jon Still <[email protected]>
- Loading branch information
1 parent
57b85d5
commit b0ec802
Showing
32 changed files
with
865 additions
and
17 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
..._negative_unit_tests/inventory/host_vars/sflow-settings-missing-inband-mgmt-interface.yml
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,21 @@ | ||
type: l2leaf | ||
l2leaf: | ||
nodes: | ||
- name: sflow-settings-missing-inband-mgmt-interface | ||
id: 1 | ||
mgmt_ip: 192.168.0.2/24 | ||
|
||
sflow_settings: | ||
destinations: | ||
- destination: 10.10.10.10 | ||
vrf: use_inband_mgmt_vrf | ||
|
||
servers: | ||
- name: test | ||
adapters: | ||
- switches: [sflow-settings-missing-inband-mgmt-interface] | ||
switch_ports: [Ethernet1] | ||
sflow: true | ||
|
||
expected_error_message: >- | ||
Unable to configure sFlow source-interface with 'use_inband_mgmt_vrf' since 'inband_mgmt_interface' is not set. |
20 changes: 20 additions & 0 deletions
20
...le/eos_designs_negative_unit_tests/inventory/host_vars/sflow-settings-missing-mgmt-ip.yml
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,20 @@ | ||
type: l2leaf | ||
l2leaf: | ||
nodes: | ||
- name: sflow-settings-missing-mgmt-ip | ||
id: 1 | ||
|
||
sflow_settings: | ||
destinations: | ||
- destination: 10.10.10.10 | ||
vrf: use_mgmt_interface_vrf | ||
|
||
servers: | ||
- name: test | ||
adapters: | ||
- switches: [sflow-settings-missing-mgmt-ip] | ||
switch_ports: [Ethernet1] | ||
sflow: true | ||
|
||
expected_error_message: >- | ||
Unable to configure sFlow source-interface with 'use_mgmt_interface_vrf' since 'mgmt_ip' or 'ipv6_mgmt_ip' are not set. |
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
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
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
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
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
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
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
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
Oops, something went wrong.