-
Notifications
You must be signed in to change notification settings - Fork 40
/
subintf.cpp
57 lines (42 loc) · 1.07 KB
/
subintf.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
// Copyright (c) 2014 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#include <cassert>
#include "eos/subintf.h"
#include "impl.h"
namespace eos {
class subintf_mgr_impl : public subintf_mgr {
public:
subintf_mgr_impl() {
}
subintf_iter_t subintf_iter() const {
subintf_iter_t * nop = 0;
return *nop; // TODO: No op impl.
}
bool exists(intf_id_t) const {
return false;
}
vlan_id_t vlan_tag(intf_id_t) const {
return 0; // TODO: No-op impl.
}
void vlan_tag_is(intf_id_t, vlan_id_t) {
// TODO: No-op impl.
}
intf_id_t parent_intf(intf_id_t) const {
return intf_id_t(); // TODO: No-op impl.
}
void subintf_is(intf_id_t) {
// TODO: No-op impl.
}
void subintf_is(intf_id_t, vlan_id_t) {
// TODO: No-op impl.
}
void subintf_del(intf_id_t) {
return; // TODO: No-op impl.
}
subintf_t subintf(intf_id_t) const {
subintf_t * nop = 0;
return *nop; // TODO: No op impl.
}
};
DEFINE_STUB_MGR_CTOR(subintf_mgr)
}