Module Index

Constructor

Class: Admin

Mock implementation of the Admin interface. Nearly all of these methods do nothing, since MogileLocal doesn't have the concept of devices or classes and assumes that you'll use a different directory for each separate instantiation of MogileLocal. It's provided so that client code that relies upon the admin class won't break.

Constructor

__init__ (self, url)

Methods

change_device_state (self, host, device, state)

create_class (self, domain, clas, mindevcount)

create_domain (self, domain)

delete_class (self, domain, clas)

delete_domain (self, domain)

get_devices (self, devid=None)

get_domains (self)

get_hosts (self, hostid=None)

update_class (self, domain, clas, mindevcount)