Skip to content

TODB tables cdni_host_limits and cdni_total_limits missing #7433

Open
@serDrem

Description

@serDrem

This Bug Report affects these Traffic Control components:

  • Traffic Ops

Current behavior:

TODB tables cdni_host_limits and cdni_total_limits missing. They are required for OC/CI/configuration/request to work properly. Currently those return 500

Expected behavior:

be able to use OC/CI/configuration/request as defined in https://traffic-control-cdn.readthedocs.io/en/latest/api/v5/oc_ci_configuration_requests.html

Steps to reproduce:

Send an HTTP PUT request to the /OC/CI/configuration TO API endpoint

Example Request Body
{
    "type": "MI.HostMetadata",
    "host": "example.com",
    "metadata": [
        {
            "generic-metadata-type": "MI.RequestedCapacityLimits",
            "generic-metadata-value": {
                "requested-limits": [
                    {
                        "limit-type": "egress",
                        "limit-value": 20000,
                        "footprints": [
                            {
                                "footprint-type": "ipv4cidr",
                                "footprint-value": [
                                    "127.0.0.1",
                                    "127.0.0.2"
                                ]
                            }
                        ]
                    }
                ]
            }
        }
    ]
}

Be able to approve the request via an HTTP PUT request to the /OC/CI/configuration/request/{{ID}}/true endpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendeddatabaserelating to setup/installation/structure of the Traffic Ops databaselow impactaffects only a small portion of a CDN, and cannot itself break one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions