Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/b/r/broctl-HEAD/BroControl/plugins/ps.py   broctl(Download)
            nodes = self.parseNodes(args)
        else:
            nodes = self.nodes()
 
        if not nodes:

src/b/r/broctl-HEAD/BroControl/plugins/lb_pf_ring.py   broctl(Download)
 
        dd = {}
        for nn in self.nodes():
            if nn.type != "worker" or nn.lb_method != "pf_ring":
                continue

src/b/r/broctl-HEAD/BroControl/plugins/lb_myricom.py   broctl(Download)
    def init(self):
        useplugin = False
 
        for nn in self.nodes():
            if nn.type != "worker" or nn.lb_method != "myricom":

src/b/r/broctl-HEAD/BroControl/plugins/TestPlugin.py   broctl(Download)
        self.message("TestPlugin: The current value of bar is: %s" % self.getState("bar"))
 
        for n in self.nodes():
            try:
                self.message("TestPlugin: mykey is: %s" % n.test_mykey)