Skip to content

Containerlab Worker Inventoryยค

Content of inventory.yaml need to be updated to include Containerlab worker details:

inventory.yaml
broker: 
  endpoint: "tcp://127.0.0.1:5555" 
  shared_key: "5z1:yW}]n?UXhGmz+5CeHN1>:S9k!eCh6JyIhJqO"

workers:
  containerlab-worker-1: 
    - containerlab/containerlab-worker-1.yaml

topology: 
  workers: 
    - containerlab-worker-1

To obtain broker shared_key run this command on broker:

cd <path/to/broker/inventory.yaml>
nfcli --show-broker-shared-key

Sample Containerlab worker inventory file content:

containerlab/containerlab-worker-1.yaml
service: containerlab