Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Change warning on Server mask length to trigger at < 24 and reword message#6007

Merged
rawlinp merged 1 commit intoapache:masterfrom
ocket8888:tp/cidr-warning
Jul 9, 2021
Merged

Change warning on Server mask length to trigger at < 24 and reword message#6007
rawlinp merged 1 commit intoapache:masterfrom
ocket8888:tp/cidr-warning

Conversation

@ocket8888
Copy link
Contributor

What does this PR (Pull Request) do?

This PR changes the warning that appears on large CIDR blocks in Traffic Portal server forms from triggering on < 27 to < 24 and rewords the warning message itself to avoid calling things "problematic".

Which Traffic Control components are affected by this PR?

  • Traffic Portal

What is the best way to verify this PR?

Make sure TP tests pass, run TP and try to enter an IPv4 address for a server with a netmask < 27 but not < 24 and observe no warning message, then make it less than 24 and observe that there is a new warning message that doesn't use the word "problematic".

The following criteria are ALL met by this PR

  • Tests are unnecessary
  • Documentation is unnecessary
  • An update to CHANGELOG.md is not necessary
  • This PR includes any and all required license headers
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY

@ocket8888 ocket8888 added Traffic Portal v1 related to Traffic Portal version 1 improvement The functionality exists but it could be improved in some way. labels Jul 8, 2021
@rawlinp rawlinp merged commit 5bef61a into apache:master Jul 9, 2021
@ocket8888 ocket8888 deleted the tp/cidr-warning branch July 9, 2021 14:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

improvement The functionality exists but it could be improved in some way. Traffic Portal v1 related to Traffic Portal version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TP: large CIDR warning should only warn for IPv4 masklen < 24

2 participants