-
Notifications
You must be signed in to change notification settings - Fork 237
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
Add ability to add groups to Inventory Element & Hosts at runtime. #590
Conversation
Merge Feature/dynamic group to allow assignment of InventoryElement to Group at Run Time
Excellent PR, a few things have change in nornir3 making some of the comments in the issue obsolete (sorry about that) but I think the |
…r into feature/dynamic_group
Feature/dynamic group
:param group: Group object to remove | ||
:return: None | ||
""" | ||
super().remove(group) |
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.
I think this means the method isn't really necessary as we get the same behaviour without it, right? Or am I missing something?
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.
Yeah don't see any reason it needs to stay there.
apologies this is taking so long... |
Closed in favor of #624 Thanks! |
Update inventory to allow for the addition of groups to an Inventory Element at run time.
Added two methods to the InventoryElement: add() & remove()
Added two methods to Host: add_to_group() and remove_from_group()
Closes #430