diff --git a/test/testdata/deployednettemplates/recipes/feature-networks/genesis.json b/test/testdata/deployednettemplates/recipes/feature-networks/genesis.json new file mode 100644 index 0000000000..943e9f5150 --- /dev/null +++ b/test/testdata/deployednettemplates/recipes/feature-networks/genesis.json @@ -0,0 +1,29 @@ +{ + "NetworkName": "", + "VersionModifier": "", + "ConsensusProtocol": "future", + "FirstPartKeyRound": 0, + "LastPartKeyRound": 100000000, + "Wallets": [ + { + "Name": "Wallet1-R1", + "Stake": 25, + "Online": true + }, + { + "Name": "Wallet2-R2", + "Stake": 25, + "Online": true + }, + { + "Name": "Wallet3-Dispenser", + "Stake": 40, + "Online": false + }, + { + "Name": "Wallet4-NPN1", + "Stake": 10, + "Online": false + } + ] +} diff --git a/test/testdata/deployednettemplates/recipes/feature-networks/hosttemplates.json b/test/testdata/deployednettemplates/recipes/feature-networks/hosttemplates.json new file mode 100644 index 0000000000..c8c8642a24 --- /dev/null +++ b/test/testdata/deployednettemplates/recipes/feature-networks/hosttemplates.json @@ -0,0 +1,10 @@ +{ + "Hosts": [ + { + "Name": "AWS-US-EAST-2-Large", + "Provider": "AWS", + "Region": "us-east-2", + "BaseConfiguration": "m6i.large" + } + ] +} diff --git a/test/testdata/deployednettemplates/recipes/feature-networks/net.json b/test/testdata/deployednettemplates/recipes/feature-networks/net.json new file mode 100644 index 0000000000..cbab021641 --- /dev/null +++ b/test/testdata/deployednettemplates/recipes/feature-networks/net.json @@ -0,0 +1,83 @@ +{ + "Hosts": [ + { + "Name": "R1", + "Nodes": [ + { + "Name": "relay1", + "IsRelay": true, + "Wallets": [ + { + "Name": "Wallet1-R1", + "ParticipationOnly": false + }, + { + "Name": "Wallet3-Dispenser", + "ParticipationOnly": false + } + ], + "NetAddress": "{{NetworkPort}}", + "APIEndpoint": "{{APIEndpoint}}", + "APIToken": "{{APIToken}}", + "EnableTelemetry": true, + "TelemetryURI": "telemetry.feature-networks.algodev.network", + "EnableMetrics": true, + "MetricsURI": "{{MetricsURI}}", + "EnableService": false, + "EnableBlockStats": true, + "ConfigJSONOverride": "{ \"DNSBootstrapID\": \".algodev.network\", \"DeadlockDetection\": -1, \"PeerPingPeriodSeconds\": 30, \"EnableAgreementReporting\": true, \"EnableAgreementTimeMetrics\": true, \"EnableAssembleStats\": true, \"EnableProcessBlockStats\": true }" + } + ] + }, + { + "Name": "R2", + "Nodes": [ + { + "Name": "relay2", + "IsRelay": true, + "Wallets": [ + { + "Name": "Wallet2-R2", + "ParticipationOnly": false + } + ], + "NetAddress": "{{NetworkPort}}", + "APIEndpoint": "{{APIEndpoint}}", + "APIToken": "{{APIToken}}", + "EnableTelemetry": true, + "TelemetryURI": "telemetry.feature-networks.algodev.network", + "EnableMetrics": true, + "MetricsURI": "{{MetricsURI}}", + "EnableService": false, + "EnableBlockStats": true, + "ConfigJSONOverride": "{ \"DNSBootstrapID\": \".algodev.network\",\"DeadlockDetection\": -1, \"PeerPingPeriodSeconds\": 30, \"EnableAgreementReporting\": true, \"EnableAgreementTimeMetrics\": true, \"EnableAssembleStats\": true, \"EnableProcessBlockStats\": true }" + } + ] + }, + { + "Name": "NPN1", + "Nodes": [ + { + "Name": "node1", + "IsRelay": false, + "Wallets": [ + { + "Name": "Wallet4-NPN1", + "ParticipationOnly": false + } + ], + "NetAddress": "{{NetworkPort}}", + "APIEndpoint": "{{APIEndpoint}}", + "APIToken": "{{APIToken}}", + "EnableTelemetry": true, + "TelemetryURI": "telemetry.feature-networks.algodev.network", + "EnableMetrics": true, + "MetricsURI": "{{MetricsURI}}", + "EnableService": false, + "EnableBlockStats": true, + "ConfigJSONOverride": "{ \"DNSBootstrapID\": \".algodev.network\",\"DeadlockDetection\": -1, \"PeerPingPeriodSeconds\": 30, \"EnableAgreementReporting\": true, \"EnableAgreementTimeMetrics\": true, \"EnableAssembleStats\": true, \"EnableProcessBlockStats\": true }" + } + ] + } + ] +} diff --git a/test/testdata/deployednettemplates/recipes/feature-networks/recipe.json b/test/testdata/deployednettemplates/recipes/feature-networks/recipe.json new file mode 100644 index 0000000000..587e513f26 --- /dev/null +++ b/test/testdata/deployednettemplates/recipes/feature-networks/recipe.json @@ -0,0 +1,7 @@ +{ + "GenesisFile":"genesis.json", + "NetworkFile":"net.json", + "ConfigFile": "../../configs/reference.json", + "HostTemplatesFile": "hosttemplates.json", + "TopologyFile": "topology.json" +} diff --git a/test/testdata/deployednettemplates/recipes/feature-networks/topology.json b/test/testdata/deployednettemplates/recipes/feature-networks/topology.json new file mode 100644 index 0000000000..360c9d0d49 --- /dev/null +++ b/test/testdata/deployednettemplates/recipes/feature-networks/topology.json @@ -0,0 +1,16 @@ +{ + "Hosts": [ + { + "Name": "R1", + "Template": "AWS-US-EAST-2-Large" + }, + { + "Name": "R2", + "Template": "AWS-US-EAST-2-Large" + }, + { + "Name": "NPN1", + "Template": "AWS-US-EAST-2-Large" + } + ] +}