H12-891_V1.0 · Question #442
The OPS (Open Programmability System) function of Huawei network equipment uses the HTTP protocol to access the management objects of network equipment. To facilitate users to write scripts, Huawei…
The correct answer is A. #Modify device resource operation def set (self, uri, req data): ret = self. rest_ call ("POST, uri, req D. #Create device resource operation def create (self, uri, req data): ret = self. rest_ call ("PUT", uri. See the full explanation below for the reasoning.
Question
The OPS (Open Programmability System) function of Huawei network equipment uses the HTTP protocol to access the management objects of network equipment. To facilitate users to write scripts, Huawei provides Python script templates for OPS functions. Regarding the methods of the OPS Connection class in the OPS script template, which of the following items are wrongly described? (Multiple choice)
Options
- A#Modify device resource operation def set (self, uri, req data): ret = self. rest_ call ("POST, uri, req
- B#Query device resource operation def get (self, uri, req data = None): ret = self. rest_ call ("GET",
- C#Delete device resource operation def delete (self, uri, req data): ret = self. rest_ call ("DELETE",
- D#Create device resource operation def create (self, uri, req data): ret = self. rest_ call ("PUT", uri,
How the community answered
(28 responses)- A79% (22)
- B14% (4)
- C7% (2)
Topics
Community Discussion
No community discussion yet for this question.