Signed-off-by: Minoru TAKAHASHI <[email protected]>
---
 ryu/lib/ofctl_v1_0.py |  4 ++--
 ryu/lib/ofctl_v1_2.py |  6 +++---
 ryu/lib/ofctl_v1_3.py | 10 +++++-----
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ryu/lib/ofctl_v1_0.py b/ryu/lib/ofctl_v1_0.py
index 9480f9b..df65db0 100644
--- a/ryu/lib/ofctl_v1_0.py
+++ b/ryu/lib/ofctl_v1_0.py
@@ -72,7 +72,7 @@ def to_actions(dp, acts):
             queue_id = int(a.get('queue_id', 0))
             actions.append(dp.ofproto_parser.OFPActionEnqueue(port, queue_id))
         else:
-            LOG.debug('Unknown action type')
+            LOG.error('Unknown action type')
 
     return actions
 
@@ -196,7 +196,7 @@ def to_match(dp, attrs):
             tp_dst = int(value)
             wildcards &= ~ofp.OFPFW_TP_DST
         else:
-            LOG.debug("unknown match name %s, %s, %d", key, value, len(key))
+            LOG.error("unknown match name %s, %s, %d", key, value, len(key))
 
     match = dp.ofproto_parser.OFPMatch(
         wildcards, in_port, dl_src, dl_dst, dl_vlan, dl_vlan_pcp,
diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py
index 81b3915..9e79e23 100644
--- a/ryu/lib/ofctl_v1_2.py
+++ b/ryu/lib/ofctl_v1_2.py
@@ -117,7 +117,7 @@ def to_actions(dp, acts):
                     parser.OFPInstructionWriteMetadata(
                         metadata, metadata_mask))
             else:
-                LOG.debug('Unknown action type: %s' % action_type)
+                LOG.error('Unknown action type: %s' % action_type)
 
     inst.append(parser.OFPInstructionActions(ofp.OFPIT_APPLY_ACTIONS,
                                              actions))
@@ -667,7 +667,7 @@ def mod_group_entry(dp, group, cmd):
 
     type_ = type_convert.get(group.get('type', 'ALL'))
     if type_ is None:
-        LOG.debug('Unknown type: %s', group.get('type'))
+        LOG.error('Unknown type: %s', group.get('type'))
 
     group_id = int(group.get('group_id', 0))
 
@@ -708,7 +708,7 @@ def send_experimenter(dp, exp):
     exp_type = exp.get('exp_type', 0)
     data_type = exp.get('data_type', 'ascii')
     if data_type != 'ascii' and data_type != 'base64':
-        LOG.debug('Unknown data type: %s', data_type)
+        LOG.error('Unknown data type: %s', data_type)
     data = exp.get('data', '')
     if data_type == 'base64':
         data = base64.b64decode(data)
diff --git a/ryu/lib/ofctl_v1_3.py b/ryu/lib/ofctl_v1_3.py
index 4372e53..b15f2b5 100644
--- a/ryu/lib/ofctl_v1_3.py
+++ b/ryu/lib/ofctl_v1_3.py
@@ -125,7 +125,7 @@ def to_actions(dp, acts):
                 meter_id = int(a.get('meter_id'))
                 inst.append(parser.OFPInstructionMeter(meter_id))
             else:
-                LOG.debug('Unknown action type: %s' % action_type)
+                LOG.error('Unknown action type: %s' % action_type)
 
     inst.append(parser.OFPInstructionActions(ofp.OFPIT_APPLY_ACTIONS,
                                              actions))
@@ -809,7 +809,7 @@ def mod_meter_entry(dp, flow, cmd):
     for flag in flow_flags:
         flags |= flags_convert.get(flag, 0)
     if not flags:
-        LOG.debug('Unknown flags: %s', flow.get('flags'))
+        LOG.error('Unknown flags: %s', flow.get('flags'))
 
     meter_id = int(flow.get('meter_id', 0))
 
@@ -832,7 +832,7 @@ def mod_meter_entry(dp, flow, cmd):
                 dp.ofproto_parser.OFPMeterBandExperimenter(
                     rate, burst_size, experimenter))
         else:
-            LOG.debug('Unknown band type: %s', band_type)
+            LOG.error('Unknown band type: %s', band_type)
 
     meter_mod = dp.ofproto_parser.OFPMeterMod(
         dp, cmd, flags, meter_id, bands)
@@ -849,7 +849,7 @@ def mod_group_entry(dp, group, cmd):
 
     type_ = type_convert.get(group.get('type', 'ALL'))
     if type_ is None:
-        LOG.debug('Unknown type: %s', group.get('type'))
+        LOG.error('Unknown type: %s', group.get('type'))
 
     group_id = int(group.get('group_id', 0))
 
@@ -890,7 +890,7 @@ def send_experimenter(dp, exp):
     exp_type = exp.get('exp_type', 0)
     data_type = exp.get('data_type', 'ascii')
     if data_type != 'ascii' and data_type != 'base64':
-        LOG.debug('Unknown data type: %s', data_type)
+        LOG.error('Unknown data type: %s', data_type)
     data = exp.get('data', '')
     if data_type == 'base64':
         data = base64.b64decode(data)
-- 
1.9.1


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to