Examples of IpsecForPort


Examples of org.platformlayer.ops.vpn.IpsecForPort

      endpoint.parentItem = model.getKey();

      vm.addChild(endpoint);

      {
        IpsecForPort ipsecForPort = vm.addChild(IpsecForPort.class);
        ipsecForPort.port = systemPort;
      }
    }

    vm.hostPolicy.allowRunInContainer = true;

    // TODO: This needs to be configurable...
    vm.minimumMemoryMb = 2048;

    addChild(vm);

    {
      ZookeeperInstall install = vm.addChild(ZookeeperInstall.class);
    }

    {
      ZookeeperInstance service = vm.addChild(ZookeeperInstance.class);
    }

    {
      PublicEndpoint endpoint = vm.addChild(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = port;
      endpoint.backendPort = port;
      endpoint.dnsName = dnsName;

      // We expect this to be used by IPv6 capable client
      endpoint.transport = Transport.Ipv6;

      endpoint.tagItem = model.getKey();
      endpoint.parentItem = model.getKey();

      {
        IpsecForPort ipsecForPort = vm.addChild(IpsecForPort.class);
        ipsecForPort.port = port;
      }
    }

    vm.addChild(ZookeeperStatusChecker.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.