You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2018/08/07 19:36:14 UTC

[trafficcontrol] branch master updated (7229e31 -> 0763449)

This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git.


    from 7229e31  fix TV port
     new 2812941  Added edge cache
     new 2752469  Fixed profiles; 'secure' is now a required key
     new 14513d6  Naming consistency
     new df2e0b7  Squashed repetetive commands; RPM now overridable
     new 0344fd9  edge cache now using environment config
     new dafe573  Added license info to edge setup script
     new 964ff9b  Messed that up somewhere...
     new 62b7df7  Added Traffic Control environment variables to edge environment
     new 0763449  Edge now using jq pipelines instead of bash pipelines

The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 infrastructure/cdn-in-a-box/docker-compose.yml     | 11 ++++++++
 .../cdn-in-a-box/{mid => edge}/Dockerfile          | 11 ++++----
 .../mid_parameters.json => edge/parameters.json}   |  2 +-
 infrastructure/cdn-in-a-box/edge/profile.json      |  7 +++++
 .../cdn-in-a-box/{mid => edge}/server.json         |  0
 infrastructure/cdn-in-a-box/{mid => edge}/setup.sh | 32 ++++++++++++++++------
 infrastructure/cdn-in-a-box/mid/Dockerfile         |  2 +-
 .../mid/{mid_parameters.json => parameters.json}   |  0
 .../mid/{mid_profile.json => profile.json}         |  0
 infrastructure/cdn-in-a-box/mid/setup.sh           | 15 ++++++----
 .../cdn-in-a-box/traffic_ops/Dockerfile-go         |  2 +-
 .../cdn-in-a-box/traffic_ops/edge_cachegroup.json  |  5 ++++
 .../{cachegroup.json => mid_cachegroup.json}       |  2 +-
 infrastructure/cdn-in-a-box/traffic_ops/setup.sh   | 15 +++++-----
 14 files changed, 73 insertions(+), 31 deletions(-)
 copy infrastructure/cdn-in-a-box/{mid => edge}/Dockerfile (80%)
 copy infrastructure/cdn-in-a-box/{mid/mid_parameters.json => edge/parameters.json} (99%)
 create mode 100644 infrastructure/cdn-in-a-box/edge/profile.json
 copy infrastructure/cdn-in-a-box/{mid => edge}/server.json (100%)
 copy infrastructure/cdn-in-a-box/{mid => edge}/setup.sh (70%)
 rename infrastructure/cdn-in-a-box/mid/{mid_parameters.json => parameters.json} (100%)
 rename infrastructure/cdn-in-a-box/mid/{mid_profile.json => profile.json} (100%)
 create mode 100644 infrastructure/cdn-in-a-box/traffic_ops/edge_cachegroup.json
 rename infrastructure/cdn-in-a-box/traffic_ops/{cachegroup.json => mid_cachegroup.json} (62%)


[trafficcontrol] 04/09: Squashed repetetive commands; RPM now overridable

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit df2e0b79765f406daeabb6ca6b2f2f7144067201
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Tue Jul 24 13:57:32 2018 +0000

    Squashed repetetive commands; RPM now overridable
---
 infrastructure/cdn-in-a-box/edge/Dockerfile | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/edge/Dockerfile b/infrastructure/cdn-in-a-box/edge/Dockerfile
index 4ce93d4..84de1af 100644
--- a/infrastructure/cdn-in-a-box/edge/Dockerfile
+++ b/infrastructure/cdn-in-a-box/edge/Dockerfile
@@ -23,19 +23,13 @@
 
 FROM centos:7
 
-ADD https://ci.trafficserver.apache.org/RPMS/CentOS7/trafficserver-7.1.2-4.el7.centos.x86_64.rpm /trafficserver-7.1.2-4.el7.centos.x86_64.rpm
+ARG RPM=https://ci.trafficserver.apache.org/RPMS/CentOS7/trafficserver-7.1.2-4.el7.centos.x86_64.rpm
+ADD $RPM /trafficserver.rpm
 
-RUN yum install -y /trafficserver-7.1.2-4.el7.centos.x86_64.rpm iproute net-tools nmap-ncat && yum clean all
+RUN yum install -y /trafficserver.rpm iproute net-tools nmap-ncat && yum clean all
 
-RUN chown -R ats:ats /etc/trafficserver/
-RUN mkdir -p /var/trafficserver/cache
-RUN chown -R ats:ats /var/trafficserver/
-RUN mkdir -p /opt/ort
-RUN chown ats:ats /opt/ort
-ADD parameters.json /parameters.json
-ADD profile.json /profile.json
-ADD server.json /server.json
-ADD setup.sh /setup.sh
+RUN mkdir -p /var/trafficserver/cache /opt/ort && chown -R ats:ats /etc/trafficserver/ /var/trafficserver/ /opt/ort
+ADD parameters.json profile.json server.json setup.sh /
 
 EXPOSE 80
 


[trafficcontrol] 02/09: Fixed profiles; 'secure' is now a required key

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 2752469194c483819cb41386dcceae4de87be19c
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Thu Jul 19 18:52:50 2018 +0000

    Fixed profiles; 'secure' is now a required key
---
 .../cdn-in-a-box/edge/edge_parameters.json         | 795 ++++++++++++++-------
 1 file changed, 530 insertions(+), 265 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/edge/edge_parameters.json b/infrastructure/cdn-in-a-box/edge/edge_parameters.json
index 3fee144..480b60b 100644
--- a/infrastructure/cdn-in-a-box/edge/edge_parameters.json
+++ b/infrastructure/cdn-in-a-box/edge/edge_parameters.json
@@ -2,1326 +2,1591 @@
 	{
 		"value": "STRING __HOSTNAME__",
 		"name": "CONFIG proxy.config.proxy_name",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING /etc/trafficserver",
 		"name": "CONFIG proxy.config.config_dir",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING -M",
 		"name": "CONFIG proxy.config.proxy_binary_opts",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING /tmp",
 		"name": "CONFIG proxy.config.temp_dir",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "FLOAT 1.5",
 		"name": "CONFIG proxy.config.exec_thread.autoconfig.scale",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.accept_threads",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING ats",
 		"name": "CONFIG proxy.config.admin.user_id",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 8083",
 		"name": "CONFIG proxy.config.admin.autoconf_port",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 8084",
 		"name": "CONFIG proxy.config.process_manager.mgmt_port",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.alarm.abs_path",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING 80 80:ipv6",
 		"name": "CONFIG proxy.config.http.server_ports",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING 443 563",
 		"name": "CONFIG proxy.config.http.connect_ports",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.insert_request_via_str",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3",
 		"name": "CONFIG proxy.config.http.insert_response_via_str",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.response_server_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.insert_age_in_response",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.enable_url_expandomatic",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.no_dns_just_forward_to_parent",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.uncacheable_requests_bypass_parent",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.keep_alive_enabled_in",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.keep_alive_enabled_out",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.chunking_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.send_http11_requests",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.http.share_server_sessions",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.origin_server_pipeline",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 8",
 		"name": "CONFIG proxy.config.http.user_agent_pipeline",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.referer_filter",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.referer_format_redirect",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING http://www.example.com/",
 		"name": "CONFIG proxy.config.http.referer_default_redirect",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.parent_proxy_routing_enable",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 60",
 		"name": "CONFIG proxy.config.http.parent_proxy.retry_time",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.forward.proxy_auth_to_parent",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 115",
 		"name": "CONFIG proxy.config.http.keep_alive_no_activity_timeout_in",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 120",
 		"name": "CONFIG proxy.config.http.keep_alive_no_activity_timeout_out",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 30",
 		"name": "CONFIG proxy.config.http.transaction_no_activity_timeout_in",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 30",
 		"name": "CONFIG proxy.config.http.transaction_no_activity_timeout_out",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.transaction_active_timeout_out",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 120",
 		"name": "CONFIG proxy.config.http.accept_no_activity_timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 6",
 		"name": "CONFIG proxy.config.http.connect_attempts_max_retries",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3",
 		"name": "CONFIG proxy.config.http.connect_attempts_max_retries_dead_server",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3",
 		"name": "CONFIG proxy.config.http.connect_attempts_rr_retries",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 10",
 		"name": "CONFIG proxy.config.http.connect_attempts_timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1800",
 		"name": "CONFIG proxy.config.http.post_connect_attempts_timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 300",
 		"name": "CONFIG proxy.config.http.down_server.cache_time",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 10",
 		"name": "CONFIG proxy.config.http.down_server.abort_threshold",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.congestion_control.enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.anonymize_remove_from",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.anonymize_remove_referer",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.anonymize_remove_user_agent",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.anonymize_remove_cookie",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.anonymize_remove_client_ip",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.anonymize_insert_client_ip",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.http.anonymize_other_header_list",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.insert_squid_x_forwarded_for",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.push_method_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.http",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.ignore_client_no_cache",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.ims_on_client_no_cache",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.cache.ignore_server_no_cache",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.normalize_ae_gzip",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.cache_responses_to_cookies",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.cache.ignore_authentication",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.cache_urls_that_look_dynamic",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.cache.enable_default_vary_headers",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.cache.when_to_revalidate",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT -1",
 		"name": "CONFIG proxy.config.http.cache.when_to_add_no_cache_to_msie_requests",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.cache.required_headers",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 604800",
 		"name": "CONFIG proxy.config.http.cache.max_stale_age",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.range.lookup",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3600",
 		"name": "CONFIG proxy.config.http.cache.heuristic_min_lifetime",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 86400",
 		"name": "CONFIG proxy.config.http.cache.heuristic_max_lifetime",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "FLOAT 0.10",
 		"name": "CONFIG proxy.config.http.cache.heuristic_lm_factor",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 240",
 		"name": "CONFIG proxy.config.http.cache.fuzz.time",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "FLOAT 0.005",
 		"name": "CONFIG proxy.config.http.cache.fuzz.probability",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.http.cache.vary_default_text",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.http.cache.vary_default_images",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.http.cache.vary_default_other",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.enable_http_stats",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.body_factory.enable_logging",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.body_factory.response_suppression_mode",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 500000",
 		"name": "CONFIG proxy.config.net.connections_throttle",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 45",
 		"name": "CONFIG proxy.config.net.defer_accept",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3",
 		"name": "LOCAL proxy.local.cluster.type",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 8086",
 		"name": "CONFIG proxy.config.cluster.cluster_port",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 8088",
 		"name": "CONFIG proxy.config.cluster.rsport",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 8089",
 		"name": "CONFIG proxy.config.cluster.mcport",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING 224.0.1.37",
 		"name": "CONFIG proxy.config.cluster.mc_group_addr",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.cluster.mc_ttl",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.cluster.log_bogus_mc_msgs",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING lo",
 		"name": "CONFIG proxy.config.cluster.ethernet_interface",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.cache.permit.pinning",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.cache.ram_cache.algorithm",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.cache.ram_cache.use_seen_filter",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.cache.ram_cache.compress",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 5",
 		"name": "CONFIG proxy.config.cache.limits.http.max_alts",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.cache.max_doc_size",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.cache.mutex_retry_delay",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.dns.search_default_domains",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.dns.splitDNS.enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2048",
 		"name": "CONFIG proxy.config.dns.max_dns_in_flight",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.dns.url_expansions",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.dns.round_robin_nameservers",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.dns.nameservers",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING /etc/resolv.conf",
 		"name": "CONFIG proxy.config.dns.resolv_conf",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.dns.validate_query_name",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1440",
 		"name": "CONFIG proxy.config.hostdb.timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.hostdb.strict_round_robin",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3",
 		"name": "CONFIG proxy.config.log.logging_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 5",
 		"name": "CONFIG proxy.config.log.max_secs_per_buffer",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.log.max_space_mb_for_logs",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.log.max_space_mb_for_orphan_logs",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.log.max_space_mb_headroom",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING localhost",
 		"name": "CONFIG proxy.config.log.hostname",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING /var/log/trafficserver",
 		"name": "CONFIG proxy.config.log.logfile_dir",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING rw-r--r--",
 		"name": "CONFIG proxy.config.log.logfile_perm",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.log.custom_logs_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.log.squid_log_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.log.common_log_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.log.extended_log_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.log.separate_icp_logs",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.log.separate_host_logs",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "LOCAL proxy.local.log.collation_mode",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.log.collation_host",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 8085",
 		"name": "CONFIG proxy.config.log.collation_port",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING foobar",
 		"name": "CONFIG proxy.config.log.collation_secret",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.log.collation_host_tagged",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 5",
 		"name": "CONFIG proxy.config.log.collation_retry_sec",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.log.rolling_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 86400",
 		"name": "CONFIG proxy.config.log.rolling_interval_sec",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.log.rolling_offset_hr",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.log.rolling_size_mb",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.log.auto_delete_rolled_files",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.log.sampling_frequency",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.reverse_proxy.enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.header.parse.no_host_url_redirect",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.url_remap.default_to_server_pac",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT -1",
 		"name": "CONFIG proxy.config.url_remap.default_to_server_pac_port",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.url_remap.pristine_host_hdr",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.ssl.number.threads",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.ssl.SSLv2",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.ssl.TLSv1",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.ssl.compression",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.ssl.client.certification_level",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.ssl.server.cert_chain.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.ssl.CA.cert.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.ssl.client.verify.server",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.ssl.client.cert.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.ssl.client.private_key.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.ssl.client.CA.cert.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.icp.enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "CONFIG proxy.config.icp.icp_interface",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3130",
 		"name": "CONFIG proxy.config.icp.icp_port",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.icp.multicast_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.icp.query_timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.update.enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.update.force",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 10",
 		"name": "CONFIG proxy.config.update.retry_count",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.update.retry_interval",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 100",
 		"name": "CONFIG proxy.config.update.concurrent_updates",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 262144",
 		"name": "CONFIG proxy.config.net.sock_send_buffer_size_in",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.net.sock_recv_buffer_size_in",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.net.sock_send_buffer_size_out",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.net.sock_recv_buffer_size_out",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT -1",
 		"name": "CONFIG proxy.config.core_limit",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.diags.debug.enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING http|dns",
 		"name": "CONFIG proxy.config.diags.debug.tags",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.dump_mem_info_frequency",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 10000",
 		"name": "CONFIG proxy.config.http.slow.log.threshold",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.task_threads",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver/",
 		"name": "location",
-		"configFile": "cache.config"
+		"configFile": "cache.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver/",
 		"name": "location",
-		"configFile": "hosting.config"
+		"configFile": "hosting.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver/",
 		"name": "location",
-		"configFile": "parent.config"
+		"configFile": "parent.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver/",
 		"name": "location",
-		"configFile": "plugin.config"
+		"configFile": "plugin.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver/",
 		"name": "location",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver/",
 		"name": "location",
-		"configFile": "remap.config"
+		"configFile": "remap.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver/",
 		"name": "location",
-		"configFile": "storage.config"
+		"configFile": "storage.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver/",
 		"name": "location",
-		"configFile": "volume.config"
+		"configFile": "volume.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.url_remap.remap_required",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING parent.config",
 		"name": "CONFIG proxy.config.http.parent_proxy.file",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING remap.config",
 		"name": "CONFIG proxy.config.url_remap.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING cluster.config",
 		"name": "CONFIG proxy.config.cluster.cluster_configuration ",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "25.0",
 		"name": "health.threshold.loadavg",
-		"configFile": "rascal.properties"
+		"configFile": "rascal.properties",
+		"secure": 0
 	},
 	{
 		"value": ">1750000",
 		"name": "health.threshold.availableBandwidthInKbps",
-		"configFile": "rascal.properties"
+		"configFile": "rascal.properties",
+		"secure": 0
 	},
 	{
 		"value": "30",
 		"name": "history.count",
-		"configFile": "rascal.properties"
+		"configFile": "rascal.properties",
+		"secure": 0
 	},
 	{
 		"value": "STRING cache.config",
 		"name": "CONFIG proxy.config.cache.control.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "3",
 		"name": "LogObject.RollingEnabled",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "86400",
 		"name": "LogObject.RollingIntervalSec",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "11",
 		"name": "LogObject.RollingOffsetHr",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "4",
 		"name": "LogObject.RollingSizeMb",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "/opt/trafficserver/etc/trafficserver",
 		"name": "location",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING logs_xml.config",
 		"name": "CONFIG proxy.config.log.xml_config_file",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "1000",
 		"name": "health.threshold.queryTime",
-		"configFile": "rascal.properties"
+		"configFile": "rascal.properties",
+		"secure": 0
 	},
 	{
 		"value": "http://${hostname}/_astats?application=&inf.name=${interface_name}",
 		"name": "health.polling.url",
-		"configFile": "rascal.properties"
+		"configFile": "rascal.properties",
+		"secure": 0
 	},
 	{
 		"value": "1",
 		"name": "Disk_Volume",
-		"configFile": "storage.config"
+		"configFile": "storage.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING hosting.config",
 		"name": "CONFIG proxy.config.cache.hosting_filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "2000",
 		"name": "health.connection.timeout",
-		"configFile": "rascal.properties"
+		"configFile": "rascal.properties",
+		"secure": 0
 	},
 	{
 		"value": "/opt/ort",
 		"name": "location",
-		"configFile": "12M_facts"
+		"configFile": "12M_facts",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.ignore_accept_encoding_mismatch",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "0:off\t1:off\t2:on\t3:on\t4:on\t5:on\t6:off",
 		"name": "trafficserver",
-		"configFile": "chkconfig"
+		"configFile": "chkconfig",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.allocator.debug_filter",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.allocator.enable_reclaim",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3",
 		"name": "CONFIG proxy.config.allocator.max_overage",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.diags.show_location",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.allow_empty_doc",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING NULL",
 		"name": "LOCAL proxy.config.cache.interim.storage",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "--config regex_revalidate.config",
 		"name": "regex_revalidate.so",
-		"configFile": "plugin.config"
+		"configFile": "plugin.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver",
 		"name": "location",
-		"configFile": "regex_revalidate.config"
+		"configFile": "regex_revalidate.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.stack_dump_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.hostdb.ttl_mode",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.dns.lookup_timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 6",
 		"name": "CONFIG proxy.config.hostdb.serve_stale_for",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.cache.enable_read_while_writer",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.background_fill_active_timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "FLOAT 0.0",
 		"name": "CONFIG proxy.config.http.background_fill_completed_threshold",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.log.extended2_log_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.exec_thread.affinity",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.exec_thread.autoconfig",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 8",
 		"name": "CONFIG proxy.config.exec_thread.limit",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1024",
 		"name": "CONFIG proxy.config.allocator.thread_freelist_size",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.mlock_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "%<cqtq> chi=%<chi> phn=%<phn> php=%<php> shn=%<shn> url=%<cquuc> cqhm=%<cqhm> cqhv=%<cqhv> pssc=%<pssc> ttms=%<ttms> b=%<pscl> sssc=%<sssc> sscl=%<sscl> cfsc=%<cfsc> pfsc=%<pfsc> crc=%<crc> phr=%<phr> pqsn=%<pqsn> uas=\"%<{User-Agent}cqh>\" ",
 		"name": "LogFormat.Format",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "custom_ats_2",
 		"name": "LogFormat.Name",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "custom_ats_2",
 		"name": "LogObject.Format",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "custom_ats_2",
 		"name": "LogObject.Filename",
-		"configFile": "logs_xml.config"
+		"configFile": "logs_xml.config",
+		"secure": 0
 	},
 	{
 		"value": "",
 		"name": "astats_over_http.so",
-		"configFile": "plugin.config"
+		"configFile": "plugin.config",
+		"secure": 0
 	},
 	{
 		"value": "127.0.0.1,10.0.0.0/8",
 		"name": "allow_ip",
-		"configFile": "astats.config"
+		"configFile": "astats.config",
+		"secure": 0
 	},
 	{
 		"value": "::1/128",
 		"name": "allow_ip6",
-		"configFile": "astats.config"
+		"configFile": "astats.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver",
 		"name": "location",
-		"configFile": "astats.config"
+		"configFile": "astats.config",
+		"secure": 0
 	},
 	{
 		"value": "_astats",
 		"name": "path",
-		"configFile": "astats.config"
+		"configFile": "astats.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.cache.http.compatibility.4-2-0-fixup",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384:ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:RC4-SHA:RC4-MD5:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!SRP:!DSS:!PSK:!aNULL:!eNULL:!SSLv2:@STRENGTH",
 		"name": "CONFIG proxy.config.ssl.server.cipher_suite",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.ssl.server.honor_cipher_order",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING etc/trafficserver/ssl",
 		"name": "CONFIG proxy.config.ssl.server.cert.path",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING etc/trafficserver/ssl",
 		"name": "CONFIG proxy.config.ssl.server.private_key.path",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING etc/trafficserver/ssl",
 		"name": "CONFIG proxy.config.ssl.client.CA.cert.path",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING etc/trafficserver/ssl",
 		"name": "CONFIG proxy.config.ssl.client.private_key.path",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING etc/trafficserver/ssl",
 		"name": "CONFIG proxy.config.ssl.client.cert.path",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING etc/trafficserver/ssl",
 		"name": "CONFIG proxy.config.ssl.CA.cert.path",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.ssl.SSLv3",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING ssl_multicert.config",
 		"name": "CONFIG proxy.config.ssl.server.multicert.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.negative_caching_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "122",
 		"name": "record_types",
-		"configFile": "astats.config"
+		"configFile": "astats.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.transaction_active_timeout_in",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.body_factory.enable_customizations",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.negative_caching_lifetime",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING /etc/trafficserver/body_factory",
 		"name": "CONFIG proxy.config.body_factory.template_sets_dir",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "STRING ip_allow.config",
 		"name": "CONFIG proxy.config.cache.ip_allow.filename",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "1.2",
 		"name": "weight",
-		"configFile": "parent.config"
+		"configFile": "parent.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.parent_proxy.fail_threshold",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.parent_proxy.connect_attempts_timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.parent_proxy.per_parent_connect_attempts",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 3",
 		"name": "CONFIG proxy.config.http.parent_proxy.total_connect_attempts",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "cache",
 		"name": "Drive_Letters",
-		"configFile": "storage.config"
+		"configFile": "storage.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.cache.hostdb.sync_frequency",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2048",
 		"name": "CONFIG proxy.config.hostdb.storage_size",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2048",
 		"name": "CONFIG proxy.config.hostdb.size",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2592000",
 		"name": "CONFIG proxy.config.http.cache.guaranteed_max_lifetime",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.http.cache.ignore_client_cc_max_age",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 180",
 		"name": "CONFIG proxy.config.net.default_inactivity_timeout",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.http.parent_proxy.mark_down_hostdb",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 0",
 		"name": "CONFIG proxy.config.allocator.dontdump_iobuffers",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "/etc/trafficserver",
 		"name": "location",
-		"configFile": "ip_allow.config"
+		"configFile": "ip_allow.config",
+		"secure": 0
 	},
 	{
 		"value": "/var/trafficserver",
 		"name": "Drive_Prefix",
-		"configFile": "storage.config"
+		"configFile": "storage.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 1",
 		"name": "CONFIG proxy.config.diags.logfile.rolling_size_mb",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	},
 	{
 		"value": "INT 2",
 		"name": "CONFIG proxy.config.diags.logfile.rolling_enabled",
-		"configFile": "records.config"
+		"configFile": "records.config",
+		"secure": 0
 	}
 ]


