use of org.platformlayer.service.vpn.model.VpnService in project platformlayer by platformlayer.
the class VpnServiceController method addChildren.
@Override
protected void addChildren() throws OpsException {
VpnService model = OpsContext.get().getInstance(VpnService.class);
InstanceBuilder instance = InstanceBuilder.build(model.dnsName, DiskImageRecipeBuilder.buildDiskImageRecipe(this));
addChild(instance);
instance.addChild(PackageDependency.build("strongswan"));
instance.addChild(CollectdCollector.build());
// instance.addChild(ManagedService.build("ipsec"));
}
Aggregations