savanna-all team mailing list archive
-
savanna-all team
-
Mailing list archive
-
Message #00149
Re: Plugin Context object
Hi,
yes, sure, I think we'll created the separated page for tools that could be used from plugin and fill it with details asap.
Currently we have the following helpers integrated to the model objects:
* instance.remote is a remote interop helpers, that contains execute_command, write_file_to, read_file_from helpers (for example, instance.remote.execute_command("ls -la"));
* you can just call the following code to receive configured nova client:
from savanna.utils.openstack import nova
nova.client().images.list()
and etc.
Sincerely yours,
Sergey Lukjanov
Software Engineer
Mirantis Inc.
GTalk: me@xxxxxxxxxxx
Skype: lukjanovsv
On Jun 6, 2013, at 0:07, Jon Maron <jmaron@xxxxxxxxxxxxxxx> wrote:
> Hi,
>
> Can the Plugin SPI document (https://wiki.openstack.org/wiki/Savanna/PluggableProvisioning/PluginAPI) be updated with some information regarding the context object and its associated services/APIs? In our implementation we are still interacting directly with nova/ssh etc and we need an understanding of how to migrate those invocations with the context of the savanna server.
>
> -- Jon
>
> --
> Mailing list: https://launchpad.net/~savanna-all
> Post to : savanna-all@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~savanna-all
> More help : https://help.launchpad.net/ListHelp
References