You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reference/tools/zombienet.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ Kubernetes is compatible with [GKE](https://cloud.google.com/kubernetes-engine){
121
121
122
122
### Podman
123
123
124
-
Podman is a daemonless container engine that works on Linux-based systems. Zombienet supports Podman rootless as a provider.
124
+
Podman is a daemonless container engine for Linux. Zombienet supports Podman rootless as a provider.
125
125
126
126
-**Requirements**: Install [Podman](https://podman.io/getting-started/installation){target=\_blank} on Linux.
127
127
@@ -133,21 +133,21 @@ The native provider runs nodes as local processes on your machine.
133
133
134
134
-**Requirements**: Have the necessary binaries (`polkadot`, `polkadot-parachain`) in your PATH. Install them using:
135
135
136
-
```bash
137
-
zombienet setup polkadot polkadot-parachain
138
-
```
136
+
```bash
137
+
zombienet setup polkadot polkadot-parachain
138
+
```
139
139
140
-
For custom binaries, specify the path in your configuration or add them to your PATH:
140
+
For custom binaries, specify the path in your configuration or add them to your PATH:
141
141
142
-
```bash
143
-
export PATH=$PATH:INSERT_PATH_TO_BINARY
144
-
```
142
+
```bash
143
+
export PATH=$PATH:INSERT_PATH_TO_BINARY
144
+
```
145
145
146
146
- **Features**: No additional monitoring features.
147
147
148
148
## Configure Zombienet
149
149
150
-
Zombienet uses configuration files in JSON or TOML format to define network topology, nodes, and parameters. The [Zombienet repository](https://github.com/paritytech/zombienet/tree/main/examples){target=\_blank} provides example configurations.
150
+
Zombienet uses JSON or TOML configuration files to define network topology, nodes, and parameters. The [Zombienet repository](https://github.com/paritytech/zombienet/tree/main/examples){target=\_blank} provides example configurations.
151
151
152
152
### Basic Configuration
153
153
@@ -254,11 +254,11 @@ Access the running nodes via the provided RPC endpoints (typically `ws://127.0.0
254
254
255
255
Zombienet provides a Domain Specific Language (DSL) forwriting testsin`.zndsl` files. Tests can evaluate:
256
256
257
-
- Metrics from Prometheus.
258
-
- Log patterns.
259
-
- System events.
260
-
- On-chain storage.
261
-
- Custom JavaScript/TypeScript scripts.
257
+
- Metrics from Prometheus
258
+
- Log patterns
259
+
- System events
260
+
- On-chain storage
261
+
- Custom JavaScript/TypeScript scripts
262
262
263
263
### Test File Structure
264
264
@@ -290,19 +290,19 @@ The test runner will execute each assertion and report pass/fail status.
290
290
291
291
Some frequently used assertions include:
292
292
293
-
-**Well-known functions**: `alice: is up`, `alice: parachain 100 is registered within 225 seconds`.
294
-
-**Metrics**: `alice: reports node_roles is 4`.
295
-
-**Logs**: `alice: log line matches glob "Imported #1" within 10 seconds`.
296
-
-**System events**: `alice: system event matches ""paraId":[0-9]+" within 10 seconds`.
297
-
-**Custom scripts**: `alice: js-script ./script.js return is greater than 1 within 200 seconds`.
293
+
- **Well-known functions**: `alice: is up`, `alice: parachain 100 is registered within 225 seconds`
294
+
- **Metrics**: `alice: reports node_roles is 4`
295
+
- **Logs**: `alice: log line matches glob "Imported #1" within 10 seconds`
296
+
- **System events**: `alice: system event matches ""paraId":[0-9]+" within 10 seconds`
297
+
- **Custom scripts**: `alice: js-script ./script.js return is greater than 1 within 200 seconds`
298
298
299
299
## Configuration Reference
300
300
301
301
For detailed configuration options, see:
302
302
303
-
-[Configuration examples](https://github.com/paritytech/zombienet/tree/main/examples){target=\_blank} - Sample configurations for various scenarios.
304
-
-[Testing DSL specification](https://paritytech.github.io/zombienet/cli/test-dsl-definition-spec.html){target=\_blank} - Complete DSL syntax reference.
0 commit comments