summaryrefslogtreecommitdiff
path: root/playgrounds/aurora/iperf.aurora
diff options
context:
space:
mode:
Diffstat (limited to 'playgrounds/aurora/iperf.aurora')
-rw-r--r--playgrounds/aurora/iperf.aurora37
1 files changed, 0 insertions, 37 deletions
diff --git a/playgrounds/aurora/iperf.aurora b/playgrounds/aurora/iperf.aurora
deleted file mode 100644
index e071bd2..0000000
--- a/playgrounds/aurora/iperf.aurora
+++ /dev/null
@@ -1,37 +0,0 @@
-class StandardProfile(Struct):
- environment=Default(String, 'prod')
- tier=Default(String, 'preferred')
-
-DevelProfile = StandardProfile(
- environment = 'devel',
- tier = 'preemptible',
-)
-
-api = Process(
- name = 'iperf',
- cmdline = '/usr/bin/iperf3 -s -p {{thermos.ports[http]}}'
-)
-
-task = Task(
- name = api.name(),
- resources = Resources(cpu = 1.0, ram = 4 * GB, disk = 1 * GB),
- processes = [api]
-)
-
-service_template = Service(
- role='fcuny',
- name = 'iperf',
- environment='{{profile.environment}}',
- task = task,
- instances = 3,
- contact = 'fcuny@twitter.com',
- announce=Announcer(),
- tier ='{{profile.tier}}',
- constraints={
- 'host': 'smf1-bgr-27-sr1',
- }
-)
-
-jobs = [
- service_template(cluster='smf1-test').bind(profile=DevelProfile()),
-]