Create a new VIF instance, and return its handle.
| Return value | ||
| type | description | |
| VIF | reference to the newly created object | |
| Parameters | ||
| name | type | description |
| session_id | session | valid session reference |
| device | string | order in which VIF backends are created by xapi |
| network | network | virtual network to which this vif is connected |
| VM | VM | virtual machine to which this vif is connected |
| MAC | string | ethernet MAC address of virtual interface, as exposed to guest |
| MTU | int | MTU in octets |
| other_config | Map[string,string] | additional configuration |
| qos_algorithm_type | string | QoS algorithm to use |
| qos_algorithm_params | Map[string,string] | parameters for chosen QoS algorithm |
| Errors | ||
| name | arguments | description |
- Message has both a synchronous and asynchronous version
- This is an implicit message, derived from its class