[trafficcontrol] 09/09: Edge now using jq pipelines instead of bash pipelines

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 07634495fdbcc67a6b0a332883ce7061a4ff5cdb
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Thu Jul 26 14:41:40 2018 +0000

    Edge now using jq pipelines instead of bash pipelines
---
 infrastructure/cdn-in-a-box/edge/Dockerfile |  3 ++-
 infrastructure/cdn-in-a-box/edge/setup.sh   | 42 ++++++++++++-----------------
 infrastructure/cdn-in-a-box/mid/setup.sh    |  4 +--
 3 files changed, 21 insertions(+), 28 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/edge/Dockerfile b/infrastructure/cdn-in-a-box/edge/Dockerfile
index 84de1af..0c886ea 100644
--- a/infrastructure/cdn-in-a-box/edge/Dockerfile
+++ b/infrastructure/cdn-in-a-box/edge/Dockerfile
@@ -26,7 +26,8 @@ FROM centos:7
 ARG RPM=https://ci.trafficserver.apache.org/RPMS/CentOS7/trafficserver-7.1.2-4.el7.centos.x86_64.rpm
 ADD $RPM /trafficserver.rpm
 
-RUN yum install -y /trafficserver.rpm iproute net-tools nmap-ncat && yum clean all
+RUN yum install -y /trafficserver.rpm iproute net-tools nmap-ncat epel-release
+RUN yum install -y jq && yum clean all
 
 RUN mkdir -p /var/trafficserver/cache /opt/ort && chown -R ats:ats /etc/trafficserver/ /var/trafficserver/ /opt/ort
 ADD parameters.json profile.json server.json setup.sh /
diff --git a/infrastructure/cdn-in-a-box/edge/setup.sh b/infrastructure/cdn-in-a-box/edge/setup.sh
index 94a394e..79c8407 100755
--- a/infrastructure/cdn-in-a-box/edge/setup.sh
+++ b/infrastructure/cdn-in-a-box/edge/setup.sh
@@ -48,49 +48,43 @@ curl -ksc cookie.jar -d "{\"u\":\"$TO_ADMIN_USER\",\"p\":\"$TO_ADMIN_PASSWORD\"}
 echo
 
 # Gets our CDN ID
-CDN=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cdns)
-CDN=$(echo $CDN | tr '}' '\n' | grep CDN-in-a-Box | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+CDN=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cdns | jq '.response|.[]|select(.name=="CDN-in-a-Box")|.id')
 while [[ -z "$CDN" ]]; do
 	echo "waiting for trafficops setup to complete..."
 	sleep 3
-	CDN=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cdns)
-	CDN=$(echo $CDN | tr '}' '\n' | grep CDN-in-a-Box | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+	CDN=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cdns | jq '.response|.[]|select(.name=="CDN-in-a-Box")|.id')
 done
 
 
 # Now we upload a profile for later use
 sed -ie "s;CDN_ID;$CDN;g" /profile.json
-PROFILE=$(curl -ksb cookie.jar -d @/profile.json https://$TP_HOST/api/1.3/profiles)
-PROFILENAME=$(echo $PROFILE | tr ',' '\n' | grep '"name"' | cut -d : -f2 | tr -d '"')
-PROFILEID=$(echo $PROFILE | tr ',{' '\n' | grep '"id"' | cut -d : -f2)
+PROFILE=$(curl -ksb cookie.jar -d @/profile.json https://$TP_HOST/api/1.3/profiles | jq '.response')
+PROFILENAME=$(echo $PROFILE | jq '.name' | tr -d '"')
+PROFILEID=$(echo $PROFILE | jq '.id')
 curl -ksb cookie.jar -d @/parameters.json https://$TP_HOST/api/1.3/profiles/name/$PROFILENAME/parameters
 echo
 
 # Gets the location ID
-location=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/phys_locations)
-while [[ "$location" == '{"response":[]}' ]]; do
+location=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/phys_locations | jq '.response|.[]|select(.name=="CDN_in_a_Box")|.id')
+while [[ -z "$location" ]]; do
 	echo "Waiting for location setup"
 	sleep 3
-	location=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/phys_locations)
+	location=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/phys_locations | jq '.response|.[]|select(.name=="CDN_in_a_Box")|.id')
 done
-location=$(echo $location | tr ']' '\n' | grep CDN_in_a_Box | tr ',' '\n' | grep '"id"' | cut -d ':' -f2)
 
 # Gets the id of a MID server type
-TYPE=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/types)
-TYPE=$(echo $TYPE | tr '}' '\n' | grep '"EDGE"' | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+TYPE=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/types | jq '.response|.[]|select(.name=="EDGE")|.id')
 
 # Gets the id of the 'REPORTED' status
-REPORTED=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/statuses)
-REPORTED=$(echo $REPORTED | tr '}' '\n' | grep REPORTED | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+REPORTED=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/statuses | jq '.response|.[]|select(.name=="REPORTED")|.id')
 
 # Gets the cachegroup ID
-CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups)
-while [[ "$CACHEGROUP" == '{"response":[]}' ]]; do
+CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups | jq '.response|.[]|select(.name=="CDN_in_a_Box_Edge")|.id')
+while [[ -z "$CACHEGROUP" ]]; do
 	echo "waiting for trafficops setup to complete..."
 	sleep 3
-	CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups)
+	CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups | jq '.response|.[]|select(.name=="CDN_in_a_Box_Edge")|.id')
 done
-CACHEGROUP=$(echo $CACHEGROUP | tr '{' '\n' | grep CDN_in_a_Box_Edge | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 
 # Now put it all together and send it up
 sed -ie "s;MY_LOCATION;$location;g" /server.json
@@ -100,18 +94,16 @@ sed -ie "s;REPORTED_ID;$REPORTED;g" /server.json
 sed -ie "s;CACHE_GROUP_ID;$CACHEGROUP;g" /server.json
 sed -ie "s;MY_PROFILE_ID;$PROFILEID;g" /server.json
 cat /server.json
-SERVER=$(curl -ksb cookie.jar -d @/server.json https://$TP_HOST/api/1.3/servers)
-SERVER=$(echo $SERVER | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+SERVER=$(curl -ksb cookie.jar -d @/server.json https://$TP_HOST/api/1.3/servers | jq '.response.id')
 
 
 #finally, link this server to a delivery service
-DSID=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/deliveryservices)
-while [[ "$DSID" == '{"response":[]}' ]]; do
+DSID=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/deliveryservices | jq '.response|.[]|select(.displayName=="CDN in a Box")|.id')
+while [[ -z "$DSID" ]]; do
 	echo "Waiting for delivery service creation..."
 	sleep 3
-	DSID=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/deliveryservices)
+	DSID=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/deliveryservices | jq '.response|.[]|select(.displayName=="CDN in a Box")|.id')
 done
