'disable plugin by name'

def disablePlugin(self, name, status):

    plugin_on = []
    if status:
        for plugin in self.plugins:
            plugin_on.append(self.plugins[plugin].Name)
        if (name not in plugin_on):
            for p in self.plugin_classes:
                pluginconf = p()
                if (pluginconf.Name == name):
                    self.plugins[name] = pluginconf
                    self.plugins[name].getInstance()._activated = True
                    print 'TCPProxy::{0:17}    status:On'.format(name)
    else:
        print 'TCPProxy::{0:17}    status:Off'.format(name)
        self.plugins.pop(self.plugins[name].Name)
