Skip to content
Snippets Groups Projects
Commit 2e670932 authored by Josh Brooks's avatar Josh Brooks
Browse files

Small refactor

parent 9629be6a
No related branches found
No related tags found
3 merge requests!68Master merge,!24Josh/local env migration,!11Release
...@@ -16,19 +16,19 @@ node_ports = [] ...@@ -16,19 +16,19 @@ node_ports = []
node_regCodes = [] node_regCodes = []
server_template = "" server_template = ""
with open("server.yaml") as f: with open("server_template.yaml") as f:
server_template = f.read() server_template = f.read()
gateway_template = "" gateway_template = ""
with open("gateway.yaml") as f: with open("gateway_template.yaml") as f:
gateway_template = f.read() gateway_template = f.read()
reg_template = "" reg_template = ""
with open("permissioning.yaml") as f: with open("permissioning_template.yaml") as f:
reg_template = f.read() reg_template = f.read()
reg_json_template = "" reg_json_template = ""
with open("registration.json") as f: with open("registration_template.json") as f:
reg_json_template = f.read() reg_json_template = f.read()
# Generate a list of all ports servers and gateways occupy. Doing this as a # Generate a list of all ports servers and gateways occupy. Doing this as a
......
...@@ -86,7 +86,7 @@ groups: ...@@ -86,7 +86,7 @@ groups:
generator: "2" generator: "2"
# Path to file with config for scheduling algorithem within the user directory # Path to file with config for scheduling algorithem within the user directory
schedulingConfigPath: "registration.json" schedulingConfigPath: "registration_template.json"
# Path to JSON file with list of Node registration codes (in order of network # Path to JSON file with list of Node registration codes (in order of network
# placement) # placement)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment