pem.virtuozzo.registerHWNode

This method is supported by Operations starting from version 2.7

This method allows to register VPS Hardware Node in Operations.

The method has the following input parameters:

Name

Type

Short Description

node

struct

 

[sub_id]

int

The ID of Subscription which will be used for VPS Hardware Node registration. Provider Account's Subscription with ID = 1 is used by default.

rt_id

int

The ID of Resource Type which will be used for VPS Hardware Node registration. This Resource Type should be based on the VPS Hardware Nodes Resource Class.

[pool_id]

int

Since Operations 6.0 this parameter is not used anymore.

ip_address

string

Service VPS IP Address.

passwd

string

vzagent0 user's password.

The method has the following output parameters:

Name

Type

Short Description

host_id

int

The host ID of registered VPS Hardware Node.