@Beta public class NetworkConfigurationForNetworkAndOptions extends Object
Modifier and Type | Field and Description |
---|---|
protected FenceMode |
defaultFenceMode |
protected com.google.common.base.Supplier<NetworkConfig> |
defaultNetworkConfig |
Modifier | Constructor and Description |
---|---|
protected |
NetworkConfigurationForNetworkAndOptions(com.google.common.base.Supplier<NetworkConfig> defaultNetworkConfig,
FenceMode defaultFenceMode) |
Modifier and Type | Method and Description |
---|---|
NetworkConfig |
apply(Network networkToConnect,
VCloudTemplateOptions vOptions)
returns a
NetworkConfig used to instantiate a vAppTemplate to
either the default parent (org) network, or one specified by options. |
protected final com.google.common.base.Supplier<NetworkConfig> defaultNetworkConfig
protected final FenceMode defaultFenceMode
@Inject protected NetworkConfigurationForNetworkAndOptions(com.google.common.base.Supplier<NetworkConfig> defaultNetworkConfig, FenceMode defaultFenceMode)
public NetworkConfig apply(Network networkToConnect, VCloudTemplateOptions vOptions)
NetworkConfig
used to instantiate a vAppTemplate to
either the default parent (org) network, or one specified by options.networkToConnect
- network defined in the VAppTemplate you wish to connect tovOptions
- options to override defaults withCopyright © 2009-2013 jclouds. All Rights Reserved.