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.
Merge branch 'mikrotik_routeros_ip_address_print' into 'master'
Fix template for Mikrotik's command '/ip address print' See merge request bsh-developers/ntc-templates!46
- Loading branch information
Showing
5 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
ntc_templates/templates/mikrotik_routeros_ip_address_print.textfsm
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
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
tests/mikrotik_routeros/ip_address_print/mikrotik_routeros_ip_address_print_2.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,6 @@ | ||
Flags: X - disabled, I - invalid, D - dynamic | ||
# ADDRESS NETWORK INTERFACE | ||
0 10.156.1.229/30 10.156.1.228 ether4_CiscoPhone3 | ||
1 10.152.1.229/30 10.152.1.228 ether5_KFCcisco | ||
2 10.160.1.229/30 10.160.1.228 ether2_BOX | ||
3 XI 10.100.3.200/27 10.100.3.192 bridge70 |
30 changes: 30 additions & 0 deletions
30
tests/mikrotik_routeros/ip_address_print/mikrotik_routeros_ip_address_print_2.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,30 @@ | ||
--- | ||
parsed_sample: | ||
- comment: "" | ||
flags: "" | ||
interface: "ether4_CiscoPhone3" | ||
ip: "10.156.1.229" | ||
network: "10.156.1.228" | ||
num: "0" | ||
subnet: "30" | ||
- comment: "" | ||
flags: "" | ||
interface: "ether5_KFCcisco" | ||
ip: "10.152.1.229" | ||
network: "10.152.1.228" | ||
num: "1" | ||
subnet: "30" | ||
- comment: "" | ||
flags: "" | ||
interface: "ether2_BOX" | ||
ip: "10.160.1.229" | ||
network: "10.160.1.228" | ||
num: "2" | ||
subnet: "30" | ||
- comment: "" | ||
flags: "XI" | ||
interface: "bridge70" | ||
ip: "10.100.3.200" | ||
network: "10.100.3.192" | ||
num: "3" | ||
subnet: "27" |