mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 04:16:11 +02:00
of12: make OFPStatsReply.type visible to users
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
ccad3f86c0
commit
3969270a5b
@ -1831,13 +1831,6 @@ class OFPStatsReply(MsgBase):
|
||||
self.flags = flags
|
||||
self.body = body
|
||||
|
||||
def to_jsondict(self):
|
||||
# remove some redundant attributes
|
||||
d = super(OFPStatsReply, self).to_jsondict()
|
||||
v = d[self.__class__.__name__]
|
||||
del v['type'] # implied by subclass
|
||||
return d
|
||||
|
||||
@classmethod
|
||||
def parser(cls, datapath, version, msg_type, msg_len, xid, buf):
|
||||
msg = super(OFPStatsReply, cls).parser(datapath, version, msg_type,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user