While running the smoke tests in test_privategw_acl.py its observed, that due to bug in the test suite (
CLOUDSTACK-9511), same VLAN ends being used across four test cases. createPrivateGateway API which creates a VLAN network on the XenServer, skips creating the network when it exists on the XenServer hosts. But PIF never gets attached to the bridge, hence traffic from private gateway never leaves the host.
Private gateway tests consistently failed in smoke tests on the XenServer, as you can see in https://github.com/apache/cloudstack/pull/1692