Modifier and Type | Method and Description |
---|---|
com.google.common.base.Supplier<Map<String,Network>> |
CloudStackComputeServiceContextModule.listNetworks(AtomicReference<AuthorizationException> authException,
long seconds,
NetworksForCurrentUser networksForCurrentUser) |
Modifier and Type | Method and Description |
---|---|
DeployVirtualMachineOptions |
OptionsConverter.apply(CloudStackTemplateOptions templateOptions,
Map<String,Network> networks,
String zoneId,
DeployVirtualMachineOptions options)
Convert a CloudStackTemplateOptions and apply to a DeployVirtualMachineOptions instance.
|
DeployVirtualMachineOptions |
BasicNetworkOptionsConverter.apply(CloudStackTemplateOptions templateOptions,
Map<String,Network> networks,
String zoneId,
DeployVirtualMachineOptions options) |
DeployVirtualMachineOptions |
AdvancedNetworkOptionsConverter.apply(CloudStackTemplateOptions templateOptions,
Map<String,Network> networks,
String zoneId,
DeployVirtualMachineOptions options) |
Constructor and Description |
---|
CloudStackComputeServiceAdapter(CloudStackApi client,
com.google.common.base.Predicate<String> jobComplete,
com.google.common.base.Supplier<Map<String,Network>> networkSupplier,
com.google.common.base.Supplier<Map<String,Project>> projectSupplier,
BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
StaticNATVirtualMachineInNetwork.Factory staticNATVMInNetwork,
CreatePortForwardingRulesForIP setupPortForwardingRulesForIP,
CreateFirewallRulesForIP setupFirewallRulesForIP,
com.google.common.cache.LoadingCache<String,Set<IPForwardingRule>> vmToRules,
Map<String,Credentials> credentialStore,
Map<NetworkType,? extends OptionsConverter> optionsConverters,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> zoneIdToZone,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> securityGroupCache,
com.google.common.cache.LoadingCache<String,SshKeyPair> keyPairCache,
GroupNamingConvention.Factory namingConvention,
GetLoginForProviderFromPropertiesAndStoreCredentialsOrReturnNull credentialsProvider) |
Modifier and Type | Method and Description |
---|---|
Network |
Network.Builder.build() |
Modifier and Type | Method and Description |
---|---|
T |
Network.Builder.fromNetwork(Network in) |
Modifier and Type | Method and Description |
---|---|
Network |
NetworkApi.createNetworkInZone(String zoneId,
String networkOfferingId,
String name,
String displayText,
CreateNetworkOptions... options)
Creates a network
|
Network |
NetworkApi.getNetwork(String id)
get a specific network by id
|
Modifier and Type | Method and Description |
---|---|
Set<Network> |
NetworkApi.listNetworks(ListNetworksOptions... options)
Lists networks
|
Modifier and Type | Method and Description |
---|---|
PublicIPAddress |
ReuseOrAssociateNewPublicIPAddress.apply(Network input) |
static PublicIPAddress |
ReuseOrAssociateNewPublicIPAddress.associateIPAddressInNetwork(Network network,
CloudStackApi client,
BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult) |
StaticNATVirtualMachineInNetwork |
StaticNATVirtualMachineInNetwork.Factory.create(Network in) |
Constructor and Description |
---|
StaticNATVirtualMachineInNetwork(CloudStackApi client,
ReuseOrAssociateNewPublicIPAddress reuseOrAssociate,
Network network) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Network> |
NetworkPredicates.any() |
static com.google.common.base.Predicate<Network> |
NetworkPredicates.defaultNetworkInZone(String zoneId)
Filters for default networks in a specific zone.
|
static com.google.common.base.Predicate<Network> |
NetworkPredicates.hasLoadBalancerService() |
static com.google.common.base.Predicate<Network> |
NetworkPredicates.isIsolatedNetwork() |
static com.google.common.base.Predicate<Network> |
NetworkPredicates.isSharedNetwork() |
static com.google.common.base.Predicate<Network> |
NetworkPredicates.isVirtualNetwork() |
static com.google.common.base.Predicate<Network> |
NetworkPredicates.supportsPortForwarding() |
static com.google.common.base.Predicate<Network> |
NetworkPredicates.supportsStaticNAT() |
Modifier and Type | Method and Description |
---|---|
boolean |
NetworkPredicates.HasFirewallServiceWhichSupportsStaticNAT.apply(Network arg0) |
boolean |
NetworkPredicates.HasFirewallServiceWhichSupportsPortForwarding.apply(Network arg0) |
boolean |
NetworkPredicates.HasLoadBalancerService.apply(Network arg0) |
boolean |
NetworkPredicates.IsVirtualNetwork.apply(Network arg0) |
boolean |
NetworkPredicates.IsSharedNetwork.apply(Network arg0) |
boolean |
NetworkPredicates.IsIsolatedNetwork.apply(Network arg0) |
Modifier and Type | Method and Description |
---|---|
Map<String,Network> |
NetworksForCurrentUser.get() |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.