< Home

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

  1. Run system-view

    The system view is displayed.

  2. Run ops

    The OPS view is displayed.

  3. Run script-assistant python script-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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >