UNKNOWN
Project description
Introduction
upc.remotecontrol is a tool 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.'
Changelog
1.0a1 (2009-12-04)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
upc.remotecontrol-1.0a1.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for upc.remotecontrol-1.0a1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec6eedfab7cf74999182151042d249d42360ad079f0e44923493933927e94654 |
|
MD5 | 3829330c346e66b8e84b2a589f513b49 |
|
BLAKE2b-256 | be75ae9e045f156e248bc85ad526937d721a18cd660231a30e70e1a92da674df |