diff options
author | Yoshihiro Kaneko <ykaneko0929@gmail.com> | 2013-04-22 12:17:16 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-04-24 19:13:36 +0900 |
commit | ca5292e477484912e8436f233916475078b59d78 (patch) | |
tree | c655bbd7416407baa5e082817df4b7088fa88b5e | |
parent | 4dfaf65f8604b87173acbf0f5067d5320f2c7178 (diff) |
of1.3: remove port_no argument
These request bodies are empty on OF1.3/1.3.1 spec.
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/ofproto/ofproto_v1_3_parser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 53b002a1..d9a0ec3b 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -2355,7 +2355,7 @@ class OFPGroupDescStats(object): @_set_stats_type(ofproto_v1_3.OFPMP_GROUP_DESC, OFPGroupDescStats) @_set_msg_type(ofproto_v1_3.OFPT_MULTIPART_REQUEST) class OFPGroupDescStatsRequest(OFPMultipartRequest): - def __init__(self, datapath, flags, port_no): + def __init__(self, datapath, flags): super(OFPGroupDescStatsRequest, self).__init__(datapath, flags) @@ -2381,7 +2381,7 @@ class OFPGroupFeaturesStats(collections.namedtuple('OFPGroupFeaturesStats', ( @_set_stats_type(ofproto_v1_3.OFPMP_GROUP_FEATURES, OFPGroupFeaturesStats) @_set_msg_type(ofproto_v1_3.OFPT_MULTIPART_REQUEST) class OFPGroupFeaturesStatsRequest(OFPMultipartRequest): - def __init__(self, datapath, flags, port_no): + def __init__(self, datapath, flags): super(OFPGroupFeaturesRequest, self).__init__(datapath, flags) @@ -2541,7 +2541,7 @@ class OFPMeterFeaturesStats(collections.namedtuple('OFPMeterFeaturesStats', ( @_set_stats_type(ofproto_v1_3.OFPMP_METER_FEATURES, OFPMeterFeaturesStats) @_set_msg_type(ofproto_v1_3.OFPT_MULTIPART_REQUEST) class OFPMeterFeaturesStatsRequest(OFPMultipartRequest): - def __init__(self, datapath, flags, port_no): + def __init__(self, datapath, flags): super(OFPMeterFeaturesStatsRequest, self).__init__(datapath, flags) |