Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-190

TTL type mismatch in CrConfig

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0, 2.0.0
    • Traffic Ops
    • None

    Description

      The A and AAAA types in the Config -> ttls section of the CrConfig are a different type than the A and AAAA values in the DeliveryService -> ttls section of the CrConfig. In the config sections they are strings but in the DS sections they are ints. Since goTM uses a common struct for TTLs, this causes an parsing the CrConfig in goTM. The CrConfig should be updated so that the types are consistent.

      ttls in the Config sections:

      "ttls":

      { "A": "3600", "DNSKEY": "30", "DS": "30", "SOA": "86400", "NS": "3600", "AAAA": "3600" }

      ,

      ttls in the DS section:

      "ttls":

      { "A": 30, "SOA": "86400", "NS": "3600", "AAAA": 30 }

      ,

      Attachments

        Activity

          People

            neuman David Neuman
            neuman David Neuman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: