Bases: nova.network.security_group.security_group_base.SecurityGroupBase
Add security group rule(s) to security group.
Note: the Nova security group API doesn’t support adding multiple security group rules at once but the EC2 one does. Therefore, this function is written to support both. Multiple rules are installed to a security group in neutron using bulk support.
Add security group to the instance.
This function deletes a security group.
Returns the security groups that are associated with an instance. If detailed is True then it also returns the full details of the security groups associated with an instance.
Returns a dict(instance_id, [security_groups]) to allow obtaining all of the instances and their security groups in one shot.
Returns list of security group rules owned by tenant.
Remove the security group associated with the instance.
Validate given security group property.
Parameters: |
|
---|