forked from networktocode/ntc-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hp_comware_display_vlan_all with production outputs (networktocod…
- Loading branch information
Showing
3 changed files
with
46 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
23 changes: 23 additions & 0 deletions
23
tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.raw
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,23 @@ | ||
VLAN ID: 1 | ||
VLAN Type: static | ||
Route Interface: not configured | ||
Description: VLAN 0001 | ||
Name: VLAN 0001 | ||
Tagged Ports: none | ||
Untagged Ports: | ||
Bridge-Aggregation1 | ||
GigabitEthernet1/0/25 GigabitEthernet1/0/26 GigabitEthernet1/0/27 | ||
GigabitEthernet1/0/28 | ||
|
||
VLAN ID: 1002 | ||
VLAN Type: static | ||
Route Interface: not configured | ||
Description: VLAN 1002 | ||
Name: VLAN 1002 | ||
Tagged Ports: | ||
Bridge-Aggregation1 | ||
Ten-GigabitEthernet1/0/29 | ||
Ten-GigabitEthernet1/0/30 | ||
Untagged Ports: | ||
GigabitEthernet1/0/1 GigabitEthernet1/0/2 GigabitEthernet1/0/3 | ||
GigabitEthernet1/0/4 GigabitEthernet1/0/5 GigabitEthernet1/0/6 |
16 changes: 16 additions & 0 deletions
16
tests/hp_comware/display_vlan_all/hp_comware_display_vlan_all1.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,16 @@ | ||
--- | ||
parsed_sample: | ||
- vlan_id: "1" | ||
name: "VLAN 0001" | ||
description: "VLAN 0001" | ||
type: "static" | ||
route_interface: "not configured" | ||
ipv4_address: "" | ||
ipv4_subnet: "" | ||
- vlan_id: "1002" | ||
name: "VLAN 1002" | ||
description: "VLAN 1002" | ||
type: "static" | ||
route_interface: "not configured" | ||
ipv4_address: "" | ||
ipv4_subnet: "" |