Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1.0, 2.0.0, 2.2.0
Description
Create Profile names in the Traffic_OPs with names such as Edge and Mid for Edge and Mid cache profiles, these don't get updated in the heath_params.json on the Traffic monitor.
In the current implementation of traffic ops, there is no "type" for a profile. When generating the health-params.json for traffic monitor, ops do not know which profile is for edge or middle or router, etc. So in traffic ops code, it use the convention that:
profile starting with "RASCAL" is a traffic monitor profile
profile starting with "CCR" is a traffic router profile
profile starting with "EDGE" is an edge server profile
profile starting with "MID" is a middle server profile
It is better to add a type for each profile, or make a restriction for the profile name.