KevinMackenzie / incubator-trafficcontrol

Mirror of Apache Traffic Control (incubating)
Apache License 2.0
0 stars 0 forks source link

Host Name vs Host Name Short #32

Closed KevinMackenzie closed 6 years ago

KevinMackenzie commented 6 years ago

Right now, the API is set up to accept a regular length host-name, but the ort script is making the request with the short version. These are almost always different, so this needs to be solved. It is unclear how a host-name-short gets mapped to its server.id, but that will definitely be a requirement.

KevinMackenzie commented 6 years ago

Reading through the documentation (http://trafficcontrol.apache.org/docs/latest/development/traffic_ops.html#response-structure in the FQDN section), it looks like $hostname_short in the ort script is synonymous to host_name in the TrafficOps database.