mix bloccs.gen.network (bloccs v0.10.0)

Copy Markdown View Source
mix bloccs.gen.network <name> [--node <node>]...

Writes a network manifest at networks/<name>.bloccs — the topology that wires nodes together. Pass --node once per node to seed the [nodes] table (each references ../nodes/<node>.bloccs); edges and exposed ports are left as commented guidance for you to fill in, since they depend on each node's ports.

Examples

mix bloccs.gen.network pipeline
mix bloccs.gen.network events --node ingest --node enrich --node persist

Generate the nodes themselves with mix bloccs.gen.node. Validate the result with mix bloccs.validate networks/<name>.bloccs.