aboutsummaryrefslogtreecommitdiff
path: root/scripts/deploy/group_vars
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-08-30 00:15:08 -0400
committerDeterminant <tederminant@gmail.com>2020-08-30 00:15:08 -0400
commitd5bf357c8010bb1219d04ede14ce699b409e93c5 (patch)
tree042e6bc94994b899c9b31b7816648b557271a3f5 /scripts/deploy/group_vars
parentdc28778f9c10d8128abfcf4fea7339c69bd6074d (diff)
fix the connection issue with --notls flag on; WIP: deployment example
Diffstat (limited to 'scripts/deploy/group_vars')
-rw-r--r--scripts/deploy/group_vars/all.yml24
-rw-r--r--scripts/deploy/group_vars/clients.yml4
2 files changed, 28 insertions, 0 deletions
diff --git a/scripts/deploy/group_vars/all.yml b/scripts/deploy/group_vars/all.yml
new file mode 100644
index 0000000..d9e9a44
--- /dev/null
+++ b/scripts/deploy/group_vars/all.yml
@@ -0,0 +1,24 @@
+---
+## basic config
+
+ansible_connection: ssh
+ansible_user: ubuntu
+# change to your aws ec2 key file here
+ansible_ssh_private_key_file: ~/.ssh/ted-aws-key2.pem
+# remote directory that keeps the work directory for the running app
+testbed_prefix: "/home/ubuntu/testbed"
+
+## app specific config
+
+# process name that is used by killall in reset
+bin_name: hotstuff-app
+# binary path (remote)
+replica_bin: "/home/ubuntu/libhotstuff/examples/hotstuff-app"
+client_bin: "/home/ubuntu/libhotstuff/examples/hotstuff-client"
+# remote repo path
+hs_repo_dir: "/home/ubuntu/libhotstuff"
+# local source code path (that will be copied to the remote)
+hs_local_repo_dir: "../../"
+hs_conf_dir: "conf"
+hs_log_dir: "log"
+hs_base_conf: "./hotstuff.gen.conf"
diff --git a/scripts/deploy/group_vars/clients.yml b/scripts/deploy/group_vars/clients.yml
new file mode 100644
index 0000000..5c5afd8
--- /dev/null
+++ b/scripts/deploy/group_vars/clients.yml
@@ -0,0 +1,4 @@
+---
+bin_name: "hotstuff-client"
+max_iter: 100000
+max_async: 175