-
Notifications
You must be signed in to change notification settings - Fork 40
/
bgp_path.cpp
60 lines (42 loc) · 1.58 KB
/
bgp_path.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
// Copyright (c) 2019 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#include "eos/bgp_path.h"
#include "impl.h"
namespace eos {
class bgp_path_mgr_impl : public bgp_path_mgr {
public:
bgp_path_iter_t ipv4_unicast_path_iter(bgp_path_options_t & options) const {
bgp_path_iter_t *nop = 0;
return *nop;
}
bgp_path_t ipv4_unicast_path(bgp_path_key_t const & path_key,
bgp_path_options_t & options) {
return bgp_path_t();
}
bool ipv4_unicast_bgp_convergence() {
return false;
}
bgp_path_iter_t ipv6_unicast_path_iter(bgp_path_options_t & options) const {
bgp_path_iter_t *nop = 0;
return *nop;
}
bgp_path_t ipv6_unicast_path(bgp_path_key_t const & path_key,
bgp_path_options_t & options) {
return bgp_path_t();
}
bool ipv6_unicast_bgp_convergence() {
return false;
}
};
DEFINE_STUB_MGR_CTOR(bgp_path_mgr)
bgp_path_handler::bgp_path_handler(bgp_path_mgr * mgr) :
base_handler<bgp_path_mgr, bgp_path_handler>(mgr) {
}
void bgp_path_handler::watch_all_paths(bool) {}
void bgp_path_handler::watch_ipv4_unicast_paths(bool) {}
void bgp_path_handler::watch_ipv6_unicast_paths(bool) {}
void bgp_path_handler::on_ipv4_unicast_path(bgp_path_key_t const & path_key) {}
void bgp_path_handler::on_ipv4_unicast_bgp_converged(bool converged) {}
void bgp_path_handler::on_ipv6_unicast_path(bgp_path_key_t const & path_key) {}
void bgp_path_handler::on_ipv6_unicast_bgp_converged(bool converged) {}
} // namespace eos