forked from aristanetworks/EosSdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nexthop_group.cpp
71 lines (54 loc) · 1.61 KB
/
nexthop_group.cpp
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Copyright (c) 2014 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#include "eos/nexthop_group.h"
#include "impl.h"
namespace eos {
class nexthop_group_mgr_impl : public nexthop_group_mgr {
public:
nexthop_group_mgr_impl() {
}
void resync_init() {
// TODO: No op impl
}
void resync_complete() {
// TODO: No op impl
}
nexthop_group_iter_t nexthop_group_iter() const {
nexthop_group_iter_t * nop = 0;
return *nop; // TODO: No op impl.
}
nexthop_group_t nexthop_group(std::string const & nexthop_group_name) const {
return nexthop_group_t();
}
bool exists(std::string const & nexthop_group_name) const {
return false;
}
bool active(std::string const & nexthop_group_name) const {
return true;
}
void nexthop_group_set(nexthop_group_t const &group) {
// TODO: No op impl.
}
void nexthop_group_del(std::string const & group_name) {
// TODO: No op impl.
}
};
DEFINE_STUB_MGR_CTOR(nexthop_group_mgr);
nexthop_group_handler::nexthop_group_handler(nexthop_group_mgr * mgr) :
base_handler<nexthop_group_mgr, nexthop_group_handler>(mgr) {
}
void
nexthop_group_handler::watch_all_nexthop_groups(bool interest) {
// TODO: No op impl.
}
void
nexthop_group_handler::watch_nexthop_group(std::string const & group_name,
bool interest) {
// TODO: No op impl.
}
void
nexthop_group_handler::on_nexthop_group_active(std::string const & group_name,
bool active) {
// TODO: No op impl.
}
}