Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

[Enhancement] find_by_name() should take object type as parameter #19

Open
reubenur-rahman opened this issue Mar 31, 2015 · 0 comments
Open

Comments

@reubenur-rahman
Copy link

Can we introduce object type as parameter for the find_by_name() ?

Suppose I have a DVS name 'test' and a dv port group with same name 'test' in the same DVS. Then I guess the method will be confused.
networkFolder.find_by_name('test') can return either a DVS or a Dv portgroup ! If we provide the object type then I think we are safe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant