Software TSN Switch
A software switch to connect VMs and Containers to a TSN network
Loading...
Searching...
No Matches
LldpParser.h
Go to the documentation of this file.
1#pragma once
2#include <string>
3#include <vector>
4
5#include "Topology.h"
6
7struct lyd_node; // Forward declaration for libyang data node
8
9namespace cnc {
18 public:
25 static bool parseLldpData(const struct lyd_node* rootNode, CncNode_t& node);
26};
27}; // namespace cnc
Parses LLDP operational XML data from NETCONF and maps it to internal CNC structures.
Definition LldpParser.h:17
static bool parseLldpData(const struct lyd_node *rootNode, CncNode_t &node)
Parses LLDP data from the provided XML string and populates the given CncNode_t structure.
Definition LldpParser.cpp:36
Definition GclParser.h:10
This struct is used on the CNC side to represent one host with all its interfaces as well as its PTP ...
Definition CncTypes.h:512