The following is th...
 
Notifications
Clear all

The following is the internal call method rest_call of the OPSCornection class in the OPS script template. Which of the following descriptions is correct?

1 Posts
1 Users
0 Likes
81 Views
 Chas
(@heddinschas)
Posts: 712
Noble Member
Topic starter
 

The OPS (Open Progranmrability System) function of Huawei network equipment uses the HTTP protocol method to access the management objects of network equipment. To facilitate users to write scripts, Huawei provides Python script templates for the OPS function.

The following is the internal call method rest_call of the OPSCornection class in the OPS script template. Which of the following descriptions is correct?

  • A . The response.status in the rest_call method is the status code
    B. The response.reason in the rest_call method is the reason phrase used to interpret the status code
    C. The parameter method in rest_call (self, method, uri, req_data), the value can be DELETE, GET, SET, CREATE
    D. The values ​​of self.host and self.port in the rest_call method are "localhost".80 respectively

Show Answer Hide Answer

Suggested Answer: C
 
Posted : 09/01/2023 8:32 pm
Topic Tags

Latest Huawei H12-891_V1.0-ENU Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: