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

Fix atscfg ip_allow gen not using v6 number param#4678

Merged
rawlinp merged 1 commit into
apache:masterfrom
rob05c:fix-atscfg-ipallow-wrong-var
May 1, 2020
Merged

Fix atscfg ip_allow gen not using v6 number param#4678
rawlinp merged 1 commit into
apache:masterfrom
rob05c:fix-atscfg-ipallow-wrong-var

Conversation

@rob05c
Copy link
Copy Markdown
Member

@rob05c rob05c commented May 1, 2020

What does this PR (Pull Request) do?

Fixes ORT config generation not using the coalesce_number_v6 Parameter.

Includes tests.
No docs, no interface change.
Includes changelog.

  • This PR is not related to any other Issue

Which Traffic Control components are affected by this PR?

  • Traffic Ops ORT

What is the best way to verify this PR?

Run unit tests.
Run ORT against a Traffic Ops with a custom coalesce_number_v6 parameter, verify the generated ip_allow.config IPv6 addresses are collapsed according to the Parameter and not the default of 5.

If this is a bug fix, what versions of Traffic Control are affected?

  • 4.0.0

The following criteria are ALL met by this PR

  • This PR includes tests OR I have explained why tests are unnecessary
  • This PR includes documentation OR I have explained why documentation is unnecessary
  • This PR includes an update to CHANGELOG.md OR such an update is not necessary
  • This PR includes any and all required license headers
  • This PR ensures that database migration sequence is correct OR this PR does not include a database migration
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

@rob05c rob05c added bug something isn't working as intended Traffic Ops ORT *DEPRECATED* related to the traffic_ops_ort.pl script labels May 1, 2020
Copy link
Copy Markdown
Contributor

@rawlinp rawlinp left a comment

Choose a reason for hiding this comment

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

Unit tests pass, no longer seeing the erroneous warning when running atstccfg

@rawlinp
Copy link
Copy Markdown
Contributor

rawlinp commented May 1, 2020

Oh, there is a merge conflict with CHANGELOG.md -- @rob05c once you rebase I will merge this.

@rob05c rob05c force-pushed the fix-atscfg-ipallow-wrong-var branch from 5ec5cf2 to bd3d76b Compare May 1, 2020 16:56
@rob05c
Copy link
Copy Markdown
Member Author

rob05c commented May 1, 2020

Rebased

@rawlinp rawlinp merged commit 228371c into apache:master May 1, 2020
rawlinp pushed a commit to rawlinp/trafficcontrol that referenced this pull request May 28, 2020
rawlinp added a commit that referenced this pull request May 28, 2020
(cherry picked from commit 228371c)

Co-authored-by: Robert O Butts <rob05c@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended Traffic Ops ORT *DEPRECATED* related to the traffic_ops_ort.pl script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants