cloudmesh-cloud.cloudmesh.secgroup.Secgroup

Module Contents

Classes

SecgroupExamples

SecgroupDatabase

SecgroupRule

Secgroup

class cloudmesh-cloud.cloudmesh.secgroup.Secgroup.SecgroupExamples
rule(self, name, cm=False)
group(self, name, cm=False)
load(self, cm=False)
class cloudmesh-cloud.cloudmesh.secgroup.Secgroup.SecgroupDatabase(kind=None)
clear(self)
find(self, name=None)
remove(self, name=None)
list(self, name=None)
update_dict_list(self, entries)
class cloudmesh-cloud.cloudmesh.secgroup.Secgroup.SecgroupRule

Bases: cloudmesh-cloud.cloudmesh.secgroup.Secgroup.SecgroupDatabase

add(self, name=None, protocol=None, ports=None, ip_range=None)
delete(self, name=None)
class cloudmesh-cloud.cloudmesh.secgroup.Secgroup.Secgroup

Bases: cloudmesh-cloud.cloudmesh.secgroup.Secgroup.SecgroupDatabase

output
add(self, name=None, rules=None, description=None)

adds a rule to a given group. If the group does not exist, it will be created.

Parameters
  • name

  • rules

  • description

Returns

delete(self, name=None, rules=None)

deletes the groups :param name: :param rules: :return: