Modifier and Type | Field and Description |
---|---|
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> |
CloudStackComputeService.securityGroupMap |
Constructor and Description |
---|
CloudStackComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
RunScriptOnNode.Factory runScriptOnNodeFactory,
InitAdminAccess initAdminAccess,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
CloudStackApi client,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> securityGroupMap,
com.google.common.cache.LoadingCache<String,SshKeyPair> keyPairCache,
com.google.common.base.Function<Set<? extends NodeMetadata>,com.google.common.collect.Multimap<String,String>> orphanedGroupsByZoneId,
GroupNamingConvention.Factory namingConvention,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> zoneIdToZone,
com.google.common.base.Optional<ImageExtension> imageExtension,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> |
CloudStackComputeServiceContextModule.securityGroupMap(com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup> in) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> |
CloudStackComputeServiceContextModule.securityGroupMap(com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup> in) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Function<SecurityGroup,SecurityGroup> |
CloudStackSecurityGroupExtension.groupConverter |
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> |
CloudStackSecurityGroupExtension.groupCreator |
Constructor and Description |
---|
CloudStackSecurityGroupExtension(CloudStackApi api,
com.google.common.base.Function<SecurityGroup,SecurityGroup> groupConverter,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> groupCreator,
GroupNamingConvention.Factory namingConvention,
com.google.common.base.Supplier<Set<? extends Location>> locations,
BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
com.google.common.base.Predicate<String> jobComplete) |
CloudStackSecurityGroupExtension(CloudStackApi api,
com.google.common.base.Function<SecurityGroup,SecurityGroup> groupConverter,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> groupCreator,
GroupNamingConvention.Factory namingConvention,
com.google.common.base.Supplier<Set<? extends Location>> locations,
BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
com.google.common.base.Predicate<String> jobComplete) |
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
CloudStackSecurityGroupToSecurityGroup.apply(SecurityGroup group) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> |
FindSecurityGroupOrCreate.groupCreator |
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
FindSecurityGroupOrCreate.load(ZoneAndName in) |
Constructor and Description |
---|
FindSecurityGroupOrCreate(CloudStackApi client,
com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> groupCreator) |
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 | Field and Description |
---|---|
protected Set<SecurityGroup> |
VirtualMachine.Builder.securityGroups |
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
SecurityGroup.Builder.build() |
Modifier and Type | Method and Description |
---|---|
Set<SecurityGroup> |
VirtualMachine.getSecurityGroups() |
Modifier and Type | Method and Description |
---|---|
int |
SecurityGroup.compareTo(SecurityGroup o) |
T |
SecurityGroup.Builder.fromSecurityGroup(SecurityGroup in) |
T |
VirtualMachine.Builder.securityGroups(SecurityGroup... in) |
Modifier and Type | Method and Description |
---|---|
T |
VirtualMachine.Builder.securityGroups(Set<SecurityGroup> securityGroups) |
Constructor and Description |
---|
VirtualMachine(String id,
String account,
long cpuCount,
long cpuSpeed,
String cpuUsed,
String displayName,
Date created,
String domain,
String domainId,
boolean usesVirtualNetwork,
String group,
String groupId,
String guestOSId,
boolean HAEnabled,
String hostId,
String hostname,
String IPAddress,
String ISODisplayText,
String ISOId,
String ISOName,
String jobId,
Integer jobStatus,
long memory,
String name,
Long networkKbsRead,
Long networkKbsWrite,
String password,
boolean passwordEnabled,
String publicIP,
String publicIPId,
String rootDeviceId,
String rootDeviceType,
String serviceOfferingId,
String serviceOfferingName,
VirtualMachine.State state,
String templateDisplayText,
String templateId,
String templateName,
String zoneId,
String zoneName,
Set<NIC> nics,
String hypervisor,
Set<SecurityGroup> securityGroups,
Set<Tag> tags) |
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
SecurityGroupApi.createSecurityGroup(String name)
Creates a security group
|
SecurityGroup |
SecurityGroupApi.getSecurityGroup(String id)
get a specific security group by id
|
SecurityGroup |
SecurityGroupApi.getSecurityGroupByName(String securityGroupName)
get a specific security group by name
|
Modifier and Type | Method and Description |
---|---|
Set<SecurityGroup> |
SecurityGroupApi.listSecurityGroups(ListSecurityGroupsOptions... options)
Lists security groups
|
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
CreateSecurityGroupIfNeeded.apply(ZoneSecurityGroupNamePortsCidrs input) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<SecurityGroup> |
SecurityGroupPredicates.any() |
static com.google.common.base.Predicate<SecurityGroup> |
SecurityGroupPredicates.hasCidr(String cidr) |
static com.google.common.base.Predicate<SecurityGroup> |
SecurityGroupPredicates.nameEquals(String name)
matches name of the given security group
|
static com.google.common.base.Predicate<SecurityGroup> |
SecurityGroupPredicates.nameMatches(com.google.common.base.Predicate<String> name)
matches name of the given security group
|
static com.google.common.base.Predicate<SecurityGroup> |
SecurityGroupPredicates.portInRange(int port) |
static com.google.common.base.Predicate<SecurityGroup> |
SecurityGroupPredicates.portInRangeForCidr(int port,
String cidr) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.