Repository navigation
Replies: 2 comments
|
I guess it does: netlab/netsim/modules/__init__.py Line 103 in f0d3970 |
0 replies
|
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 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions