No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
S2720, S5700, and S6700 V200R019C10 Configuration Guide - Device Management
This document describes the configurations of Device Management, including device status query, hardware management, Stack, SVF, cloud-based management, PoE, monitoring interface, OPS, energy-saving management, information center, fault management, NTP, synchronous ethernet, PTP.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Python Script Assistant
Configuring a Python Script Assistant
Context
You can configure a Python script assistant and
register the subscription event in the script. When the subscription
event is matched, the device automatically executes the action defined
in the Python script.
Procedure
Run system-view
The system view is displayed.
Run ops
The OPS view is displayed.
Run script-assistant pythonscript-name
The Python script assistant is configured.
By default, no Python script assistant is configured.
A maximum of 100 Python script assistants can be configured on
the device.