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

Add t3c mode flags#6000

Merged
dneuman64 merged 1 commit intoapache:masterfrom
rob05c:add-t3c-mode-flags
Aug 13, 2021
Merged

Add t3c mode flags#6000
dneuman64 merged 1 commit intoapache:masterfrom
rob05c:add-t3c-mode-flags

Conversation

@rob05c
Copy link
Member

@rob05c rob05c commented Jul 7, 2021

Adds flags for all the actual behaviors of t3c-apply (nee ORT) modes: --report-only --files --install-packages --service-action --ignore-update-flag --update-ipallow --no-unset-update-flag --wait-for-parents --report-only,
Changes the internal code for mode flags to set the real behavior flags,
Changes all config struct to not store the mode, and all behavioral logic to operate on the actual behavior flag.

The intent is to make the app more flexible and powerful, and to make it easier to work with and more obvious and less subtle and confusing exactly what each mode does.

  • 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 tests. Run t3c-apply with modes and new behavior flags, verify behavior is expected.

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

Not a bug.

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 DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

@rob05c rob05c added new feature A new feature, capability or behavior tech debt rework due to choosing easy/limited solution cache-config Cache config generation labels Jul 7, 2021
@rob05c rob05c force-pushed the add-t3c-mode-flags branch from ea81993 to e680b98 Compare July 7, 2021 19:09
Copy link
Member

@ezelkow1 ezelkow1 left a comment

Choose a reason for hiding this comment

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

tested locally and what i tested still seemed functional and working

@rob05c rob05c force-pushed the add-t3c-mode-flags branch 2 times, most recently from cf14923 to 27a6c48 Compare July 9, 2021 20:51
@rob05c rob05c force-pushed the add-t3c-mode-flags branch 2 times, most recently from 2fe6d93 to ea2bc27 Compare August 4, 2021 15:52
@rob05c rob05c force-pushed the add-t3c-mode-flags branch 3 times, most recently from a4e89af to 897963f Compare August 13, 2021 14:48
@rob05c rob05c force-pushed the add-t3c-mode-flags branch from 897963f to e7406d4 Compare August 13, 2021 15:10
@dneuman64 dneuman64 merged commit f6b71a5 into apache:master Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cache-config Cache config generation new feature A new feature, capability or behavior tech debt rework due to choosing easy/limited solution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants