diff --git a/localNetwork/configGen/gateway.yaml b/localNetwork/configFileGeneration/gateway_template.yaml similarity index 100% rename from localNetwork/configGen/gateway.yaml rename to localNetwork/configFileGeneration/gateway_template.yaml diff --git a/localNetwork/configGen/gen.py b/localNetwork/configFileGeneration/gen.py similarity index 95% rename from localNetwork/configGen/gen.py rename to localNetwork/configFileGeneration/gen.py index a166e6faf7f9651b04203c305ba4cada936663c5..88799a5b423d53e533fb04e66636eaa76424957c 100644 --- a/localNetwork/configGen/gen.py +++ b/localNetwork/configFileGeneration/gen.py @@ -16,19 +16,19 @@ node_ports = [] node_regCodes = [] server_template = "" -with open("server.yaml") as f: +with open("server_template.yaml") as f: server_template = f.read() gateway_template = "" -with open("gateway.yaml") as f: +with open("gateway_template.yaml") as f: gateway_template = f.read() reg_template = "" -with open("permissioning.yaml") as f: +with open("permissioning_template.yaml") as f: reg_template = f.read() reg_json_template = "" -with open("registration.json") as f: +with open("registration_template.json") as f: reg_json_template = f.read() # Generate a list of all ports servers and gateways occupy. Doing this as a diff --git a/localNetwork/configGen/permissioning.yaml b/localNetwork/configFileGeneration/permissioning_template.yaml similarity index 98% rename from localNetwork/configGen/permissioning.yaml rename to localNetwork/configFileGeneration/permissioning_template.yaml index a04f7f1bfa628a127575551c0ab94c34aff3395e..7f55fe158ee5315ba4fc826e183c4e6cc0aa012a 100644 --- a/localNetwork/configGen/permissioning.yaml +++ b/localNetwork/configFileGeneration/permissioning_template.yaml @@ -86,7 +86,7 @@ groups: generator: "2" # 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 # placement) diff --git a/localNetwork/configGen/registration.json b/localNetwork/configFileGeneration/registration_template.json similarity index 100% rename from localNetwork/configGen/registration.json rename to localNetwork/configFileGeneration/registration_template.json diff --git a/localNetwork/configGen/server.yaml b/localNetwork/configFileGeneration/server_template.yaml similarity index 100% rename from localNetwork/configGen/server.yaml rename to localNetwork/configFileGeneration/server_template.yaml