-
Notifications
You must be signed in to change notification settings - Fork 784
Fix mikrotik_routeros_interface_print_detail #2288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kwood92
wants to merge
2
commits into
networktocode:master
Choose a base branch
from
kwood92:mikrotik_routeros_interface_print_detail
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
46 changes: 46 additions & 0 deletions
46
.../mikrotik_routeros/interface_print_detail/mikrotik_routeros_interface_print_detail_02.raw
This file contains hidden or 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,46 @@ | ||
| Flags: D - dynamic; X - disabled; I - inactive, R - running; S - slave; P - passthrough | ||
| 0 S ;;; Other Service | ||
| name="ether1" default-name="ether1" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1596 max-l2mtu=2026 mac-address=aa:aa:aa:11:11:11 link-downs=0 | ||
|
|
||
| 1 S ;;; VoIP Service | ||
| name="ether2" default-name="ether2" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1596 max-l2mtu=2026 vrf=VoIP-AGV_ mac-address=aa:aa:aa:11:11:11 link-downs=0 | ||
|
|
||
| 2 RS ;;; Internet Service | ||
| name="ether3" default-name="ether3" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1596 max-l2mtu=2026 mac-address=aa:aa:aa:11:11:11 last-link-down-time=2025-04-01 08:24:05 last-link-up-time=2025-04-01 08:24:18 link-downs=4 | ||
|
|
||
| 3 ;;; xDSL Carrier | ||
| name="ether4" default-name="ether4" type="ether" mtu=1578 actual-mtu=1578 l2mtu=1596 max-l2mtu=2026 mac-address=aa:aa:aa:11:11:11 link-downs=0 | ||
|
|
||
| 4 R ;;; FTTx Carrier | ||
| name="ether5" default-name="ether5" type="ether" mtu=1578 actual-mtu=1578 l2mtu=1596 max-l2mtu=2026 mac-address=aa:aa:aa:11:11:11 last-link-down-time=2025-04-01 16:35:29 last-link-up-time=2025-04-01 16:35:31 link-downs=1730 | ||
|
|
||
| 5 name="sfp1" default-name="sfp1" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1596 max-l2mtu=2026 mac-address=aa:aa:aa:11:11:11 link-downs=0 | ||
|
|
||
| 6 R name="Lo0" type="bridge" mtu=auto actual-mtu=1500 l2mtu=65535 mac-address=aa:aa:aa:11:11:11 last-link-up-time=2025-03-31 16:51:26 link-downs=0 | ||
|
|
||
| 7 R name="Lo1" type="bridge" mtu=auto actual-mtu=1500 l2mtu=65535 mac-address=aa:aa:aa:11:11:11 last-link-up-time=2025-03-31 16:51:26 link-downs=0 | ||
|
|
||
| 8 R name="VoIP-AGV_" type="vrf" mtu=65536 actual-mtu=65536 mac-address=aa:aa:aa:11:11:11 last-link-up-time=2025-03-31 16:51:25 link-downs=0 | ||
|
|
||
| 9 R ;;; Internet Service | ||
| name="bridge_Internet" type="bridge" mtu=auto actual-mtu=1500 l2mtu=1558 mac-address=aa:aa:aa:11:11:11 last-link-up-time=2025-03-31 16:51:26 link-downs=0 | ||
|
|
||
| 10 R ;;; Other Service | ||
| name="bridge_OtherService" type="bridge" mtu=auto actual-mtu=1500 l2mtu=1596 mac-address=aa:aa:aa:11:11:11 last-link-up-time=2025-03-31 16:51:26 link-downs=0 | ||
|
|
||
| 11 R ;;; VoIP Service | ||
| name="bridge_VoIP" type="bridge" mtu=auto actual-mtu=1500 l2mtu=1596 vrf=VoIP-AGV_ mac-address=aa:aa:aa:11:11:11 last-link-up-time=2025-03-31 16:51:26 link-downs=0 | ||
|
|
||
| 12 R name="lo" type="loopback" mtu=65536 actual-mtu=65536 mac-address=aa:aa:aa:11:11:11 last-link-up-time=2025-03-31 16:51:25 link-downs=0 | ||
|
|
||
| 13 R name="vlan10@ether5" type="vlan" mtu=1574 actual-mtu=1574 l2mtu=1592 mac-address=aa:aa:aa:11:11:11 last-link-down-time=2025-04-01 16:35:29 last-link-up-time=2025-04-01 16:35:31 link-downs=1730 | ||
|
|
||
| 14 D RS name="vpls1713" type="vpls" mtu=1500 actual-mtu=1500 l2mtu=1558 mac-address=aa:aa:aa:11:11:11 last-link-up-time=2025-04-01 16:35:37 link-downs=0 | ||
|
|
||
| 15 name="vpls:VoIP:AGV1" type="vpls" mac-address=aa:aa:aa:11:11:11 link-downs=0 | ||
|
|
||
| 16 R name="vpls:VoIP:AGV2" type="vpls" actual-mtu=1500 l2mtu=1500 vrf=VoIP-AGV_ mac-address=aa:aa:aa:11:11:11 last-link-down-time=2025-04-01 16:34:41 last-link-up-time=2025-04-01 16:35:37 link-downs=1267 | ||
|
|
||
| 17 R name="vpls:VoIP:AGV3" type="vpls" actual-mtu=1500 l2mtu=1500 vrf=VoIP-AGV_ mac-address=aa:aa:aa:11:11:11 last-link-down-time=2025-04-01 16:36:03 last-link-up-time=2025-04-01 16:36:24 link-downs=1236 | ||
|
|
||
| 18 name="vpls:VoIP:AGV4" type="vpls" mac-address=aa:aa:aa:11:11:11 link-downs=0 |
299 changes: 299 additions & 0 deletions
299
.../mikrotik_routeros/interface_print_detail/mikrotik_routeros_interface_print_detail_02.yml
This file contains hidden or 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,299 @@ | ||
| --- | ||
| parsed_sample: | ||
| - actual_mtu: "1500" | ||
| default_name: "ether1" | ||
| description: | ||
| - "Other Service" | ||
| dynamic: "" | ||
| id: "0" | ||
| l2mtu: "1596" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "2026" | ||
| mtu: "1500" | ||
| name: "ether1" | ||
| slave: "S" | ||
| status: "" | ||
| type: "ether" | ||
| vrf: "" | ||
| - actual_mtu: "1500" | ||
| default_name: "ether2" | ||
| description: | ||
| - "VoIP Service" | ||
| dynamic: "" | ||
| id: "1" | ||
| l2mtu: "1596" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "2026" | ||
| mtu: "1500" | ||
| name: "ether2" | ||
| slave: "S" | ||
| status: "" | ||
| type: "ether" | ||
| vrf: "VoIP-AGV_" | ||
| - actual_mtu: "1500" | ||
| default_name: "ether3" | ||
| description: | ||
| - "Internet Service" | ||
| dynamic: "" | ||
| id: "2" | ||
| l2mtu: "1596" | ||
| last_link_down_time: "2025-04-01 08:24:05" | ||
| last_link_up_time: "2025-04-01 08:24:18" | ||
| link_downs: "4" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "2026" | ||
| mtu: "1500" | ||
| name: "ether3" | ||
| slave: "S" | ||
| status: "R" | ||
| type: "ether" | ||
| vrf: "" | ||
| - actual_mtu: "1578" | ||
| default_name: "ether4" | ||
| description: | ||
| - "xDSL Carrier" | ||
| dynamic: "" | ||
| id: "3" | ||
| l2mtu: "1596" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "2026" | ||
| mtu: "1578" | ||
| name: "ether4" | ||
| slave: "" | ||
| status: "" | ||
| type: "ether" | ||
| vrf: "" | ||
| - actual_mtu: "1578" | ||
| default_name: "ether5" | ||
| description: | ||
| - "FTTx Carrier" | ||
| dynamic: "" | ||
| id: "4" | ||
| l2mtu: "1596" | ||
| last_link_down_time: "2025-04-01 16:35:29" | ||
| last_link_up_time: "2025-04-01 16:35:31" | ||
| link_downs: "1730" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "2026" | ||
| mtu: "1578" | ||
| name: "ether5" | ||
| slave: "" | ||
| status: "R" | ||
| type: "ether" | ||
| vrf: "" | ||
| - actual_mtu: "1500" | ||
| default_name: "sfp1" | ||
| description: [] | ||
| dynamic: "" | ||
| id: "5" | ||
| l2mtu: "1596" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "2026" | ||
| mtu: "1500" | ||
| name: "sfp1" | ||
| slave: "" | ||
| status: "" | ||
| type: "ether" | ||
| vrf: "" | ||
| - actual_mtu: "1500" | ||
| default_name: "" | ||
| description: [] | ||
| dynamic: "" | ||
| id: "6" | ||
| l2mtu: "65535" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "2025-03-31 16:51:26" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "auto" | ||
| name: "Lo0" | ||
| slave: "" | ||
| status: "R" | ||
| type: "bridge" | ||
| vrf: "" | ||
| - actual_mtu: "1500" | ||
| default_name: "" | ||
| description: [] | ||
| dynamic: "" | ||
| id: "7" | ||
| l2mtu: "65535" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "2025-03-31 16:51:26" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "auto" | ||
| name: "Lo1" | ||
| slave: "" | ||
| status: "R" | ||
| type: "bridge" | ||
| vrf: "" | ||
| - actual_mtu: "65536" | ||
| default_name: "" | ||
| description: [] | ||
| dynamic: "" | ||
| id: "8" | ||
| l2mtu: "" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "2025-03-31 16:51:25" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "65536" | ||
| name: "VoIP-AGV_" | ||
| slave: "" | ||
| status: "R" | ||
| type: "vrf" | ||
| vrf: "" | ||
| - actual_mtu: "1500" | ||
| default_name: "" | ||
| description: | ||
| - "Internet Service" | ||
| dynamic: "" | ||
| id: "9" | ||
| l2mtu: "1558" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "2025-03-31 16:51:26" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "auto" | ||
| name: "bridge_Internet" | ||
| slave: "" | ||
| status: "R" | ||
| type: "bridge" | ||
| vrf: "" | ||
| - actual_mtu: "1500" | ||
| default_name: "" | ||
| description: | ||
| - "Other Service" | ||
| dynamic: "" | ||
| id: "10" | ||
| l2mtu: "1596" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "2025-03-31 16:51:26" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "auto" | ||
| name: "bridge_OtherService" | ||
| slave: "" | ||
| status: "R" | ||
| type: "bridge" | ||
| vrf: "" | ||
| - actual_mtu: "1500" | ||
| default_name: "" | ||
| description: | ||
| - "VoIP Service" | ||
| dynamic: "" | ||
| id: "11" | ||
| l2mtu: "1596" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "2025-03-31 16:51:26" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "auto" | ||
| name: "bridge_VoIP" | ||
| slave: "" | ||
| status: "R" | ||
| type: "bridge" | ||
| vrf: "VoIP-AGV_" | ||
| - actual_mtu: "65536" | ||
| default_name: "" | ||
| description: [] | ||
| dynamic: "" | ||
| id: "12" | ||
| l2mtu: "" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "2025-03-31 16:51:25" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "65536" | ||
| name: "lo" | ||
| slave: "" | ||
| status: "R" | ||
| type: "loopback" | ||
| vrf: "" | ||
| - actual_mtu: "1574" | ||
| default_name: "" | ||
| description: [] | ||
| dynamic: "" | ||
| id: "13" | ||
| l2mtu: "1592" | ||
| last_link_down_time: "2025-04-01 16:35:29" | ||
| last_link_up_time: "2025-04-01 16:35:31" | ||
| link_downs: "1730" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "1574" | ||
| name: "vlan10@ether5" | ||
| slave: "" | ||
| status: "R" | ||
| type: "vlan" | ||
| vrf: "" | ||
| - actual_mtu: "1500" | ||
| default_name: "" | ||
| description: [] | ||
| dynamic: "D" | ||
| id: "14" | ||
| l2mtu: "1558" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "2025-04-01 16:35:37" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "1500" | ||
| name: "vpls1713" | ||
| slave: "S" | ||
| status: "R" | ||
| type: "vpls" | ||
| vrf: "" | ||
| - actual_mtu: "" | ||
| default_name: "" | ||
| description: [] | ||
| dynamic: "" | ||
| id: "15" | ||
| l2mtu: "" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "" | ||
| name: "vpls:VoIP:AGV1" | ||
| slave: "" | ||
| status: "" | ||
| type: "vpls" | ||
| vrf: "" | ||
| - actual_mtu: "" | ||
| default_name: "" | ||
| description: [] | ||
| dynamic: "" | ||
| id: "18" | ||
| l2mtu: "" | ||
| last_link_down_time: "" | ||
| last_link_up_time: "" | ||
| link_downs: "0" | ||
| mac_address: "aa:aa:aa:11:11:11" | ||
| max_l2mtu: "" | ||
| mtu: "" | ||
| name: "vpls:VoIP:AGV4" | ||
| slave: "" | ||
| status: "" | ||
| type: "vpls" | ||
| vrf: "" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kwood92
There doesn't appear to be any test data with the
Ifor inactive status flags (on the left side) in the "02.raw" file.Are you able to get any test data with
IandP(passthrough)?