forked from sony/nmos-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlldp_manager.h
More file actions
32 lines (25 loc) · 731 Bytes
/
lldp_manager.h
File metadata and controls
32 lines (25 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef NMOS_LLDP_MANAGER_H
#define NMOS_LLDP_MANAGER_H
#include <map>
#include "cpprest/details/basic_types.h"
namespace lldp
{
class lldp_manager;
}
namespace slog
{
class base_gate;
}
namespace nmos
{
struct model;
struct node_interface;
namespace experimental
{
// make an LLDP manager configured to receive LLDP frames on the specified interfaces
// and update the node interfaces JSON data with attached_network_device details
// and optionally, transmit LLDP frames for these interfaces
lldp::lldp_manager make_lldp_manager(nmos::model& model, const std::map<utility::string_t, node_interface>& interfaces, bool transmit, slog::base_gate& gate);
}
}
#endif