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

Add support for cdn query parameter filter to GET /deliveryserviceserver route #6034

@rawlinp

Description

@rawlinp

I'm submitting a ...

  • improvement request (usability, performance, tech debt, etc.)

Traffic Control components affected ...

  • Traffic Ops
  • Traffic Ops ORT

Current behavior:

The GET /deliveryserviceserver route does not support filtering by CDN.

New behavior:

The GET /deliveryserviceserver route should have support for a ?cdn=my-cdn-name query parameter to filter the response by CDN. Once added, we should make t3c use it to filter by CDN instead of requesting the entirety of ds-server assignments across all CDNs. t3c has no need for ds-server assignments for CDNs outside of its own CDN, so this leads to unnecessary network bandwidth usage and database load.

Minimal reproduction of the problem with instructions:

GET /deliveryserviceserver?cdn=my-cdn, notice how it doesn't filter by the given CDN name.

Metadata

Metadata

Assignees

Labels

Traffic Opsrelated to Traffic Opscache-configCache config generationimprovementThe functionality exists but it could be improved in some way.performanceimpacts/improves/measures performance

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions