upc.remotecontrol iconupc.remotecontrol 1.0 Alpha 1

A tool for managing a set of Plone instances through XML- RPC calls
upc.remotecontrol is a Plone product for managing a set of Plone instances through XML- RPC calls.

Buildout Installation

To install upc.remotecontrol, add the following code to your buildout.cfg:

[instance]
...
eggs =
 ...
 upc.remotecontrol


Usage

Connect to a Zope Instance:

>>> from xmlrpclib import ServerProxy
>>> client = ServerProxy('http://admin:admin@localhost:8080/')


List all Plone instances:

>>> client.listInstances()
['instance1', 'instance2', 'instance3']


Install a product for all instances:

>>> client.installProduct("collective.fancyzoomview")
'Successfully installed collective.fancyzoomview on all instances.'


Uninstall a product for all instances:

>>> client.uninstallProduct("collective.fancyzoomview")
'Successfully uninstalled collective.fancyzoomview on all instances.'


Reinstall a product for all instances:

>>> print client.reinstallProduct("collective.fancyzoomview")
'Successfully reinstalled collective.fancyzoomview on all instances.'


Apply a specific Generic Setup import step for all instances:

>>> client.applyImportStep("collective.fancyzoomview", "catalog")
'Successfully applied import step catalog to profile collective.fancyzoomview.'

last updated on:
September 1st, 2011, 13:50 GMT
price:
FREE!
developed by:
Timo Stollenwerk
license type:
GPL (GNU General Public License) 
category:
ROOT \ Internet \ Plone Extensions

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT