QuestionQ67

Verified网络自动化

Huawei Open Programmability System (OPS) provides open and programmable capabilities for network devices, enabling users to perform secondary development. To make script development easier, Huawei OPS supplies a Python script template. Which of the following statements about the Python script template are correct?

Choose two
Explanation

Huawei OPS Python scripts invoke RESTful APIs through OPSConnection, whose connection-handling implementation can be reused unchanged. The managed object’s URI and XML request body must match the RESTful API reference. For the documented in-device OPS script template, the host is localhost; it is not the managed device’s management-interface IP address. The operation mapping is create to POST, delete to DELETE, set to PUT, and get to GET. Huawei OPS Scripting and Sample Template

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!