-DSID=$(echo $DSID | tr '{' '\n' | grep '"CDN in a Box"' | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 
 curl -ksb cookie.jar -d "{\"dsId\":$DSID,\"servers\":[$SERVER],\"replace\":true}" https://$TP_HOST/api/1.2/deliveryserviceserver
 echo
diff --git a/infrastructure/cdn-in-a-box/mid/setup.sh b/infrastructure/cdn-in-a-box/mid/setup.sh
index ae54116..8648a04 100755
--- a/infrastructure/cdn-in-a-box/mid/setup.sh
+++ b/infrastructure/cdn-in-a-box/mid/setup.sh
@@ -79,11 +79,11 @@ TYPE=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/types | jq '.response|.[]|s
 REPORTED=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/statuses | jq '.response|.[]|select(.name=="REPORTED")|.id')
 
 # Gets the cachegroup ID
-CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups | jq '.response|.[]|select(.name=="CDN_in_a_Box")|.id')
+CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups | jq '.response|.[]|select(.name=="CDN_in_a_Box_Mid")|.id')
 while [[ -z CACHEGROUP ]]; do
 	echo "waiting for trafficops setup to complete..."
 	sleep 3
-	CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups | jq '.response|.[]|select(.name=="CDN_in_a_Box")|.id')
+	CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups | jq '.response|.[]|select(.name=="CDN_in_a_Box_Mid")|.id')
 done
 
 # Now put it all together and send it up


[trafficcontrol] 01/09: Added edge cache

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 281294120db1aec782a5daf0de918a5d088abdba
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Wed Jul 18 16:04:28 2018 +0000

    Added edge cache
---
 infrastructure/cdn-in-a-box/docker-compose.yml     |    9 +
 infrastructure/cdn-in-a-box/edge/Dockerfile        |   42 +
 .../cdn-in-a-box/edge/edge_parameters.json         | 1327 ++++++++++++++++++++
 infrastructure/cdn-in-a-box/edge/edge_profile.json |    7 +
 infrastructure/cdn-in-a-box/edge/server.json       |   17 +
 infrastructure/cdn-in-a-box/edge/setup.sh          |  102 ++
 infrastructure/cdn-in-a-box/mid/setup.sh           |    5 +
 .../cdn-in-a-box/traffic_ops/edge_cachegroup.json  |    5 +
 .../{cachegroup.json => mid_cachegroup.json}       |    2 +-
 infrastructure/cdn-in-a-box/traffic_ops/setup.sh   |   15 +-
 10 files changed, 1522 insertions(+), 9 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/docker-compose.yml b/infrastructure/cdn-in-a-box/docker-compose.yml
index 0bd4f2f..d9d1be0 100644
--- a/infrastructure/cdn-in-a-box/docker-compose.yml
+++ b/infrastructure/cdn-in-a-box/docker-compose.yml
@@ -157,6 +157,15 @@ services:
       - tcnet
     ports:
       - "8010:80"
+  edge:
+    build:
+      context: edge
+    domainname: cdn.local
+    hostname: edge
+    networks:
+      - tcnet
+    ports:
+      - "8080:80"
 
   mid:
     build:
