NSX|V: retry on failed virtual wire create

In the event that a virtual wire creation fails then we will do
a retry. This may be due to the fact that the VC is busy.

Change-Id: Ib5af704deac86dfe3414bdb949c534ef8e8ed071
This commit is contained in:
Gary Kotton 2016-08-19 05:46:21 -07:00 committed by garyk
parent 4be367da5d
commit 326b8ade8a

View File

@ -429,6 +429,7 @@ class Vcns(object):
uri = self._build_uri_path(edge_id, IPSEC_VPN_SERVICE)
return self.do_request(HTTP_GET, uri)
@retry_upon_exception(exceptions.RequestBad)
def create_virtual_wire(self, vdn_scope_id, request):
"""Creates a VXLAN virtual wire