add start and stop VM functions
This commit is contained in:
@ -158,6 +158,20 @@ public:
|
||||
*/
|
||||
int read_basic_env();
|
||||
|
||||
/**
|
||||
* @brief start_vm Start virtual machine
|
||||
* @param node Node number
|
||||
* @return 0 in case of success
|
||||
*/
|
||||
int start_vm(int node);
|
||||
|
||||
/**
|
||||
* @brief stop_vm Stop virtual machine
|
||||
* @param node Node number
|
||||
* @return 0 in case of success
|
||||
*/
|
||||
int stop_vm(int node);
|
||||
|
||||
private:
|
||||
int check_node_ssh(int node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user