Beispiel #1
0
  private List<Flow> createBootstrapFlows(HypervisorType hvType) {
    Boolean unitTestOn = CoreGlobalProperty.UNIT_TEST_ON;
    List<Flow> flows = new ArrayList<Flow>();

    flows.add(apvmf.createBootstrapFlow(hvType));
    if (!unitTestOn) {
      flows.add(new ApplianceVmConnectFlow());
      flows.add(new ApplianceVmDeployAgentFlow());
    }
    flows.add(new ApplianceVmSetFirewallFlow());

    return flows;
  }