-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add upload wedpr-sol * remove rpc disable ssl * add mpc config generator
- Loading branch information
1 parent
5609461
commit f9ecad1
Showing
20 changed files
with
316 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
#### define the binary path ### | ||
# the binary path for ppc-pro-node and ppc-gateway-service | ||
binary_path = "/data/home/wedpr/WeDPR-Component/cpp/build/bin" | ||
# the spdz path | ||
spdz_home = "" | ||
# the dist path for wedpr-site | ||
wedpr_site_dist_path = "/data/home/wedpr/WeDPR/wedpr-site/dist/" | ||
# the dist path for wedpr-dir | ||
|
@@ -47,16 +49,14 @@ gateway_disable_ssl = false | |
gateway_sm_ssl = false | ||
# the rpc use sm-ssl or not | ||
rpc_sm_ssl = false | ||
# the rpc disable ssl or not | ||
rpc_disable_ssl = true | ||
# use sm-crypto or not | ||
sm_crypto = false | ||
|
||
[[agency]] | ||
name = "agency0" | ||
#the time of the gateway holding and waiting to dispatcher the unsynced task, in minutes | ||
holding_msg_minutes = 30 | ||
psi_api_token = "wedpr_psi_api_token_agency0" | ||
wedpr_api_token = "" | ||
|
||
[agency.gateway] | ||
deploy_ip=["127.0.0.1:2"] | ||
|
@@ -128,12 +128,18 @@ psi_api_token = "wedpr_psi_api_token_agency0" | |
deploy_ip = ["127.0.0.1:2"] | ||
server_start_port = "18000" | ||
|
||
# configuration for wedpr worker | ||
# configuration for wedpr jupyter worker | ||
[agency.jupyter_worker] | ||
deploy_ip = ["127.0.0.1:1"] | ||
# the server start port | ||
server_start_port = "19000" | ||
|
||
# configuration for mpc | ||
[agency.mpc] | ||
deploy_ip = ["127.0.0.1:1"] | ||
# the server start port | ||
server_start_port = "20000" | ||
|
||
# configuration for the wedpr nodes | ||
[[agency.node]] | ||
# disable the ra2018 psi or not, default enable ra2018 | ||
|
@@ -187,7 +193,7 @@ psi_api_token = "wedpr_psi_api_token_agency0" | |
name = "agency1" | ||
#the time of the gateway holding and waiting to dispatcher the unsynced task, in minutes | ||
holding_msg_minutes = 30 | ||
psi_api_token = "wedpr_psi_api_token_agency1" | ||
wedpr_api_token = "" | ||
|
||
[agency.gateway] | ||
deploy_ip=["127.0.0.1:2"] | ||
|
@@ -258,12 +264,18 @@ psi_api_token = "wedpr_psi_api_token_agency1" | |
deploy_ip = ["127.0.0.1:2"] | ||
server_start_port = "28000" | ||
|
||
# configuration for wedpr worker | ||
# configuration for wedpr jupyter worker | ||
[agency.jupyter_worker] | ||
deploy_ip = ["127.0.0.1:1"] | ||
# the server start port | ||
server_start_port = "29000" | ||
|
||
# configuration for mpc | ||
[agency.mpc] | ||
deploy_ip = ["127.0.0.1:1"] | ||
# the server start port | ||
server_start_port = "30000" | ||
|
||
# configuration for the wedpr nodes | ||
[[agency.node]] | ||
# disable the ra2018 psi or not, default enable ra2018 | ||
|
@@ -311,21 +323,4 @@ psi_api_token = "wedpr_psi_api_token_agency1" | |
port = 33060 | ||
user = "wedpr" | ||
password = "" | ||
database = "" | ||
|
||
# the hdfs storage config | ||
[agency.node.hdfs_storage] | ||
user = "root" | ||
name_node = "127.0.0.1" | ||
name_node_port = 9000 | ||
token = "" | ||
# enable auth or not, default is false | ||
enable_krb5_auth = false | ||
# the hdfs kerberos auth principal, used when enable_krb5_auth | ||
auth_principal = "[email protected]" | ||
# the hdfs kerberos auth password, used when enable_krb5_auth | ||
auth_password = "" | ||
# the ccache path, used when enable_krb5_auth | ||
ccache_path = "/tmp/krb5cc_ppc_node" | ||
# the krb5 conf path | ||
krb5_conf_path = "conf/krb5.conf" | ||
database = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.