Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

List of templates #4

Open
Open

Description

@mdehollander

Hi Lukas,

I am trying to get a list of templates, in the same way I can get a list of virtual machines. But it seems that the vmtemplatepool.info not yet is implemented. Can you maybe have a look at that?

Thanks!

Mattias

Activity

  1. lukaszo commented on Apr 13, 2012

    @lukaszo
    Owner

    Hi MaTiZ, it's implemented in master tree:

    In [1]: import oca
    In [2]: c=oca.Client()
    In [3]: vmtemplatepool=oca.VmTemplatePool(c)
    In [4]: vmtemplatepool.info()
    In [5]: vmtemplatepool
    Out[5]: 
    [<oca.VmTemplate("small")>,
     <oca.VmTemplate("medium")>,
     <oca.VmTemplate("large")>,
    ]
    

    I didn't send it to PyPi becauce acl module is not ready

  2. mdehollander commented on Apr 13, 2012

    @mdehollander
    Author

    Thanks! I will have a look at that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions