|
Software TSN Switch
A software switch to connect VMs and Containers to a TSN network
|
Imports CNC topology and inventory data from JSON sources. More...
#include <JsonImporter.h>

Static Public Member Functions | |
| static bool | importFromFile (const std::string &filename, Topology &topology) |
| Imports CNC node configurations from a JSON file. | |
| static InventoryMap | importInventory (const std::string &filename) |
| Imports device inventory (credentials) from a JSON file. | |
Imports CNC topology and inventory data from JSON sources.
This utility class provides static import routines for reading node/interface configuration into Topology objects and for loading device access credentials into an InventoryMap. It is intended as the JSON ingestion boundary between external configuration files and internal CNC data models.
|
static |
Imports CNC node configurations from a JSON file.
| filename | The path to the JSON file. |
|
static |
Imports device inventory (credentials) from a JSON file.
| filename | The path to the inventory JSON file. |