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

Comments

ORT Multi-Interface Support#4990

Merged
ocket8888 merged 8 commits intoapache:masterfrom
rob05c:atscfg-standard-objects-plus-interfaces
Sep 1, 2020
Merged

ORT Multi-Interface Support#4990
ocket8888 merged 8 commits intoapache:masterfrom
rob05c:atscfg-standard-objects-plus-interfaces

Conversation

@rob05c
Copy link
Member

@rob05c rob05c commented Aug 26, 2020

Adds support for Multiple Interfaces to ORT.

Includes getting the right interface from the Server, as well as setting the records.config outgoing_ip setting to the Service Interface(s).

This also refactors remap.config and parent.config, to use standard API objects. Those were already in the works and had a PR, and multi-interface support would cause huge conflicts, as well as much of the same code to review. A single PR both avoids conflicts and makes it less code to review.

No changelog, no interface change.
No docs, multi-interface servers is already documented.
Includes unit tests.

Manually tested, config generates the same before and after this change for our production servers, as well as our test environment with Topologies.

  • 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.
Generate config with ORT before this change, build this and generate new config, diff and verify there are no semantic changes, except the additional record.config entry.

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

Not a bug fix.

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 new feature A new feature, capability or behavior Traffic Ops ORT *DEPRECATED* related to the traffic_ops_ort.pl script labels Aug 26, 2020
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.

still reviewing, just had these 2 small things so far. At least the majority of changes are related to changing to pointers. Also still have to get it running somewhere

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 on a test setup removing all DS's and re-adding and comparing parents and they were the same

@ocket8888 ocket8888 merged commit d1a50b0 into apache:master Sep 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

new feature A new feature, capability or behavior 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.

3 participants