CiscoUcs / ucsmsdk

Python SDK for Cisco UCSM
Other
81 stars 60 forks source link

Reducing cyclomatic complexity of ucssession #78

Closed vvb closed 8 years ago

vvb commented 8 years ago

(1) Reducing cyclomatic complexity of ucssession - __create_uri method (2) adding testcases for it (3) adhering to 80 char limit

techyragu commented 8 years ago

Now UcsSession will not have secure and port attributes.

vvb commented 8 years ago

@ragupta-git I don't know why we were saving them? I do not see them getting used. Do you know?

techyragu commented 8 years ago

@vvb I am not using it as such. But thought of keeping all in handle. If I see handle object I will come to know which port and if connection is secure or not. Even while freezing the handle these properties will be available.

vvb commented 8 years ago

@ragupta-git self.__uri has all that info.. let us add it when we really use it.