oca.group

class oca.Group(xml, client)

Bases: oca.pool.PoolElement

static allocate(client, group_name)

Allocates a new group in OpenNebula

Arguments

client
oca.Client object
group
a string containing the group name
delete()

Deletes current object from the pool

info(*args)
classmethod new_with_id(client, element_id)

Retrives object which id equals `id`.

Arguments

`client`
oca.Client object.
`element_id
object id.
class oca.GroupPool(client)

Bases: oca.pool.Pool

Previous topic

oca.user

Next topic

oca.template

This Page