Commit 28de6c4
committed
Convert built-in plugins to module names
The built-in plugins are now structured as Python modules (for example,
bgp.session plugin is in netsim/extra/bgp/session directory). That
change required:
* Additional plugin loading code (if the "traditional" plugin cannot
be found, we try to load a module). As the 'package:extra' element
has been removed from the search path, this should not impact the
correct operation.
* The device configuration templates are no longer in 'a.b' directory
under 'extra' directory but in 'a/b' one. Extra elements with the
'custom_slash_config' variable were added to custom template file
names to cope with that
* Removal of additional mypy checking of 'plugin.py' files (the were
all renamed to '__init__.py')
Breaking change:
* The 'proxy-arp' plugin has been renamed to 'proxy_arp'.1 parent de5e089 commit 28de6c4
108 files changed
Lines changed: 94 additions & 37 deletions
File tree
- .github/workflows
- netsim
- augment
- defaults
- extra
- bgp
- domain
- originate
- policy
- session
- bonding
- check/config
- ebgp
- multihop
- utils
- evpn/multihoming
- fabric
- files
- firewall/zonebased
- kind
- mlag/vtep
- multiserver
- node/clone
- ospf/areas
- proxy_arp
- test
- fixup
- vrf_check
- tunnel/gre
- vrrp/version
- utils
- tests
- topology/input
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 37 | | |
41 | 38 | | |
42 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 19 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
41 | 42 | | |
42 | 43 | | |
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 | + | |
44 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
45 | 78 | | |
46 | 79 | | |
47 | 80 | | |
| |||
88 | 121 | | |
89 | 122 | | |
90 | 123 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
95 | 127 | | |
96 | 128 | | |
97 | 129 | | |
98 | 130 | | |
99 | 131 | | |
100 | 132 | | |
101 | | - | |
102 | | - | |
103 | | - | |
| 133 | + | |
104 | 134 | | |
105 | 135 | | |
106 | 136 | | |
107 | 137 | | |
108 | 138 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
112 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
113 | 178 | | |
114 | 179 | | |
115 | 180 | | |
116 | 181 | | |
117 | 182 | | |
118 | | - | |
| 183 | + | |
119 | 184 | | |
120 | 185 | | |
121 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments