Replies: 2 comments 3 replies
-
Any reason this wouldn't work? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Maybe you should ask yourself "why did the node_pre_transform report an error". Before the data validation routines are called you have to assume the data is potentially corrupt (I told you that when discussing the LAG module). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
netlab/netsim/modules/__init__.py
Line 116 in 7fb94e8
The comment acknowledges that this is late in the process. I encountered this when adding
stp
support for OS10; thenode_pre_transform
hook gets called and reports an error, while the "real" error is that the STP module isn't (yet) supported by the device type to begin withCan we do this check earlier? After expanding group data but before calling module hooks for the device would be better imho - I'd like to be able to assume module support has been validated for the device being operated on
Beta Was this translation helpful? Give feedback.
All reactions