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

Static Public Member Functions | |
| static bool | parseInterface (const struct lyd_node *rootNode, CncNode_t &node) |
| Parses the interface information from the given libyang node and populates the provided CncNode_t structure. | |
Parses interface information from libyang XML nodes and populates CncNode_t structures. This parser is responsible for extracting interface-related data, including GCL configurations, from the XML data provided by the NETCONF/YANG models. It maps the relevant XML nodes to the corresponding fields in the CncNode_t and ietfInterface_t structures defined in CncTypes.h.
|
static |
Parses the interface information from the given libyang node and populates the provided CncNode_t structure.
| rootNode | The libyang node containing the interface information to be parsed. |
| node | The CncNode_t structure to be populated with the parsed interface information |