Examples of PublicEndpoint


Examples of org.platformlayer.ops.networks.PublicEndpoint

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

    {
      PublicEndpoint endpoint = vm.addChild(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = BACKEND_PORT;
      endpoint.backendPort = BACKEND_PORT;
      // endpoint.dnsName = dnsName;
View Full Code Here

Examples of org.platformlayer.ops.networks.PublicEndpoint

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

    {
      PublicEndpoint endpoint = vm.addChild(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = BACKEND_PORT;
      endpoint.backendPort = BACKEND_PORT;
      // endpoint.dnsName = dnsName;
      endpoint.transport = Transport.Ipv6;
View Full Code Here

Examples of org.platformlayer.ops.networks.PublicEndpoint

    // Collectd not restarting correctly (doesn't appear to be hostname problems??)
    // instance.addChild(CollectdCollector.build());

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = MEMCACHE_PORT;
      endpoint.backendPort = MEMCACHE_PORT;
      endpoint.dnsName = model.dnsName;
View Full Code Here

Examples of org.platformlayer.ops.networks.PublicEndpoint

    // instance.addChild(CollectdCollector.build());

    instance.addChild(ManagedService.build("nginx"));

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      endpoint.publicPort = 80;
      endpoint.backendPort = 80;
      endpoint.dnsName = model.dnsName;

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

      instance.addChild(endpoint);
    }

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      endpoint.publicPort = 443;
      endpoint.backendPort = 443;
      endpoint.dnsName = model.dnsName;

      endpoint.tagItem = model.getKey();
View Full Code Here

Examples of org.platformlayer.ops.networks.PublicEndpoint

    // We use curl for backups
    instance.addChild(PackageDependency.build("curl"));

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = 22;
      endpoint.backendPort = 22;
      endpoint.dnsName = model.dnsName;
View Full Code Here

Examples of org.platformlayer.ops.networks.PublicEndpoint

      PlatformLayerInstance service = injected(PlatformLayerInstance.class);
      vm.addChild(service);
    }

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = port;
      endpoint.backendPort = port;

      endpoint.tagItem = model.getKey();
View Full Code Here

Examples of org.platformlayer.ops.networks.PublicEndpoint

    }

    // The system ports are used for communication between nodes,
    // so need to be opened early
    for (int systemPort : ZookeeperConstants.SYSTEM_PORTS) {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = systemPort;
      endpoint.backendPort = systemPort;

      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();

      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;
View Full Code Here

Examples of org.platformlayer.ops.networks.PublicEndpoint

    vm.addChild(DnsServerInstall.class);
    vm.addChild(DnsServerInstance.class);

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = 53;
      endpoint.backendPort = 53;
      endpoint.dnsName = model.dnsName;
      endpoint.protocol = Protocol.Udp;
View Full Code Here

Examples of org.platformlayer.ops.networks.PublicEndpoint

    // scp root@[2001:470:8157:2::f]:/var/lib/jenkins/.ssh/id_rsa.pub .
    // cat id_rsa.pub | ssh -p29418 <gerritip> gerrit create-account --ssh-key - --full-name Jenkins jenkins

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
      // endpoint.network = null;
      endpoint.publicPort = PORT;
      endpoint.backendPort = PORT;
      endpoint.dnsName = model.dnsName;
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.