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