CiscoUcs / ucsmsdk

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

How to listen to all events? #145

Closed muzixing closed 7 years ago

muzixing commented 7 years ago

If I would like to listen to all events provided by UCSM, how can I specify the arguments of add, I think if you can provide a method to support to listen to all events, that will be very helpful. Thanks!

muzixing commented 7 years ago

it looks like this function need to be done in the future. watch_all_filter

        def watch_all_filter(mce):
            """
            Callback method to work on all events.
            """
            return True