mirror of https://github.com/apache/jclouds.git
updated clone on templateoptions
This commit is contained in:
parent
933c9102ec
commit
4981ca6efb
|
@ -75,7 +75,11 @@ public class CloudStackTemplateOptions extends TemplateOptions implements Clonea
|
||||||
if (to instanceof CloudStackTemplateOptions) {
|
if (to instanceof CloudStackTemplateOptions) {
|
||||||
CloudStackTemplateOptions eTo = CloudStackTemplateOptions.class.cast(to);
|
CloudStackTemplateOptions eTo = CloudStackTemplateOptions.class.cast(to);
|
||||||
eTo.securityGroupIds(this.securityGroupIds);
|
eTo.securityGroupIds(this.securityGroupIds);
|
||||||
|
eTo.networkIds(this.networkIds);
|
||||||
|
eTo.ipsToNetworks(this.ipsToNetworks);
|
||||||
|
eTo.ipOnDefaultNetwork(this.ipOnDefaultNetwork);
|
||||||
eTo.keyPair(this.keyPair);
|
eTo.keyPair(this.keyPair);
|
||||||
|
eTo.setupStaticNat(setupStaticNat);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,8 @@ import java.util.Map;
|
||||||
// surefire
|
// surefire
|
||||||
@Test(groups = "unit", testName = "CloudStackTemplateOptionsTest")
|
@Test(groups = "unit", testName = "CloudStackTemplateOptionsTest")
|
||||||
public class CloudStackTemplateOptionsTest {
|
public class CloudStackTemplateOptionsTest {
|
||||||
|
//TODO: test clone();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testAs() {
|
public void testAs() {
|
||||||
TemplateOptions options = new CloudStackTemplateOptions();
|
TemplateOptions options = new CloudStackTemplateOptions();
|
||||||
|
|
Loading…
Reference in New Issue