Skip to content

Add Mikrotik RouterOS interface wireless templates#2300

Open
k-ribot wants to merge 1 commit intonetworktocode:masterfrom
unyc-io:add-mikrotik-routeros-interface-wireless-templates
Open

Add Mikrotik RouterOS interface wireless templates#2300
k-ribot wants to merge 1 commit intonetworktocode:masterfrom
unyc-io:add-mikrotik-routeros-interface-wireless-templates

Conversation

@k-ribot
Copy link
Copy Markdown
Contributor

@k-ribot k-ribot commented Mar 23, 2026

Add Mikrotik RouterOS interface wireless templates

@k-ribot k-ribot closed this Mar 23, 2026
@k-ribot k-ribot deleted the add-mikrotik-routeros-interface-wireless-templates branch March 23, 2026 09:40
@k-ribot k-ribot restored the add-mikrotik-routeros-interface-wireless-templates branch March 23, 2026 09:40
@k-ribot k-ribot reopened this Mar 23, 2026
@k-ribot k-ribot force-pushed the add-mikrotik-routeros-interface-wireless-templates branch 4 times, most recently from 543df8f to 15a7557 Compare March 23, 2026 17:00
@k-ribot k-ribot force-pushed the add-mikrotik-routeros-interface-wireless-templates branch from 15a7557 to ee4cac1 Compare March 24, 2026 13:41
@mjbear
Copy link
Copy Markdown
Collaborator

mjbear commented Apr 1, 2026

I'll work through this, but it would be simpler to review with one template per PR. 😇

@mjbear
Copy link
Copy Markdown
Collaborator

mjbear commented Apr 1, 2026

@k-ribot
Please regenerate the test data (yaml) with keys in alphabetical order.

@mjbear mjbear added the changes_requested Waiting on user to address feedback label Apr 1, 2026
Value ARP (\S+)
Value DISABLE_RUNNING_CHECK (\S+)
Value INTERFACE_TYPE (\S+)
Value MASTER_INTERFACE (\S*)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test data always has an interface name listed for master-interface.
(Please adjust this since your forked repo doesn't allow maintainer changes. Thank you!)

Suggested change
Value MASTER_INTERFACE (\S*)
Value MASTER_INTERFACE (\S+)

Value SCAN_LIST (\S+)
Value WIRELESS_PROTOCOL (\S+)
Value RATE_SET (\S+)
Value SUPPORTED_RATES_B (\S*)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every entry of supported-rates-b in the test data has rates listed.

Please provide test data to support this regex being zero or more non-white space characters.

Value RATE_SET (\S+)
Value SUPPORTED_RATES_B (\S*)
Value SUPPORTED_RATES_A_G (\S+)
Value BASIC_RATES_B (\S*)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each basic-rates-b instance in the provided test data has values listed.
Please provide supporting test data for the regex.

Comment on lines +62 to +63
Value VHT_SUPPORTED_MCS (\S*)
Value VHT_BASIC_MCS (\S*)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test data shows entries for vht-supported-mcs and vht-basic-mcs that always have values.
To support the regex choice of \S*, please provide test data the the condition where the values aren't present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes_requested Waiting on user to address feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants