mirror of https://github.com/apache/jclouds.git
Issue 830: Change fenceMode to ISOLATED
This commit is contained in:
parent
0534821234
commit
c7381501f0
|
@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlSeeAlso;
|
||||||
import com.google.common.base.Objects;
|
import com.google.common.base.Objects;
|
||||||
import com.google.common.base.Objects.ToStringHelper;
|
import com.google.common.base.Objects.ToStringHelper;
|
||||||
|
|
||||||
@XmlSeeAlso( {OrgNetwork.class, ExternalNetwork.class} )
|
@XmlSeeAlso({ OrgNetwork.class, ExternalNetwork.class })
|
||||||
public abstract class Network extends EntityType {
|
public abstract class Network extends EntityType {
|
||||||
public static final class FenceMode {
|
public static final class FenceMode {
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@ import org.jclouds.vcloud.director.v1_5.VCloudDirectorMediaType;
|
||||||
import org.jclouds.vcloud.director.v1_5.domain.InstantiateVAppTemplateParams;
|
import org.jclouds.vcloud.director.v1_5.domain.InstantiateVAppTemplateParams;
|
||||||
import org.jclouds.vcloud.director.v1_5.domain.InstantiationParams;
|
import org.jclouds.vcloud.director.v1_5.domain.InstantiationParams;
|
||||||
import org.jclouds.vcloud.director.v1_5.domain.Link;
|
import org.jclouds.vcloud.director.v1_5.domain.Link;
|
||||||
|
import org.jclouds.vcloud.director.v1_5.domain.Network;
|
||||||
import org.jclouds.vcloud.director.v1_5.domain.NetworkConfigSection;
|
import org.jclouds.vcloud.director.v1_5.domain.NetworkConfigSection;
|
||||||
import org.jclouds.vcloud.director.v1_5.domain.NetworkConfiguration;
|
import org.jclouds.vcloud.director.v1_5.domain.NetworkConfiguration;
|
||||||
import org.jclouds.vcloud.director.v1_5.domain.Org;
|
import org.jclouds.vcloud.director.v1_5.domain.Org;
|
||||||
|
@ -70,7 +71,6 @@ import org.jclouds.vcloud.director.v1_5.predicates.ReferencePredicates;
|
||||||
import org.jclouds.vcloud.director.v1_5.predicates.TaskStatusEquals;
|
import org.jclouds.vcloud.director.v1_5.predicates.TaskStatusEquals;
|
||||||
import org.jclouds.vcloud.director.v1_5.predicates.TaskSuccess;
|
import org.jclouds.vcloud.director.v1_5.predicates.TaskSuccess;
|
||||||
import org.testng.annotations.BeforeClass;
|
import org.testng.annotations.BeforeClass;
|
||||||
import org.testng.annotations.BeforeGroups;
|
|
||||||
import org.testng.annotations.Listeners;
|
import org.testng.annotations.Listeners;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
|
@ -323,7 +323,7 @@ public abstract class BaseVCloudDirectorClientLiveTest extends BaseVersionedServ
|
||||||
// Build the configuration object
|
// Build the configuration object
|
||||||
NetworkConfiguration networkConfiguration = NetworkConfiguration.builder()
|
NetworkConfiguration networkConfiguration = NetworkConfiguration.builder()
|
||||||
.parentNetwork(parentNetwork.get())
|
.parentNetwork(parentNetwork.get())
|
||||||
.fenceMode("bridged")
|
.fenceMode(Network.FenceMode.ISOLATED)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
return networkConfiguration;
|
return networkConfiguration;
|
||||||
|
|
Loading…
Reference in New Issue