-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #YUPTOO-37 - omit nics starts with & associated mac_addrs #29
Fixes #YUPTOO-37 - omit nics starts with & associated mac_addrs #29
Conversation
Hello @kgaikwad Thanks for creating the PR, Modifiers are designed to be independent of each other. One modifier should not import the other. Will request you to shift whole code under single modifier. |
As I am modifying |
Yes, we can move the logic in different utils file which is outside modifier directory. Once issue 30 is fixed we can move the code to new modifier file. |
Moved helper method to different file. Please request to review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! 👍🏻
@kgaikwad what I meant was once we have issue 30 fixed and once we have dependency graph mechanism in place. Then we can create a separate modifier for omitting nics and add its dependency in transform_network_interfaces.py. That way all the code can be in one file + transform_network_interfaces modifier will run after omitting nics modifier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @kgaikwad, Approving and merging it.
No description provided.