SLIM Testing #127
sancyx
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This page outlines the proposed test plan for CSIT of SLIM (Secure Light-weight IoT Messaging) networks. The core idea revolves around defining network topologies via a YAML configuration, deploying SLIM instances using Helm, and leveraging a new Python-based SLIM client for message simulation and metric collection.
1. Basic Idea
The fundamental concept is to enable comprehensive testing of SLIM network configurations by:
2. Key Components
2.1. Topology Definition (YAML File)
A YAML file will serve as the single source of truth for defining the SLIM network topology. This file will specify:
Example of a start topology in
topology.yaml
:2.2. SLIM Instance Deployment
SLIM instances (server nodes) will be deployed using existing Helm chart. The test framework will orchestrate the deployment based on the
servers
section defined in thetopology.yaml
, SLIM configurations will be generated from these definitions.2.3. Python SLIM Client
A new SLIM client will be developed in Python, leveraging existing SLIM bindings. This client has to be configurable to facilitate various testing scenarios:
Thus, we can test p2p and broadcast messaging as well.
3. Test Flow Overview
topology.yaml
file.topology.yaml
and uses Helm to deploy the specified SLIM server instances.clients
section of thetopology.yaml
. They then begin publishing and/or subscribing to messages as per the test scenario.This structured approach ensures repeatable, scalable, and comprehensive testing of SLIM network configurations and functionalities.
Beta Was this translation helpful? Give feedback.
All reactions