diff --git a/infrastructure/cdn-in-a-box/edge/Dockerfile b/infrastructure/cdn-in-a-box/edge/Dockerfile
new file mode 100644
index 0000000..b471a6f
--- /dev/null
+++ b/infrastructure/cdn-in-a-box/edge/Dockerfile
@@ -0,0 +1,42 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+############################################################
+# Dockerfile to build Edge-Tier Cache container images for
+# Apache Traffic Control
+# Based on CentOS 7.2
+############################################################
+
+FROM centos:7
+
+ADD https://ci.trafficserver.apache.org/RPMS/CentOS7/trafficserver-7.1.2-4.el7.centos.x86_64.rpm /trafficserver-7.1.2-4.el7.centos.x86_64.rpm
+
+RUN yum install -y /trafficserver-7.1.2-4.el7.centos.x86_64.rpm iproute net-tools nmap-ncat && yum clean all
+
+RUN chown -R ats:ats /etc/trafficserver/
+RUN mkdir -p /var/trafficserver/cache
+RUN chown -R ats:ats /var/trafficserver/
+RUN mkdir -p /opt/ort
+RUN chown ats:ats /opt/ort
+ADD edge_parameters.json /edge_parameters.json
+ADD edge_profile.json /edge_profile.json
+ADD server.json /server.json
+ADD setup.sh /setup.sh
+
+EXPOSE 80
+
+CMD /setup.sh
diff --git a/infrastructure/cdn-in-a-box/edge/edge_parameters.json b/infrastructure/cdn-in-a-box/edge/edge_parameters.json
new file mode 100644
index 0000000..3fee144
--- /dev/null
+++ b/infrastructure/cdn-in-a-box/edge/edge_parameters.json
@@ -0,0 +1,1327 @@
+[
+	{
+		"value": "STRING __HOSTNAME__",
+		"name": "CONFIG proxy.config.proxy_name",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING /etc/trafficserver",
+		"name": "CONFIG proxy.config.config_dir",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING -M",
+		"name": "CONFIG proxy.config.proxy_binary_opts",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING /tmp",
+		"name": "CONFIG proxy.config.temp_dir",
+		"configFile": "records.config"
+	},
+	{
+		"value": "FLOAT 1.5",
+		"name": "CONFIG proxy.config.exec_thread.autoconfig.scale",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.accept_threads",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING ats",
+		"name": "CONFIG proxy.config.admin.user_id",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 8083",
+		"name": "CONFIG proxy.config.admin.autoconf_port",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 8084",
+		"name": "CONFIG proxy.config.process_manager.mgmt_port",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.alarm.abs_path",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING 80 80:ipv6",
+		"name": "CONFIG proxy.config.http.server_ports",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING 443 563",
+		"name": "CONFIG proxy.config.http.connect_ports",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.insert_request_via_str",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3",
+		"name": "CONFIG proxy.config.http.insert_response_via_str",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.response_server_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.insert_age_in_response",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.enable_url_expandomatic",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.no_dns_just_forward_to_parent",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.uncacheable_requests_bypass_parent",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.keep_alive_enabled_in",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.keep_alive_enabled_out",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.chunking_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.send_http11_requests",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.http.share_server_sessions",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.origin_server_pipeline",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 8",
+		"name": "CONFIG proxy.config.http.user_agent_pipeline",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.referer_filter",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.referer_format_redirect",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING http://www.example.com/",
+		"name": "CONFIG proxy.config.http.referer_default_redirect",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.parent_proxy_routing_enable",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 60",
+		"name": "CONFIG proxy.config.http.parent_proxy.retry_time",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.forward.proxy_auth_to_parent",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 115",
+		"name": "CONFIG proxy.config.http.keep_alive_no_activity_timeout_in",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 120",
+		"name": "CONFIG proxy.config.http.keep_alive_no_activity_timeout_out",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 30",
+		"name": "CONFIG proxy.config.http.transaction_no_activity_timeout_in",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 30",
+		"name": "CONFIG proxy.config.http.transaction_no_activity_timeout_out",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.transaction_active_timeout_out",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 120",
+		"name": "CONFIG proxy.config.http.accept_no_activity_timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 6",
+		"name": "CONFIG proxy.config.http.connect_attempts_max_retries",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3",
+		"name": "CONFIG proxy.config.http.connect_attempts_max_retries_dead_server",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3",
+		"name": "CONFIG proxy.config.http.connect_attempts_rr_retries",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 10",
+		"name": "CONFIG proxy.config.http.connect_attempts_timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1800",
+		"name": "CONFIG proxy.config.http.post_connect_attempts_timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 300",
+		"name": "CONFIG proxy.config.http.down_server.cache_time",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 10",
+		"name": "CONFIG proxy.config.http.down_server.abort_threshold",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.congestion_control.enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.anonymize_remove_from",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.anonymize_remove_referer",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.anonymize_remove_user_agent",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.anonymize_remove_cookie",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.anonymize_remove_client_ip",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.anonymize_insert_client_ip",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.http.anonymize_other_header_list",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.insert_squid_x_forwarded_for",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.push_method_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.http",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.ignore_client_no_cache",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.ims_on_client_no_cache",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.cache.ignore_server_no_cache",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.normalize_ae_gzip",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.cache_responses_to_cookies",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.cache.ignore_authentication",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.cache_urls_that_look_dynamic",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.cache.enable_default_vary_headers",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.cache.when_to_revalidate",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT -1",
+		"name": "CONFIG proxy.config.http.cache.when_to_add_no_cache_to_msie_requests",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.cache.required_headers",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 604800",
+		"name": "CONFIG proxy.config.http.cache.max_stale_age",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.range.lookup",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3600",
+		"name": "CONFIG proxy.config.http.cache.heuristic_min_lifetime",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 86400",
+		"name": "CONFIG proxy.config.http.cache.heuristic_max_lifetime",
+		"configFile": "records.config"
+	},
+	{
+		"value": "FLOAT 0.10",
+		"name": "CONFIG proxy.config.http.cache.heuristic_lm_factor",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 240",
+		"name": "CONFIG proxy.config.http.cache.fuzz.time",
+		"configFile": "records.config"
+	},
+	{
+		"value": "FLOAT 0.005",
+		"name": "CONFIG proxy.config.http.cache.fuzz.probability",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.http.cache.vary_default_text",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.http.cache.vary_default_images",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.http.cache.vary_default_other",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.enable_http_stats",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.body_factory.enable_logging",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.body_factory.response_suppression_mode",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 500000",
+		"name": "CONFIG proxy.config.net.connections_throttle",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 45",
+		"name": "CONFIG proxy.config.net.defer_accept",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3",
+		"name": "LOCAL proxy.local.cluster.type",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 8086",
+		"name": "CONFIG proxy.config.cluster.cluster_port",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 8088",
+		"name": "CONFIG proxy.config.cluster.rsport",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 8089",
+		"name": "CONFIG proxy.config.cluster.mcport",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING 224.0.1.37",
+		"name": "CONFIG proxy.config.cluster.mc_group_addr",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.cluster.mc_ttl",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.cluster.log_bogus_mc_msgs",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING lo",
+		"name": "CONFIG proxy.config.cluster.ethernet_interface",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.cache.permit.pinning",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.cache.ram_cache.algorithm",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.cache.ram_cache.use_seen_filter",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.cache.ram_cache.compress",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 5",
+		"name": "CONFIG proxy.config.cache.limits.http.max_alts",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.cache.max_doc_size",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.cache.mutex_retry_delay",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.dns.search_default_domains",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.dns.splitDNS.enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2048",
+		"name": "CONFIG proxy.config.dns.max_dns_in_flight",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.dns.url_expansions",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.dns.round_robin_nameservers",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.dns.nameservers",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING /etc/resolv.conf",
+		"name": "CONFIG proxy.config.dns.resolv_conf",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.dns.validate_query_name",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1440",
+		"name": "CONFIG proxy.config.hostdb.timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.hostdb.strict_round_robin",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3",
+		"name": "CONFIG proxy.config.log.logging_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 5",
+		"name": "CONFIG proxy.config.log.max_secs_per_buffer",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.log.max_space_mb_for_logs",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.log.max_space_mb_for_orphan_logs",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.log.max_space_mb_headroom",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING localhost",
+		"name": "CONFIG proxy.config.log.hostname",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING /var/log/trafficserver",
+		"name": "CONFIG proxy.config.log.logfile_dir",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING rw-r--r--",
+		"name": "CONFIG proxy.config.log.logfile_perm",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.log.custom_logs_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.log.squid_log_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.log.common_log_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.log.extended_log_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.log.separate_icp_logs",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.log.separate_host_logs",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "LOCAL proxy.local.log.collation_mode",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.log.collation_host",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 8085",
+		"name": "CONFIG proxy.config.log.collation_port",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING foobar",
+		"name": "CONFIG proxy.config.log.collation_secret",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.log.collation_host_tagged",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 5",
+		"name": "CONFIG proxy.config.log.collation_retry_sec",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.log.rolling_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 86400",
+		"name": "CONFIG proxy.config.log.rolling_interval_sec",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.log.rolling_offset_hr",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.log.rolling_size_mb",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.log.auto_delete_rolled_files",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.log.sampling_frequency",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.reverse_proxy.enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.header.parse.no_host_url_redirect",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.url_remap.default_to_server_pac",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT -1",
+		"name": "CONFIG proxy.config.url_remap.default_to_server_pac_port",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.url_remap.pristine_host_hdr",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.ssl.number.threads",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.ssl.SSLv2",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.ssl.TLSv1",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.ssl.compression",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.ssl.client.certification_level",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.ssl.server.cert_chain.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.ssl.CA.cert.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.ssl.client.verify.server",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.ssl.client.cert.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.ssl.client.private_key.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.ssl.client.CA.cert.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.icp.enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "CONFIG proxy.config.icp.icp_interface",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3130",
+		"name": "CONFIG proxy.config.icp.icp_port",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.icp.multicast_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.icp.query_timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.update.enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.update.force",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 10",
+		"name": "CONFIG proxy.config.update.retry_count",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.update.retry_interval",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 100",
+		"name": "CONFIG proxy.config.update.concurrent_updates",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 262144",
+		"name": "CONFIG proxy.config.net.sock_send_buffer_size_in",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.net.sock_recv_buffer_size_in",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.net.sock_send_buffer_size_out",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.net.sock_recv_buffer_size_out",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT -1",
+		"name": "CONFIG proxy.config.core_limit",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.diags.debug.enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING http|dns",
+		"name": "CONFIG proxy.config.diags.debug.tags",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.dump_mem_info_frequency",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 10000",
+		"name": "CONFIG proxy.config.http.slow.log.threshold",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.task_threads",
+		"configFile": "records.config"
+	},
+	{
+		"value": "/etc/trafficserver/",
+		"name": "location",
+		"configFile": "cache.config"
+	},
+	{
+		"value": "/etc/trafficserver/",
+		"name": "location",
+		"configFile": "hosting.config"
+	},
+	{
+		"value": "/etc/trafficserver/",
+		"name": "location",
+		"configFile": "parent.config"
+	},
+	{
+		"value": "/etc/trafficserver/",
+		"name": "location",
+		"configFile": "plugin.config"
+	},
+	{
+		"value": "/etc/trafficserver/",
+		"name": "location",
+		"configFile": "records.config"
+	},
+	{
+		"value": "/etc/trafficserver/",
+		"name": "location",
+		"configFile": "remap.config"
+	},
+	{
+		"value": "/etc/trafficserver/",
+		"name": "location",
+		"configFile": "storage.config"
+	},
+	{
+		"value": "/etc/trafficserver/",
+		"name": "location",
+		"configFile": "volume.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.url_remap.remap_required",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING parent.config",
+		"name": "CONFIG proxy.config.http.parent_proxy.file",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING remap.config",
+		"name": "CONFIG proxy.config.url_remap.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING cluster.config",
+		"name": "CONFIG proxy.config.cluster.cluster_configuration ",
+		"configFile": "records.config"
+	},
+	{
+		"value": "25.0",
+		"name": "health.threshold.loadavg",
+		"configFile": "rascal.properties"
+	},
+	{
+		"value": ">1750000",
+		"name": "health.threshold.availableBandwidthInKbps",
+		"configFile": "rascal.properties"
+	},
+	{
+		"value": "30",
+		"name": "history.count",
+		"configFile": "rascal.properties"
+	},
+	{
+		"value": "STRING cache.config",
+		"name": "CONFIG proxy.config.cache.control.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "3",
+		"name": "LogObject.RollingEnabled",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "86400",
+		"name": "LogObject.RollingIntervalSec",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "11",
+		"name": "LogObject.RollingOffsetHr",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "4",
+		"name": "LogObject.RollingSizeMb",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "/opt/trafficserver/etc/trafficserver",
+		"name": "location",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "STRING logs_xml.config",
+		"name": "CONFIG proxy.config.log.xml_config_file",
+		"configFile": "records.config"
+	},
+	{
+		"value": "1000",
+		"name": "health.threshold.queryTime",
+		"configFile": "rascal.properties"
+	},
+	{
+		"value": "http://${hostname}/_astats?application=&inf.name=${interface_name}",
+		"name": "health.polling.url",
+		"configFile": "rascal.properties"
+	},
+	{
+		"value": "1",
+		"name": "Disk_Volume",
+		"configFile": "storage.config"
+	},
+	{
+		"value": "STRING hosting.config",
+		"name": "CONFIG proxy.config.cache.hosting_filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "2000",
+		"name": "health.connection.timeout",
+		"configFile": "rascal.properties"
+	},
+	{
+		"value": "/opt/ort",
+		"name": "location",
+		"configFile": "12M_facts"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.ignore_accept_encoding_mismatch",
+		"configFile": "records.config"
+	},
+	{
+		"value": "0:off\t1:off\t2:on\t3:on\t4:on\t5:on\t6:off",
+		"name": "trafficserver",
+		"configFile": "chkconfig"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.allocator.debug_filter",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.allocator.enable_reclaim",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3",
+		"name": "CONFIG proxy.config.allocator.max_overage",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.diags.show_location",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.allow_empty_doc",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING NULL",
+		"name": "LOCAL proxy.config.cache.interim.storage",
+		"configFile": "records.config"
+	},
+	{
+		"value": "--config regex_revalidate.config",
+		"name": "regex_revalidate.so",
+		"configFile": "plugin.config"
+	},
+	{
+		"value": "/etc/trafficserver",
+		"name": "location",
+		"configFile": "regex_revalidate.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.stack_dump_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.hostdb.ttl_mode",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.dns.lookup_timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 6",
+		"name": "CONFIG proxy.config.hostdb.serve_stale_for",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.cache.enable_read_while_writer",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.background_fill_active_timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "FLOAT 0.0",
+		"name": "CONFIG proxy.config.http.background_fill_completed_threshold",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.log.extended2_log_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.exec_thread.affinity",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.exec_thread.autoconfig",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 8",
+		"name": "CONFIG proxy.config.exec_thread.limit",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1024",
+		"name": "CONFIG proxy.config.allocator.thread_freelist_size",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.mlock_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "%<cqtq> chi=%<chi> phn=%<phn> php=%<php> shn=%<shn> url=%<cquuc> cqhm=%<cqhm> cqhv=%<cqhv> pssc=%<pssc> ttms=%<ttms> b=%<pscl> sssc=%<sssc> sscl=%<sscl> cfsc=%<cfsc> pfsc=%<pfsc> crc=%<crc> phr=%<phr> pqsn=%<pqsn> uas=\"%<{User-Agent}cqh>\" ",
+		"name": "LogFormat.Format",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "custom_ats_2",
+		"name": "LogFormat.Name",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "custom_ats_2",
+		"name": "LogObject.Format",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "custom_ats_2",
+		"name": "LogObject.Filename",
+		"configFile": "logs_xml.config"
+	},
+	{
+		"value": "",
+		"name": "astats_over_http.so",
+		"configFile": "plugin.config"
+	},
+	{
+		"value": "127.0.0.1,10.0.0.0/8",
+		"name": "allow_ip",
+		"configFile": "astats.config"
+	},
+	{
+		"value": "::1/128",
+		"name": "allow_ip6",
+		"configFile": "astats.config"
+	},
+	{
+		"value": "/etc/trafficserver",
+		"name": "location",
+		"configFile": "astats.config"
+	},
+	{
+		"value": "_astats",
+		"name": "path",
+		"configFile": "astats.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.cache.http.compatibility.4-2-0-fixup",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384:ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:RC4-SHA:RC4-MD5:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!SRP:!DSS:!PSK:!aNULL:!eNULL:!SSLv2:@STRENGTH",
+		"name": "CONFIG proxy.config.ssl.server.cipher_suite",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.ssl.server.honor_cipher_order",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING etc/trafficserver/ssl",
+		"name": "CONFIG proxy.config.ssl.server.cert.path",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING etc/trafficserver/ssl",
+		"name": "CONFIG proxy.config.ssl.server.private_key.path",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING etc/trafficserver/ssl",
+		"name": "CONFIG proxy.config.ssl.client.CA.cert.path",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING etc/trafficserver/ssl",
+		"name": "CONFIG proxy.config.ssl.client.private_key.path",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING etc/trafficserver/ssl",
+		"name": "CONFIG proxy.config.ssl.client.cert.path",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING etc/trafficserver/ssl",
+		"name": "CONFIG proxy.config.ssl.CA.cert.path",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.ssl.SSLv3",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING ssl_multicert.config",
+		"name": "CONFIG proxy.config.ssl.server.multicert.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.negative_caching_enabled",
+		"configFile": "records.config"
+	},
+	{
+		"value": "122",
+		"name": "record_types",
+		"configFile": "astats.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.transaction_active_timeout_in",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.body_factory.enable_customizations",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.negative_caching_lifetime",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING /etc/trafficserver/body_factory",
+		"name": "CONFIG proxy.config.body_factory.template_sets_dir",
+		"configFile": "records.config"
+	},
+	{
+		"value": "STRING ip_allow.config",
+		"name": "CONFIG proxy.config.cache.ip_allow.filename",
+		"configFile": "records.config"
+	},
+	{
+		"value": "1.2",
+		"name": "weight",
+		"configFile": "parent.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.parent_proxy.fail_threshold",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.parent_proxy.connect_attempts_timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.parent_proxy.per_parent_connect_attempts",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 3",
+		"name": "CONFIG proxy.config.http.parent_proxy.total_connect_attempts",
+		"configFile": "records.config"
+	},
+	{
+		"value": "cache",
+		"name": "Drive_Letters",
+		"configFile": "storage.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.cache.hostdb.sync_frequency",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2048",
+		"name": "CONFIG proxy.config.hostdb.storage_size",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2048",
+		"name": "CONFIG proxy.config.hostdb.size",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2592000",
+		"name": "CONFIG proxy.config.http.cache.guaranteed_max_lifetime",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.http.cache.ignore_client_cc_max_age",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 180",
+		"name": "CONFIG proxy.config.net.default_inactivity_timeout",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.http.parent_proxy.mark_down_hostdb",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 0",
+		"name": "CONFIG proxy.config.allocator.dontdump_iobuffers",
+		"configFile": "records.config"
+	},
+	{
+		"value": "/etc/trafficserver",
+		"name": "location",
+		"configFile": "ip_allow.config"
+	},
+	{
+		"value": "/var/trafficserver",
+		"name": "Drive_Prefix",
+		"configFile": "storage.config"
+	},
+	{
+		"value": "INT 1",
+		"name": "CONFIG proxy.config.diags.logfile.rolling_size_mb",
+		"configFile": "records.config"
+	},
+	{
+		"value": "INT 2",
+		"name": "CONFIG proxy.config.diags.logfile.rolling_enabled",
+		"configFile": "records.config"
+	}
+]
diff --git a/infrastructure/cdn-in-a-box/edge/edge_profile.json b/infrastructure/cdn-in-a-box/edge/edge_profile.json
new file mode 100644
index 0000000..a522d16
--- /dev/null
+++ b/infrastructure/cdn-in-a-box/edge/edge_profile.json
@@ -0,0 +1,7 @@
+{
+	"cdn": CDN_ID,
+	"name": "ATS_EDGE_TIER_CACHE",
+	"type": "ATS_PROFILE",
+	"description": "Edge Cache - Apache Traffic Server",
+	"routingDisabled": false
+}
diff --git a/infrastructure/cdn-in-a-box/edge/server.json b/infrastructure/cdn-in-a-box/edge/server.json
new file mode 100644
index 0000000..29ab0b6
--- /dev/null
+++ b/infrastructure/cdn-in-a-box/edge/server.json
@@ -0,0 +1,17 @@
+{
+	"hostName": "MY_HOSTNAME",
+	"domainName": "MY_DOMAINNAME",
+	"cachegroupId": CACHE_GROUP_ID,
+	"interfaceName": "MY_IFACE_NAME",
+	"ipAddress": "MY_IP",
+	"ipNetmask": "MY_NETMASK",
+	"ipGateway": "MY_GATEWAY",
+	"interfaceMtu": MY_MTU,
+	"physLocationId": MY_LOCATION,
+	"typeId": MY_TYPE,
+	"profileId": MY_PROFILE_ID,
+	"cdnId": MY_CDN_ID,
+	"updPending": false,
+	"statusId": REPORTED_ID,
+	"tcpPort": 80
+}
diff --git a/infrastructure/cdn-in-a-box/edge/setup.sh b/infrastructure/cdn-in-a-box/edge/setup.sh
new file mode 100755
index 0000000..0e12d10
--- /dev/null
+++ b/infrastructure/cdn-in-a-box/edge/setup.sh
@@ -0,0 +1,102 @@
+#!/usr/bin/bash
+
+set -e
+set -x
+set -m
+
+traffic_server start &
+
+INFO=$(ifconfig eth0 | grep 'inet ' | tr -s ' ')
+myIP=$(echo $INFO | cut -d' ' -f2)
+device=eth0
+gateway=$(route -n | grep $device | grep -E '^0\.0\.0\.0' | tr -s ' ' | cut -d ' ' -f2)
+mtu=$(ip addr show | grep $device | head -n 1 | cut -d ' ' -f5)
+netmask=$(echo $INFO | cut -d ' ' -f4)
+
+sed -ie "s;MY_HOSTNAME;$(hostname -s);g" /server.json
+sed -ie "s;MY_DOMAINNAME;$(dnsdomainname);g" /server.json
+sed -ie "s;MY_IFACE_NAME;$device;g" /server.json
+sed -ie "s;MY_MTU;$mtu;g" /server.json
+sed -ie "s;MY_GATEWAY;$gateway;g" /server.json
+sed -ie "s;MY_NETMASK;$netmask;g" /server.json
+sed -ie "s;MY_IP;$myIP;g" /server.json
+
+while ! nc trafficops 6443 </dev/null; do
+	echo "waiting for traffic_ops_golang:6443"
+	sleep 3
+done
+
+# Now network things. First need to authenticate
+curl -ksc cookie.jar -d '{"u":"admin","p":"twelve"}' https://trafficportal/api/1.3/user/login
+echo
+
+# Gets our CDN ID
+CDN=$(curl -ksb cookie.jar https://trafficportal/api/1.3/cdns)
+CDN=$(echo $CDN | tr '}' '\n' | grep CDN-in-a-Box | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+while [[ -z "$CDN" ]]; do
+	echo "waiting for trafficops setup to complete..."
+	sleep 3
+	CDN=$(curl -ksb cookie.jar https://trafficportal/api/1.3/cdns)
+	CDN=$(echo $CDN | tr '}' '\n' | grep CDN-in-a-Box | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+done
+
+
+# Now we upload a profile for later use
+sed -ie "s;CDN_ID;$CDN;g" /edge_profile.json
+PROFILE=$(curl -ksb cookie.jar -d @/edge_profile.json https://trafficportal/api/1.3/profiles)
+PROFILENAME=$(echo $PROFILE | tr ',' '\n' | grep '"name"' | cut -d : -f2 | tr -d '"')
+PROFILEID=$(echo $PROFILE | tr ',{' '\n' | grep '"id"' | cut -d : -f2)
+curl -ksb cookie.jar -d @/edge_parameters.json https://trafficportal/api/1.3/profiles/name/$PROFILENAME/parameters
+echo
+
+# Gets the location ID
+location=$(curl -ksb cookie.jar https://trafficportal/api/1.3/phys_locations)
+while [[ "$location" == '{"response":[]}' ]]; do
+	echo "Waiting for location setup"
+	sleep 3
+	location=$(curl -ksb cookie.jar https://trafficportal/api/1.3/phys_locations)
+done
+location=$(echo $location | tr ']' '\n' | grep CDN_in_a_Box | tr ',' '\n' | grep '"id"' | cut -d ':' -f2)
+
+# Gets the id of a MID server type
+TYPE=$(curl -ksb cookie.jar https://trafficportal/api/1.3/types)
+TYPE=$(echo $TYPE | tr '}' '\n' | grep '"EDGE"' | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+
+# Gets the id of the 'REPORTED' status
+REPORTED=$(curl -ksb cookie.jar https://trafficportal/api/1.3/statuses)
+REPORTED=$(echo $REPORTED | tr '}' '\n' | grep REPORTED | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+
+# Gets the cachegroup ID
+CACHEGROUP=$(curl -ksb cookie.jar https://trafficportal/api/1.3/cachegroups)
+while [[ "$CACHEGROUP" == '{"response":[]}' ]]; do
+	echo "waiting for trafficops setup to complete..."
+	sleep 3
+	CACHEGROUP=$(curl -ksb cookie.jar https://trafficportal/api/1.3/cachegroups)
+done
+CACHEGROUP=$(echo $CACHEGROUP | tr '{' '\n' | grep CDN_in_a_Box_Edge | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+
+# Now put it all together and send it up
+sed -ie "s;MY_LOCATION;$location;g" /server.json
+sed -ie "s;MY_TYPE;$TYPE;g" /server.json
+sed -ie "s;MY_CDN_ID;$CDN;g" /server.json
+sed -ie "s;REPORTED_ID;$REPORTED;g" /server.json
+sed -ie "s;CACHE_GROUP_ID;$CACHEGROUP;g" /server.json
+sed -ie "s;MY_PROFILE_ID;$PROFILEID;g" /server.json
+cat /server.json
+SERVER=$(curl -ksb cookie.jar -d @/server.json https://trafficportal/api/1.3/servers)
+SERVER=$(echo $SERVER | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+
+
+#finally, link this server to a delivery service
+DSID=$(curl -ksb cookie.jar https://trafficportal/api/1.3/deliveryservices)
+while [[ "$DSID" == '{"response":[]}' ]]; do
+	echo "Waiting for delivery service creation..."
+	sleep 3
+	DSID=$(curl -ksb cookie.jar https://trafficportal/api/1.3/deliveryservices)
+done
+DSID=$(echo $DSID | tr '{' '\n' | grep '"CDN in a Box"' | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+
+curl -ksb cookie.jar -d "{\"dsId\":$DSID,\"servers\":[$SERVER],\"replace\":true}" https://trafficportal/api/1.2/deliveryserviceserver
+echo
+
+fg
diff --git a/infrastructure/cdn-in-a-box/mid/setup.sh b/infrastructure/cdn-in-a-box/mid/setup.sh
index fd4131d..3756d2e 100755
--- a/infrastructure/cdn-in-a-box/mid/setup.sh
+++ b/infrastructure/cdn-in-a-box/mid/setup.sh
@@ -66,6 +66,11 @@ echo
 
 # Gets the location ID
 location=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/phys_locations | jq '.response|.[]|select(.name=="CDN_in_a_Box")|.id')
+while [[ -z "$location" ]]; do
+	echo "Waiting for location setup"
+	sleep 3
+	location=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/phys_locations | jq '.response|.[]|select(.name=="CDN_in_a_Box")|.id')
+done
 
 # Gets the id of a MID server type
 TYPE=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/types | jq '.response|.[]|select(.name=="MID")|.id')
diff --git a/infrastructure/cdn-in-a-box/traffic_ops/edge_cachegroup.json b/infrastructure/cdn-in-a-box/traffic_ops/edge_cachegroup.json
new file mode 100644
index 0000000..ff4e26d
--- /dev/null
+++ b/infrastructure/cdn-in-a-box/traffic_ops/edge_cachegroup.json
@@ -0,0 +1,5 @@
+{
+"name": "CDN_in_a_Box_Edge",
+"shortName": "ciabEdge",
+"typeId": EDGE_LOC_ID
+}
diff --git a/infrastructure/cdn-in-a-box/traffic_ops/cachegroup.json b/infrastructure/cdn-in-a-box/traffic_ops/mid_cachegroup.json
similarity index 62%
rename from infrastructure/cdn-in-a-box/traffic_ops/cachegroup.json
rename to infrastructure/cdn-in-a-box/traffic_ops/mid_cachegroup.json
index 599c377..600465f 100644
--- a/infrastructure/cdn-in-a-box/traffic_ops/cachegroup.json
+++ b/infrastructure/cdn-in-a-box/traffic_ops/mid_cachegroup.json
@@ -1,5 +1,5 @@
 {
-"name": "CDN_in_a_Box",
+"name": "CDN_in_a_Box_Mid",
 "shortName": "ciab",
 "typeId": MID_LOC_ID
 }
diff --git a/infrastructure/cdn-in-a-box/traffic_ops/setup.sh b/infrastructure/cdn-in-a-box/traffic_ops/setup.sh
index 5f9c521..b465ee1 100755
--- a/infrastructure/cdn-in-a-box/traffic_ops/setup.sh
+++ b/infrastructure/cdn-in-a-box/traffic_ops/setup.sh
@@ -28,17 +28,16 @@ echo
 #... and a delivery service
 curl -skb cookie.jar -d @/deliveryservices.json https://localhost:$TO_PORT/api/1.3/deliveryservices
 echo
-#... and a cachegroup
-# MID_LOC_ID=$(curl -skb cookie.jar https://localhost:$TO_PORT/api/1.3/types | sed -re 's/\},\{/\n/g' | grep MID_LOC | tr ',' '\n' | grep '"id"' | cut -d : -f2)
+#... and two cachegroup
 MID_LOC_ID=$(curl -skb cookie.jar https://localhost:$TO_PORT/api/1.3/types | jq '.response|.[]|select(.name=="MID_LOC")|.id')
-# I have literally no idea why this is happening and it's so infuriating
-if [[ -f '/cachegroup.jsone' ]]; then
-	mv /cachegroup.jsone /cachegroup.json
-fi
+EDGE_LOC_ID=$(curl -skb cookie.jar https://localhost:$TO_PORT/api/1.3/types | jq '.response|.[]|select(.name=="EDGE_LOC")|.id')
 
 
-sed -ie "s/MID_LOC_ID/${MID_LOC_ID}/g" /cachegroup.json
-curl -skb cookie.jar -d @/cachegroup.json https://localhost:$TO_PORT/api/1.3/cachegroups
+sed -ie "s/MID_LOC_ID/${MID_LOC_ID}/g" /mid_cachegroup.json
+sed -ie "s/EDGE_LOC_ID/${EDGE_LOC_ID}/g" /edge_cachegroup.json
+curl -skb cookie.jar -d @/mid_cachegroup.json https://localhost:$TO_PORT/api/1.3/cachegroups
+echo
+curl -skb cookie.jar -d @/edge_cachegroup.json https://localhost:$TO_PORT/api/1.3/cachegroups
 echo
 #... and a division
 curl -skb cookie.jar -d '{"name":"CDN_in_a_Box"}' https://localhost:$TO_PORT/api/1.3/divisions


[trafficcontrol] 03/09: Naming consistency

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 14513d62eb869453063256db7d624045178a1878
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Thu Jul 19 18:56:39 2018 +0000

    Naming consistency
---
 infrastructure/cdn-in-a-box/edge/Dockerfile                         | 4 ++--
 .../cdn-in-a-box/edge/{edge_parameters.json => parameters.json}     | 0
 .../cdn-in-a-box/edge/{edge_profile.json => profile.json}           | 0
 infrastructure/cdn-in-a-box/edge/setup.sh                           | 6 +++---
 infrastructure/cdn-in-a-box/mid/Dockerfile                          | 2 +-
 .../cdn-in-a-box/mid/{mid_parameters.json => parameters.json}       | 0
 infrastructure/cdn-in-a-box/mid/{mid_profile.json => profile.json}  | 0
 infrastructure/cdn-in-a-box/mid/setup.sh                            | 6 +++---
 8 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/edge/Dockerfile b/infrastructure/cdn-in-a-box/edge/Dockerfile
index b471a6f..4ce93d4 100644
--- a/infrastructure/cdn-in-a-box/edge/Dockerfile
+++ b/infrastructure/cdn-in-a-box/edge/Dockerfile
@@ -32,8 +32,8 @@ RUN mkdir -p /var/trafficserver/cache
 RUN chown -R ats:ats /var/trafficserver/
 RUN mkdir -p /opt/ort
 RUN chown ats:ats /opt/ort
-ADD edge_parameters.json /edge_parameters.json
-ADD edge_profile.json /edge_profile.json
+ADD parameters.json /parameters.json
+ADD profile.json /profile.json
 ADD server.json /server.json
 ADD setup.sh /setup.sh
 
diff --git a/infrastructure/cdn-in-a-box/edge/edge_parameters.json b/infrastructure/cdn-in-a-box/edge/parameters.json
similarity index 100%
rename from infrastructure/cdn-in-a-box/edge/edge_parameters.json
rename to infrastructure/cdn-in-a-box/edge/parameters.json
diff --git a/infrastructure/cdn-in-a-box/edge/edge_profile.json b/infrastructure/cdn-in-a-box/edge/profile.json
similarity index 100%
rename from infrastructure/cdn-in-a-box/edge/edge_profile.json
rename to infrastructure/cdn-in-a-box/edge/profile.json
diff --git a/infrastructure/cdn-in-a-box/edge/setup.sh b/infrastructure/cdn-in-a-box/edge/setup.sh
index 0e12d10..05ad7cc 100755
--- a/infrastructure/cdn-in-a-box/edge/setup.sh
+++ b/infrastructure/cdn-in-a-box/edge/setup.sh
@@ -42,11 +42,11 @@ done
 
 
 # Now we upload a profile for later use
-sed -ie "s;CDN_ID;$CDN;g" /edge_profile.json
-PROFILE=$(curl -ksb cookie.jar -d @/edge_profile.json https://trafficportal/api/1.3/profiles)
+sed -ie "s;CDN_ID;$CDN;g" /profile.json
+PROFILE=$(curl -ksb cookie.jar -d @/profile.json https://trafficportal/api/1.3/profiles)
 PROFILENAME=$(echo $PROFILE | tr ',' '\n' | grep '"name"' | cut -d : -f2 | tr -d '"')
 PROFILEID=$(echo $PROFILE | tr ',{' '\n' | grep '"id"' | cut -d : -f2)
-curl -ksb cookie.jar -d @/edge_parameters.json https://trafficportal/api/1.3/profiles/name/$PROFILENAME/parameters
+curl -ksb cookie.jar -d @/parameters.json https://trafficportal/api/1.3/profiles/name/$PROFILENAME/parameters
 echo
 
 # Gets the location ID
diff --git a/infrastructure/cdn-in-a-box/mid/Dockerfile b/infrastructure/cdn-in-a-box/mid/Dockerfile
index 96442fa..b951427 100644
--- a/infrastructure/cdn-in-a-box/mid/Dockerfile
+++ b/infrastructure/cdn-in-a-box/mid/Dockerfile
@@ -31,7 +31,7 @@ RUN yum install -y /trafficserver.rpm iproute jq net-tools nmap-ncat && yum clea
 
 RUN mkdir -p /var/trafficserver/cache /opt/ort && chown -R ats:ats /etc/trafficserver /var/trafficserver /opt/ort
 
-ADD mid_parameters.json mid_profile.json server.json setup.sh /
+ADD parameters.json profile.json server.json setup.sh /
 
 EXPOSE 80
 
diff --git a/infrastructure/cdn-in-a-box/mid/mid_parameters.json b/infrastructure/cdn-in-a-box/mid/parameters.json
similarity index 100%
rename from infrastructure/cdn-in-a-box/mid/mid_parameters.json
rename to infrastructure/cdn-in-a-box/mid/parameters.json
diff --git a/infrastructure/cdn-in-a-box/mid/mid_profile.json b/infrastructure/cdn-in-a-box/mid/profile.json
similarity index 100%
rename from infrastructure/cdn-in-a-box/mid/mid_profile.json
rename to infrastructure/cdn-in-a-box/mid/profile.json
diff --git a/infrastructure/cdn-in-a-box/mid/setup.sh b/infrastructure/cdn-in-a-box/mid/setup.sh
index 3756d2e..ae54116 100755
--- a/infrastructure/cdn-in-a-box/mid/setup.sh
+++ b/infrastructure/cdn-in-a-box/mid/setup.sh
@@ -57,11 +57,11 @@ done
 
 
 # Now we upload a profile for later use
-sed -ie "s;CDN_ID;$CDN;g" /mid_profile.json
-PROFILE=$(curl -ksb cookie.jar -d @/mid_profile.json https://$TP_HOST/api/1.3/profiles | jq '.response')
+sed -ie "s;CDN_ID;$CDN;g" /profile.json
+PROFILE=$(curl -ksb cookie.jar -d @/profile.json https://$TP_HOST/api/1.3/profiles | jq '.response')
 PROFILENAME=$(echo $PROFILE | jq '.name' | tr -d '"')
 PROFILEID=$(echo $PROFILE | jq '.id')
-curl -ksb cookie.jar -d @/mid_parameters.json https://$TP_HOST/api/1.3/profiles/name/$PROFILENAME/parameters
+curl -ksb cookie.jar -d @/parameters.json https://$TP_HOST/api/1.3/profiles/name/$PROFILENAME/parameters
 echo
 
 # Gets the location ID


[trafficcontrol] 05/09: edge cache now using environment config

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 0344fd9bdbfbc887f8509109260885816d33f765
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Tue Jul 24 14:00:17 2018 +0000

    edge cache now using environment config
---
 infrastructure/cdn-in-a-box/edge/setup.sh | 34 +++++++++++++++----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/edge/setup.sh b/infrastructure/cdn-in-a-box/edge/setup.sh
index 05ad7cc..5509dd3 100755
--- a/infrastructure/cdn-in-a-box/edge/setup.sh
+++ b/infrastructure/cdn-in-a-box/edge/setup.sh
@@ -21,57 +21,57 @@ sed -ie "s;MY_GATEWAY;$gateway;g" /server.json
 sed -ie "s;MY_NETMASK;$netmask;g" /server.json
 sed -ie "s;MY_IP;$myIP;g" /server.json
 
-while ! nc trafficops 6443 </dev/null; do
-	echo "waiting for traffic_ops_golang:6443"
+while ! nc $TO_HOST $TO_PORT </dev/null; do
+	echo "waiting for Traffic Ops"
 	sleep 3
 done
 
 # Now network things. First need to authenticate
-curl -ksc cookie.jar -d '{"u":"admin","p":"twelve"}' https://trafficportal/api/1.3/user/login
+curl -ksc cookie.jar -d "{\"u\":\"$TO_ADMIN_USER\",\"p\":\"$TO_ADMIN_PASSWORD\"}" https://$TP_HOST/api/1.3/user/login
 echo
 
 # Gets our CDN ID
-CDN=$(curl -ksb cookie.jar https://trafficportal/api/1.3/cdns)
+CDN=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cdns)
 CDN=$(echo $CDN | tr '}' '\n' | grep CDN-in-a-Box | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 while [[ -z "$CDN" ]]; do
 	echo "waiting for trafficops setup to complete..."
 	sleep 3
-	CDN=$(curl -ksb cookie.jar https://trafficportal/api/1.3/cdns)
+	CDN=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cdns)
 	CDN=$(echo $CDN | tr '}' '\n' | grep CDN-in-a-Box | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 done
 
 
 # Now we upload a profile for later use
 sed -ie "s;CDN_ID;$CDN;g" /profile.json
-PROFILE=$(curl -ksb cookie.jar -d @/profile.json https://trafficportal/api/1.3/profiles)
+PROFILE=$(curl -ksb cookie.jar -d @/profile.json https://$TP_HOST/api/1.3/profiles)
 PROFILENAME=$(echo $PROFILE | tr ',' '\n' | grep '"name"' | cut -d : -f2 | tr -d '"')
 PROFILEID=$(echo $PROFILE | tr ',{' '\n' | grep '"id"' | cut -d : -f2)
-curl -ksb cookie.jar -d @/parameters.json https://trafficportal/api/1.3/profiles/name/$PROFILENAME/parameters
+curl -ksb cookie.jar -d @/parameters.json https://$TP_HOST/api/1.3/profiles/name/$PROFILENAME/parameters
 echo
 
 # Gets the location ID
-location=$(curl -ksb cookie.jar https://trafficportal/api/1.3/phys_locations)
+location=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/phys_locations)
 while [[ "$location" == '{"response":[]}' ]]; do
 	echo "Waiting for location setup"
 	sleep 3
-	location=$(curl -ksb cookie.jar https://trafficportal/api/1.3/phys_locations)
+	location=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/phys_locations)
 done
 location=$(echo $location | tr ']' '\n' | grep CDN_in_a_Box | tr ',' '\n' | grep '"id"' | cut -d ':' -f2)
 
 # Gets the id of a MID server type
-TYPE=$(curl -ksb cookie.jar https://trafficportal/api/1.3/types)
+TYPE=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/types)
 TYPE=$(echo $TYPE | tr '}' '\n' | grep '"EDGE"' | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 
 # Gets the id of the 'REPORTED' status
-REPORTED=$(curl -ksb cookie.jar https://trafficportal/api/1.3/statuses)
+REPORTED=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/statuses)
 REPORTED=$(echo $REPORTED | tr '}' '\n' | grep REPORTED | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 
 # Gets the cachegroup ID
-CACHEGROUP=$(curl -ksb cookie.jar https://trafficportal/api/1.3/cachegroups)
+CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups)
 while [[ "$CACHEGROUP" == '{"response":[]}' ]]; do
 	echo "waiting for trafficops setup to complete..."
 	sleep 3
-	CACHEGROUP=$(curl -ksb cookie.jar https://trafficportal/api/1.3/cachegroups)
+	CACHEGROUP=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/cachegroups)
 done
 CACHEGROUP=$(echo $CACHEGROUP | tr '{' '\n' | grep CDN_in_a_Box_Edge | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 
@@ -83,20 +83,20 @@ sed -ie "s;REPORTED_ID;$REPORTED;g" /server.json
 sed -ie "s;CACHE_GROUP_ID;$CACHEGROUP;g" /server.json
 sed -ie "s;MY_PROFILE_ID;$PROFILEID;g" /server.json
 cat /server.json
-SERVER=$(curl -ksb cookie.jar -d @/server.json https://trafficportal/api/1.3/servers)
+SERVER=$(curl -ksb cookie.jar -d @/server.json https://$TP_HOST/api/1.3/servers)
 SERVER=$(echo $SERVER | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 
 
 #finally, link this server to a delivery service
-DSID=$(curl -ksb cookie.jar https://trafficportal/api/1.3/deliveryservices)
+DSID=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/deliveryservices)
 while [[ "$DSID" == '{"response":[]}' ]]; do
 	echo "Waiting for delivery service creation..."
 	sleep 3
-	DSID=$(curl -ksb cookie.jar https://trafficportal/api/1.3/deliveryservices)
+	DSID=$(curl -ksb cookie.jar https://$TP_HOST/api/1.3/deliveryservices)
 done
 DSID=$(echo $DSID | tr '{' '\n' | grep '"CDN in a Box"' | tr ',' '\n' | grep '"id"' | cut -d : -f2)
 
-curl -ksb cookie.jar -d "{\"dsId\":$DSID,\"servers\":[$SERVER],\"replace\":true}" https://trafficportal/api/1.2/deliveryserviceserver
+curl -ksb cookie.jar -d "{\"dsId\":$DSID,\"servers\":[$SERVER],\"replace\":true}" https://$TP_HOST/api/1.2/deliveryserviceserver
 echo
 
 fg


[trafficcontrol] 07/09: Messed that up somewhere...

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 964ff9b16ed53e1800d53b0b2d75e26d8a2f591d
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Tue Jul 24 14:52:06 2018 +0000

    Messed that up somewhere...
---
 infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-go b/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-go
index 2e1ca7b..8186c97 100644
--- a/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-go
+++ b/infrastructure/cdn-in-a-box/traffic_ops/Dockerfile-go
@@ -32,5 +32,5 @@ EXPOSE 6443
 WORKDIR /opt/traffic_ops/app
 
 ADD config.sh run-go.sh setup.sh /
-ADD cdns.json deliveryservices.json cachegroup.json phys_location.json /
+ADD cdns.json deliveryservices.json mid_cachegroup.json edge_cachegroup.json phys_location.json /
 CMD /run-go.sh


[trafficcontrol] 08/09: Added Traffic Control environment variables to edge environment

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 62b7df7c0de90295fc0ab72ef7184b4aff061614
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Tue Jul 24 14:56:47 2018 +0000

    Added Traffic Control environment variables to edge environment
---
 infrastructure/cdn-in-a-box/docker-compose.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/infrastructure/cdn-in-a-box/docker-compose.yml b/infrastructure/cdn-in-a-box/docker-compose.yml
index d9d1be0..c8c4dbc 100644
--- a/infrastructure/cdn-in-a-box/docker-compose.yml
+++ b/infrastructure/cdn-in-a-box/docker-compose.yml
@@ -161,6 +161,8 @@ services:
     build:
       context: edge
     domainname: cdn.local
+    env_file:
+      - variables.env
     hostname: edge
     networks:
       - tcnet


[trafficcontrol] 06/09: Added license info to edge setup script

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit dafe5736aae3bbcf839b198834a807f82ab4e7f6
Author: Brennan Fieck <Br...@comcast.com>
AuthorDate: Tue Jul 24 14:02:21 2018 +0000

    Added license info to edge setup script
---
 infrastructure/cdn-in-a-box/edge/setup.sh | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/infrastructure/cdn-in-a-box/edge/setup.sh b/infrastructure/cdn-in-a-box/edge/setup.sh
index 5509dd3..94a394e 100755
--- a/infrastructure/cdn-in-a-box/edge/setup.sh
+++ b/infrastructure/cdn-in-a-box/edge/setup.sh
@@ -1,5 +1,22 @@
 #!/usr/bin/bash
 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 set -e
 set -x
 set -m