Replies: 2 comments
-
I guess it does: netlab/netsim/modules/__init__.py Line 103 in f0d3970 |
Beta Was this translation helpful? Give feedback.
-
The sequence of hooks called is (hopefully relatively accurately) described here: https://netlab.tools/dev/transform/#global-data-transformation (and subsequent sections). See also https://netlab.tools/dev/transform/#node-level-module-hooks and https://netlab.tools/dev/transform/#link-level-module-hooks. Those hooks were added to avoid having a "loop over all nodes" or "loop over all links" code all over the place when it's not needed (= when you don't need the global context). Several modules use the |
Beta Was this translation helpful? Give feedback.
-
See
netlab/netsim/modules/gateway.py
Line 111 in f0d3970
Everywhere else (vlan, vrf, dhcp) it's called "link_pre_transform", a 'grep' shows no obvious invocations
Beta Was this translation helpful? Give feedback.
All reactions