Parameters: | session ref session_id | Reference to a valid session |
| PIF ref transport_PIF | PIF which receives the tagged traffic |
| network ref network | Network to receive the tunnelled traffic |
| enum tunnel_protocol protocol | Protocol used for the tunnel (GRE or VxLAN) |
Minimum role: | pool-operator |
Result: | The reference of the created tunnel object |
Errors: | OPENVSWITCH_NOT_ACTIVE | This operation needs the OpenVSwitch networking backend to be enabled on all hosts in the pool. |
| TRANSPORT_PIF_NOT_CONFIGURED | The tunnel transport PIF has no IP configuration set. |
| IS_TUNNEL_ACCESS_PIF | Cannot create a VLAN or tunnel on top of a tunnel access PIF - use the underlying transport PIF instead. |
Published in: | XenServer 5.6 FP1 (cowley) | Create a tunnel |