Trees | Indices | Help |
---|
|
extern.log.log.Loggable --+ | Vishnu
I am the toplevel manager object that knows about all heavens and factories.
|
|||
|
|||
|
|||
|
|||
|
|||
flumotion.common.bundle.BundlerBasket |
|
||
|
|||
|
|||
|
|||
|
|||
a deferred that will fire a flumotion.common.identity.RemoteIdentity |
|
||
flumotion.common.planet.ManagerComponentState |
|
||
list of flumotion.common.planet.ManagerComponentState |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
twisted.internet.defer.Deferred
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
list of flumotion.common.planet.ManagerComponentState |
|
||
|
|||
|
|||
|
|||
|
|||
ComponentMapper or None |
|
||
ComponentMapper or None |
|
||
|
|||
|
|||
Inherited from |
|
|||
logCategory =
Implementors can provide a category to log their messages under. |
|||
__pychecker__ =
|
|||
__implemented__ = <implementedBy flumotion.manager.manager.Vis
|
|||
admin.AdminHeaven |
adminHeaven the admin heaven |
||
component.ComponentHeaven |
componentHeaven the component heaven |
||
str |
configDir the configuration directory for this Vishnu's manager |
||
Dispatcher |
dispatcher dispatcher to create avatars |
||
worker.WorkerHeaven |
workerHeaven the worker heaven |
|
Cancel any pending operations in preparation for shutdown. This method is mostly useful for unit tests; currently, it is not called during normal operation. Note that the caller is responsible for stopping listening on the port, as the the manager does not have a handle on the twisted port object.
|
Return a bundler basket to unbundle from. If the registry files were updated since the last time, the bundlerbasket will be rebuilt. Since: 0.2.2 |
Convenience message to construct a message and add it to the planet state. `format' should be marked as translatable in the source with N_, and *args will be stored as format arguments. Keyword arguments are passed on to the message constructor. See flumotion.common.messages.Message for the meanings of the rest of the arguments. For example: self.addMessage(messages.WARNING, 'foo-warning', N_('The answer is %d'), 42, debug='not really') |
Add a message to the planet state.
|
Clear any messages with the given message ID from the planet state.
|
|
Compute a suitable identity for a remote host. First looks to see if there is a flumotion.component.plugs.identity.IdentityProviderPlug plug installed on the manager, falling back to user@host. The identity is only used in the adminaction interface. An example of its use is when you have an adminaction plug that checks an admin's privileges before actually doing an action; the identity object you use here might store the privileges that the admin has.
|
Add a new config object into the planet state.
|
Load the configuration from the given XML, merging it on top of the currently running configuration.
|
Load manager configuration from the given XML. The manager configuration is currently used to load the manager's bouncer and plugs, and is only run once at startup.
|
Load a component into the manager configuration. See flumotion.manager.admin.AdminAvatar.perspective_loadComponent for a definition of the argument types. |
Create a heaven of the given klass that will send avatars to clients implementing the given medium interface.
|
|
Create the given component. This will currently also trigger a start eventually when the component avatar attaches. The component should be sleeping. The worker it should be started on should be present. |
Stop the given component. If the component was sad, we clear its sad state as well, since the stop was explicitly requested by the admin.
|
Set the given message on the given component's state. Can be called e.g. by a worker to report on a crashed component. Sets the mood to sad if it is an error message. |
Create the list of components on the given worker, sequentially, but in no specific order.
|
Empty the planet of the given component.
|
Empty the planet of a flow.
|
Empty the planet of all components, and flows. Also clears all messages.
|
Requests a number of ports on the worker named workerName. The ports will be reserved for the use of the caller until releasePortsOnWorker is called.
|
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
|
|
__implemented__
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Aug 13 06:17:08 2013 | http://epydoc.sourceforge.net |