Patent ID: 11861428
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 10:
11. A service orchestration apparatus of a physical machine, comprising:
a processor; and
a memory, storing a computer program that is executed by the processor, and upon execution by the processor, is configured to cause the processor to implement operations comprising:
creating a physical machine resource inheriting all attributes of a cloud host, and modifying the physical machine resource according to features of a target physical machine to obtain a target physical machine resource;
configuring a bottom driver of Ironic according to the features of the target physical machine; and
invoking Ironic by nova to perform service orchestration for the target physical machine by utilizing the target physical machine resource when Ironic operates;
the operation of creating the physical machine resource inheriting all attributes of the cloud host, and modifying the physical machine resource according to the features of the target physical machine to obtain the target physical machine resource comprises:
creating the physical machine resource inheriting all attributes of the cloud host; and
modifying the physical machine resource according to the features of the target physical machine, and rewriting a handle create method, a handle suspend and handle resume method and a check suspend complete and check resume complete method to obtain the target physical machine resource;
wherein modifying the physical machine resource according to the features of the target physical machine, and rewriting a handle create method, a handle suspend and handle resume method and a check suspend complete and check resume complete method to obtain the target physical machine resource comprises:
rewriting the handle create method, curing a parameter of config driver is true and injecting a file and a script by the config driver to complete initialization operations;
rewriting the handle suspend and handle resume method, so that the handle suspend and handle resume method returns a constant character string, and an operation is not performed; and
rewriting the check suspend complete and check resume complete method, so that the return value of the check suspend complete and check resume complete method is true.