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).
OPS APIs Supported by a Device

OPS APIs Supported by a Device

OPS open Application Programming Interfaces (APIs) are designed based on Representational State Transfer (REST). REST defines a set of architectural rules by which you can design web services that focus on system resources and develop clients using any HTTP-supporting programming language.

OPS provides managed objects for you to manage devices. Managed objects are identified by Uniform Resource Identifiers (URIs), for example /system/systemInfo indicates a system managed object.

NOTE:

To view the information displayed by print statements in OPS scripts, log in to the switch through the serial port.

Table 7-1 shows classification of OPS APIs supported by the device based on the application phase.

The following are used to define simple events: Command Line Event Subscription, Timer Event Subscription, Route Change Event Subscription, Log Event Subscription, Trap Event Subscription, LLDP Neighbor Change Event Subscription, Stack Status Change Event Subscription, and Interface Statistics Collection Event Subscription. Under most circumstances, only a simple event can be defined in a Python script. To define multiple simple events in a Python script, combine simple events through the Multi-Condition Combination API to form a complex event. The Combined Event Trigger API can be used together with the Multi-Condition Combination API to define matching conditions for a complex event.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100066159

Views: 25754

Downloads: 3

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