<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.6.0">
  <bpmn:process id="DoUnderlayVpnOperation" name="DoUnderlayVpnOperation" isExecutable="true">
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>SequenceFlow_0trm4dk</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:exclusiveGateway id="ExclusiveGateway_0vvnd7x" name="is response ok?" default="SequenceFlow_083crve">
      <bpmn:incoming>SequenceFlow_1vncx6p</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1amfirn</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_083crve</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:endEvent id="EndEvent_14p1b2x">
      <bpmn:incoming>SequenceFlow_10j9lbs</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:endEvent id="EndEvent_0urwhzh">
      <bpmn:incoming>SequenceFlow_083crve</bpmn:incoming>
      <bpmn:incoming>SequenceFlow_0al8gdl</bpmn:incoming>
      <bpmn:errorEventDefinition errorRef="Error_1ajtcbe" />
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_0trm4dk" sourceRef="StartEvent_1" targetRef="Task_0p43ddw" />
    <bpmn:sequenceFlow id="SequenceFlow_1amfirn" name="ok" sourceRef="ExclusiveGateway_0vvnd7x" targetRef="ServiceTask_1uy6bdu">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("SendSdncResult")=='ok'}]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="SequenceFlow_083crve" name="error" sourceRef="ExclusiveGateway_0vvnd7x" targetRef="EndEvent_0urwhzh" />
    <bpmn:serviceTask id="Task_0brg0a4" name="call sdnc network operation" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncNetworkTopologyOperationTask">
      <bpmn:incoming>SequenceFlow_0h35z1p</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_07bp14s</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="Task_0p43ddw" name="call SdncUnderlayVpnPreprocessTask" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncUnderlayVpnPreprocessTask">
      <bpmn:incoming>SequenceFlow_0trm4dk</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_199ig0b</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:exclusiveGateway id="ExclusiveGateway_0qsgg4i" name="Is create?" default="SequenceFlow_0h35z1p">
      <bpmn:incoming>SequenceFlow_199ig0b</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1rj6k5t</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_0h35z1p</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="SequenceFlow_199ig0b" sourceRef="Task_0p43ddw" targetRef="ExclusiveGateway_0qsgg4i" />
    <bpmn:serviceTask id="Task_0rfvkh0" name="call SdncServiceTopologyOperationTask" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncServiceTopologyOperationTask">
      <bpmn:incoming>SequenceFlow_1rj6k5t</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1vncx6p</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_1rj6k5t" name="yes" sourceRef="ExclusiveGateway_0qsgg4i" targetRef="Task_0rfvkh0">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("resourceOperType")=='create'}]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="SequenceFlow_0h35z1p" name="no" sourceRef="ExclusiveGateway_0qsgg4i" targetRef="Task_0brg0a4" />
    <bpmn:sequenceFlow id="SequenceFlow_1vncx6p" sourceRef="Task_0rfvkh0" targetRef="ExclusiveGateway_0vvnd7x" />
    <bpmn:serviceTask id="ServiceTask_1uy6bdu" name="call sdnc network operation" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncNetworkTopologyOperationTask">
      <bpmn:incoming>SequenceFlow_1amfirn</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0bsmh51</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_0bsmh51" sourceRef="ServiceTask_1uy6bdu" targetRef="ExclusiveGateway_09xxhiu" />
    <bpmn:exclusiveGateway id="ExclusiveGateway_09xxhiu" name="is response ok?" default="SequenceFlow_0al8gdl">
      <bpmn:incoming>SequenceFlow_0bsmh51</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_10j9lbs</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_0al8gdl</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="SequenceFlow_10j9lbs" name="ok" sourceRef="ExclusiveGateway_09xxhiu" targetRef="EndEvent_14p1b2x">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("SendSdncResult")=='ok'}]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:exclusiveGateway id="ExclusiveGateway_1opobct" name="is response ok?" default="SequenceFlow_19glon5">
      <bpmn:incoming>SequenceFlow_07bp14s</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1oz5grh</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_19glon5</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:serviceTask id="ServiceTask_0dixxe6" name="call SdncServiceTopologyOperationTask" camunda:class="org.openecomp.mso.bpmn.infrastructure.workflow.serviceTask.SdncServiceTopologyOperationTask">
      <bpmn:incoming>SequenceFlow_1oz5grh</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_06e7qr6</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:exclusiveGateway id="ExclusiveGateway_1x7erbs" name="is response ok?" default="SequenceFlow_1q83qn9">
      <bpmn:incoming>SequenceFlow_06e7qr6</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0koi1ia</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_1q83qn9</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:endEvent id="EndEvent_1tt5u77">
      <bpmn:incoming>SequenceFlow_0koi1ia</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:endEvent id="EndEvent_0ggbe9w">
      <bpmn:incoming>SequenceFlow_19glon5</bpmn:incoming>
      <bpmn:incoming>SequenceFlow_1q83qn9</bpmn:incoming>
      <bpmn:errorEventDefinition errorRef="Error_1ajtcbe" />
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_0al8gdl" name="error" sourceRef="ExclusiveGateway_09xxhiu" targetRef="EndEvent_0urwhzh" />
    <bpmn:sequenceFlow id="SequenceFlow_07bp14s" sourceRef="Task_0brg0a4" targetRef="ExclusiveGateway_1opobct" />
    <bpmn:sequenceFlow id="SequenceFlow_1oz5grh" name="ok" sourceRef="ExclusiveGateway_1opobct" targetRef="ServiceTask_0dixxe6">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("SendSdncResult")=='ok'}]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="SequenceFlow_06e7qr6" sourceRef="ServiceTask_0dixxe6" targetRef="ExclusiveGateway_1x7erbs" />
    <bpmn:sequenceFlow id="SequenceFlow_0koi1ia" name="ok" sourceRef="ExclusiveGateway_1x7erbs" targetRef="EndEvent_1tt5u77">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("SendSdncResult")=='ok'}]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="SequenceFlow_19glon5" name="error" sourceRef="ExclusiveGateway_1opobct" targetRef="EndEvent_0ggbe9w" />
    <bpmn:sequenceFlow id="SequenceFlow_1q83qn9" name="error" sourceRef="ExclusiveGateway_1x7erbs" targetRef="EndEvent_0ggbe9w" />
  </bpmn:process>
  <bpmn:error id="Error_1ajtcbe" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoUnderlayVpnOperation">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="-38" y="193" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="-65" y="229" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_0vvnd7x_di" bpmnElement="ExclusiveGateway_0vvnd7x" isMarkerVisible="true">
        <dc:Bounds x="593" y="26" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="578" y="80" width="80" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_14p1b2x_di" bpmnElement="EndEvent_14p1b2x">
        <dc:Bounds x="1058" y="33" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1031" y="73" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_0d0rf7s_di" bpmnElement="EndEvent_0urwhzh">
        <dc:Bounds x="1058" y="-150" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1031" y="-110" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0trm4dk_di" bpmnElement="SequenceFlow_0trm4dk">
        <di:waypoint xsi:type="dc:Point" x="-2" y="211" />
        <di:waypoint xsi:type="dc:Point" x="100" y="211" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="4" y="190" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1amfirn_di" bpmnElement="SequenceFlow_1amfirn">
        <di:waypoint xsi:type="dc:Point" x="643" y="51" />
        <di:waypoint xsi:type="dc:Point" x="743" y="51" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="686.5" y="30.000000000000014" width="13" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_083crve_di" bpmnElement="SequenceFlow_083crve">
        <di:waypoint xsi:type="dc:Point" x="618" y="26" />
        <di:waypoint xsi:type="dc:Point" x="618" y="-132" />
        <di:waypoint xsi:type="dc:Point" x="1058" y="-132" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="628.1578947368421" y="-151.89147286821705" width="26" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_035xqek_di" bpmnElement="Task_0brg0a4">
        <dc:Bounds x="392" y="379" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_0bjsvlv_di" bpmnElement="Task_0p43ddw">
        <dc:Bounds x="100" y="171" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_0qsgg4i_di" bpmnElement="ExclusiveGateway_0qsgg4i" isMarkerVisible="true">
        <dc:Bounds x="247.99837398373984" y="186" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="250" y="240" width="51" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_199ig0b_di" bpmnElement="SequenceFlow_199ig0b">
        <di:waypoint xsi:type="dc:Point" x="200" y="211" />
        <di:waypoint xsi:type="dc:Point" x="248" y="211" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="224" y="190" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_1omqxl9_di" bpmnElement="Task_0rfvkh0">
        <dc:Bounds x="379" y="11" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1rj6k5t_di" bpmnElement="SequenceFlow_1rj6k5t">
        <di:waypoint xsi:type="dc:Point" x="273" y="186" />
        <di:waypoint xsi:type="dc:Point" x="273" y="51" />
        <di:waypoint xsi:type="dc:Point" x="379" y="51" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="279" y="112.5" width="19" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0h35z1p_di" bpmnElement="SequenceFlow_0h35z1p">
        <di:waypoint xsi:type="dc:Point" x="273" y="236" />
        <di:waypoint xsi:type="dc:Point" x="273" y="419" />
        <di:waypoint xsi:type="dc:Point" x="392" y="419" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="282" y="322" width="13" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1vncx6p_di" bpmnElement="SequenceFlow_1vncx6p">
        <di:waypoint xsi:type="dc:Point" x="479" y="51" />
        <di:waypoint xsi:type="dc:Point" x="593" y="51" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="536" y="30" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_1uy6bdu_di" bpmnElement="ServiceTask_1uy6bdu">
        <dc:Bounds x="743" y="11" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0bsmh51_di" bpmnElement="SequenceFlow_0bsmh51">
        <di:waypoint xsi:type="dc:Point" x="843" y="51" />
        <di:waypoint xsi:type="dc:Point" x="942" y="51" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="892.5" y="30" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ExclusiveGateway_09xxhiu_di" bpmnElement="ExclusiveGateway_09xxhiu" isMarkerVisible="true">
        <dc:Bounds x="942" y="26" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="927" y="80" width="80" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_10j9lbs_di" bpmnElement="SequenceFlow_10j9lbs">
        <di:waypoint xsi:type="dc:Point" x="992" y="51" />
        <di:waypoint xsi:type="dc:Point" x="1058" y="51" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1019" y="30" width="13" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ExclusiveGateway_1opobct_di" bpmnElement="ExclusiveGateway_1opobct" isMarkerVisible="true">
        <dc:Bounds x="580" y="394" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="565" y="448" width="80" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_0dixxe6_di" bpmnElement="ServiceTask_0dixxe6">
        <dc:Bounds x="730" y="379" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_1x7erbs_di" bpmnElement="ExclusiveGateway_1x7erbs" isMarkerVisible="true">
        <dc:Bounds x="951" y="394" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="936" y="448" width="80" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_1tt5u77_di" bpmnElement="EndEvent_1tt5u77">
        <dc:Bounds x="1083" y="401" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1056" y="441" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_0ggbe9w_di" bpmnElement="EndEvent_0ggbe9w">
        <dc:Bounds x="1093" y="585" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1066" y="625" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0al8gdl_di" bpmnElement="SequenceFlow_0al8gdl">
        <di:waypoint xsi:type="dc:Point" x="967" y="26" />
        <di:waypoint xsi:type="dc:Point" x="967" y="-132" />
        <di:waypoint xsi:type="dc:Point" x="1058" y="-132" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="969" y="-59" width="26" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_07bp14s_di" bpmnElement="SequenceFlow_07bp14s">
        <di:waypoint xsi:type="dc:Point" x="492" y="419" />
        <di:waypoint xsi:type="dc:Point" x="580" y="419" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="536" y="398" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1oz5grh_di" bpmnElement="SequenceFlow_1oz5grh">
        <di:waypoint xsi:type="dc:Point" x="630" y="419" />
        <di:waypoint xsi:type="dc:Point" x="730" y="419" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="674" y="398" width="13" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_06e7qr6_di" bpmnElement="SequenceFlow_06e7qr6">
        <di:waypoint xsi:type="dc:Point" x="830" y="419" />
        <di:waypoint xsi:type="dc:Point" x="951" y="419" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="890.5" y="398" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0koi1ia_di" bpmnElement="SequenceFlow_0koi1ia">
        <di:waypoint xsi:type="dc:Point" x="1001" y="419" />
        <di:waypoint xsi:type="dc:Point" x="1083" y="419" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1036" y="398" width="13" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_19glon5_di" bpmnElement="SequenceFlow_19glon5">
        <di:waypoint xsi:type="dc:Point" x="605" y="444" />
        <di:waypoint xsi:type="dc:Point" x="605" y="603" />
        <di:waypoint xsi:type="dc:Point" x="1093" y="603" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="608" y="518" width="26" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1q83qn9_di" bpmnElement="SequenceFlow_1q83qn9">
        <di:waypoint xsi:type="dc:Point" x="976" y="444" />
        <di:waypoint xsi:type="dc:Point" x="976" y="603" />
        <di:waypoint xsi:type="dc:Point" x="1093" y="603" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="978" y="518" width="26" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>