|
Software TSN Switch
A software switch to connect VMs and Containers to a TSN network
|
Parses PTP data from libyang XML nodes and populates CncNode_t structures. This parser is responsible for extracting PTP-related data from the XML data provided by the NETCONF/YANG models. It maps the relevant XML nodes to the corresponding fields in the CncNode_t structure defined in CncTypes.h. More...
#include <PtpParser.h>

Static Public Member Functions | |
| static bool | parseOperationalPtpData (const struct lyd_node *root, CncNode_t &node) |
| Parses PTP data from the given XML node and populates the ptpAllData field of the provided CncNode_t. | |
Parses PTP data from libyang XML nodes and populates CncNode_t structures. This parser is responsible for extracting PTP-related data from the XML data provided by the NETCONF/YANG models. It maps the relevant XML nodes to the corresponding fields in the CncNode_t structure defined in CncTypes.h.
|
static |
Parses PTP data from the given XML node and populates the ptpAllData field of the provided CncNode_t.
| root | The root XML node containing PTP data (expected to be the result of a Netconf <get> operation). |
| node | The CncNode_t instance to populate with the parsed PTP data. |