org.jclouds.openstack.nova.v2_0.extensions
Interface SecurityGroupApi


public interface SecurityGroupApi

Provides synchronous access to Security Groups.

Author:
Jeremy Daggett
See Also:
SecurityGroupAsyncApi

Method Summary
 SecurityGroupRule createSecurityGroupRuleAllowingCidrBlock(String parentGroup, Ingress ingress, String sourceCidr)
          Create a Security Group Rule.
 SecurityGroupRule createSecurityGroupRuleAllowingSecurityGroupId(String parentGroup, Ingress ingress, String sourceCidr)
          Create a Security Group Rule.
 SecurityGroup createSecurityGroupWithNameAndDescription(String name, String description)
          Create a Security Group
 Boolean deleteSecurityGroup(String id)
          Delete a Security Group.
 Boolean deleteSecurityGroupRule(String id)
          Delete a Security Group Rule.
 SecurityGroup getSecurityGroup(String id)
          Get a specific Security Group
 Set<SecurityGroup> listSecurityGroups()
          List all Security Groups.
 

Method Detail

listSecurityGroups

Set<SecurityGroup> listSecurityGroups()
List all Security Groups.

Returns:
all Floating IPs

getSecurityGroup

SecurityGroup getSecurityGroup(String id)
Get a specific Security Group

Returns:
a specific Security Group

createSecurityGroupWithNameAndDescription

SecurityGroup createSecurityGroupWithNameAndDescription(String name,
                                                        String description)
Create a Security Group

Returns:
a new Security Group

deleteSecurityGroup

Boolean deleteSecurityGroup(String id)
Delete a Security Group.

Returns:

createSecurityGroupRuleAllowingCidrBlock

SecurityGroupRule createSecurityGroupRuleAllowingCidrBlock(String parentGroup,
                                                           Ingress ingress,
                                                           String sourceCidr)
Create a Security Group Rule.

Returns:
a new Security Group Rule

createSecurityGroupRuleAllowingSecurityGroupId

SecurityGroupRule createSecurityGroupRuleAllowingSecurityGroupId(String parentGroup,
                                                                 Ingress ingress,
                                                                 String sourceCidr)
Create a Security Group Rule.

Returns:
a new Security Group Rule

deleteSecurityGroupRule

Boolean deleteSecurityGroupRule(String id)
Delete a Security Group Rule.

Returns:


Copyright © 2009-2012 jclouds. All Rights Reserved.