def __init__ (self, subtype, **kw): nx_data.__init__(self) self.subtype = subtype self.role = ROLE_OTHER self.length = 8 initHelper(self, kw)
def __init__(self, subtype, **kw): nx_data.__init__(self) self.subtype = subtype self.role = ROLE_OTHER self.length = 8 initHelper(self, kw)
def __init__(self, raw = None, **kw): self.parsed = False self.strlen = 2 self.ttl = 0 self.arr = raw if raw is not None: self.parse() initHelper(self, kw)
def __init__(self, raw=None, **kw): self.parsed = False self.strlen = 0 self.subtype = 0 self.id = None self.arr = None if raw is not None: self.arr = raw self.parse() initHelper(self, kw)
def __init__(self, raw=None, **kw): self.parsed = False self.strlen = 2 self.ttl = 0 self.arr = raw if raw is not None: self.parse() initHelper(self, kw)
def __init__(self, raw = None, **kw): self.parsed = False self.strlen = 0 self.subtype = 0 self.id = None self.arr = None if raw is not None: self.arr = raw self.parse() initHelper(self, kw)
def __init__ (self, **kw): self._cap_info = {} for val,name in ofp_capabilities_map.iteritems(): name = name[5:].lower() # strip OFPC_ name = "cap_" + name setattr(self, name, False) self._cap_info[name] = val self._act_info = {} for val,name in ofp_action_type_map.iteritems(): name = name[6:].lower() # strip OFPAT_ name = "act_" + name setattr(self, name, False) self._act_info[name] = val initHelper(self, kw)
def __init__(self, **kw): self.subtype = 0 self.length = 4 initHelper(self, kw)
def _init (self, kw): if 'payload' in kw: self.set_payload(kw['payload']) del kw['payload'] initHelper(self, kw)
def __init__ (self, **kw): ofp_vendor_base.__init__(self) self._init(kw) assert hasattr(self, 'vendor') assert hasattr(self, 'subtype') initHelper(self, kw)
def _init_helper (self, kw): if len(kw): if 'payload' in kw: self.payload = None initHelper(self, kw) self.parsed = True
def _init (self, kw): initHelper(self,kw)
def __init__(self, **kw): self.type = None self.aux = b'' self.source_addresses = [] self.address = None initHelper(self, kw)
def __init__ (self, **kw): self.subtype = 0 self.length = 4 initHelper(self, kw)
def _init_helper(self, kw): if len(kw): if 'payload' in kw: self.payload = None initHelper(self, kw) self.parsed = True
def _init(self, kw): initHelper(self, kw)