public ServiceDocument getDocumentTemplate() {
ComputeNetwork nd = (ComputeNetwork) super.getDocumentTemplate();
nd.name = "My Network";
nd.securityGroupLinks = new HashSet<>();
nd.securityGroupLinks.add(SecurityGroupService.FACTORY_LINK + "/my-sec-group");
<BUG>nd.subnetLinks = new ArrayList<>();

nd.subnetLinks.add(SubnetService.FACTORY_LINK + "/my-subnet");
</BUG>
return nd;

public ServiceDocument getDocumentTemplate() {
ComputeNetwork nd = (ComputeNetwork) super.getDocumentTemplate();
nd.name = "My Network";
nd.securityGroupLinks = new HashSet<>();
nd.securityGroupLinks.add(SecurityGroupService.FACTORY_LINK + "/my-sec-group");
nd.environmentLinks = new ArrayList<>();
nd.environmentLinks.add(EnvironmentService.FACTORY_LINK + "/my-env");
return nd;
