Esempio n. 1
0
    def __init__(self, *args, **kwargs):
        super(coupler, self).__init__(*args, **kwargs)

        #modules are added to the coupler as objects
        self.switch = SimpleSwitch()
Esempio n. 2
0
 def handl_port_stat(self, ev):
     switch = SimpleSwitch()
     switch.port_status_handler(ev)