No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S600-E V200R013C00 Configuration Guide - Device Management

This document describes the configurations of Device Management, including device status query, hardware management, Stack, SVF, cloud-based management, PoE, OPS, energy-saving management, information center, fault management, NTP.
Rate and give feedback:
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).
Installing a Python Script

Installing a Python Script

Context

Before running a Python script on a device to deploy the OPS function, upload the script to the device and install it.

Procedure

  1. Upload the Python script to the flash root directory on the device.

    For details about how to upload the script, see File Management in S600-E V200R013C00Configuration Guide - Basic Configuration.

  2. Run ops install file file-name [ destination directory ]

    A Python script is installed.

    If destination directory is not specified, the script is installed in the $_user directory.

    If destination directory is specified, the script is installed in the $_user/directory directory.

    If the directory name does not exist, a new directory is created.

    To modify a script that has been installed, run the ops uninstall file command to uninstall the script and run the delete (user view) command to delete the script file. After modifying the script, upload and reinstall the script file.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100066159

Views: 25564

Downloads: 3

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next