naxflex.blogg.se

Www anaconda con downloads
Www anaconda con downloads





www anaconda con downloads

The NxCliParser object returned by this method and its associated methods are documented here. This method returns an NxCliParser object, which can be used to execute the CLI commands that already exist via Python as well as create custom CLI commands. sdk.getCliParser(), where sdk is the SDK instance object returned by the nx_sdk_py.NxSdk.getSdkInst() method.For example, you can view the event history of an application named Transceiver_DOM.py through the show Transceiver_DOM.py nxsdk event-history events and show Transceiver_DOM.py nxsdk event-history errors commands. The NxTrace object returned by this method and its associated methods are documented here. Custom syslogs will appear in the device's syslog (visible via the show logging logfile command) while the events logged to the application's event history are visible via the show nxsdk event-history events or show nxsdk event-history errors commands. This method returns an NxTrace object which can be used to generate custom syslogs, as well as log events and errors to the application's event history. sdk.getTracer(), where sdk is the SDK instance object returned by the nx_sdk_py.NxSdk.getSdkInst() method.This method placed at the end of the sdkThread function allows for the graceful exit of the NX-SDK application. nx_sdk_py.NxSdk._swig_destroy_(sdk) method, where sdk is the SDK instance object returned by the nx_sdk_py.NxSdk.getSdkInst() method explained previously.This method starts the NX-SDK application and allows it to interact with the NX-OS infrastructure. sdk.startEventLoop() method, where sdk is the SDK instance object returned by the nx_sdk_py.NxSdk.getSdkInst() method.Note: Starting from NX-SDK v1.5.0, a third Boolean parameter can be passed into the NxSdk.getSdkInst method, which enables Advanced Exceptions when True and disables Advanced Exceptions when False. If None is returned, then errors occurr at the time of this registration process, and an Error log entry appears in the device's syslog. If an SDK instance object is returned, then the NX-SDK application has successfully registered with the NX-OS infrastructure. nx_sdk_py.NxSdk.getSdkInst(len(sys.argv), sys.argv) either returns an SDK instance object, or returns None.All Python NX-SDK applications require three methods from the nx_sdk_py library to be called: The function does not require any parameters to be passed into it. The sdkThread function initializes, adds functionality to, and starts the NX-SDK application.







Www anaconda con downloads