Closed tiewei closed 6 years ago
Can you add unit test?
UT will be followed
test case added
build PR
build PR
build PR
build PR
build PR
build PR
build PR
build PR
build PR
build PR
@dseevr @kahou82 @unclejack @chrisplo please let me know if it meets the comments
All my comments have been addressed, will defer to the reset of the comments
build PR
build PR
build PR
build PR
build PR
build PR
Currently netplugin is trying to init from default settings if global setting is not ready or wrong, and when the settings don't match it will re-init netplugin. This is very easy to go wrong when there are resources created before global settings are ready. This commit makes netplugin wait until the global settings ready, and initiate itself according to it. If the global settings are mis-match, it will return error.
Signed-off-by: Wei Tie wtie@cisco.com