Пример #1
0
  def __init__ (self, *args, **kw):
    SoftwareSwitch.__init__(self, *args, **kw)
    self.role_by_conn={}
    self.connections = []
    self.connection_in_action = None
    # index of the next 'other' controller to get a message
    # (for round robin of async messages)
    self.next_other = 0

    # Set of connections to which we have sent hellos.  This is used to
    # as part of overriding the single-connection logic in the superclass.
    self._sent_hellos = set()
Пример #2
0
  def __init__ (self, *args, **kw):
    SoftwareSwitch.__init__(self, *args, **kw)
    self.role_by_conn={}
    self.connections = []
    self.connection_in_action = None
    # index of the next 'other' controller to get a message
    # (for round robin of async messages)
    self.next_other = 0

    # Set of connections to which we have sent hellos.  This is used to
    # as part of overriding the single-connection logic in the superclass.
    self._sent_hellos = set()
Пример #3
0
 def __init__(self, *args, **kwargs):
     SoftwareSwitch.__init__(self, *args, **kwargs)
Пример #4
0
 def __init__(self, *args, **kwargs):
     SoftwareSwitch.__init__(self, *args, **kwargs)