From acde8330cba3a0568598ef5c0cdfdd10271518c7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 25 Mar 2019 14:30:04 +0100 Subject: [PATCH] Change log levels --- p4app/controller.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/p4app/controller.py b/p4app/controller.py index 15252f0..61f87a1 100755 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -456,13 +456,13 @@ class L2Controller(object): # Process parsed if ICMPv6ND_NS in orig_packet and orig_packet['IPv6'].src == '::': - log.debug("Neighbor solicitation for checking her own IP address") + log.info("Neighbor solicitation for checking her own IP address") elif ICMPv6MLReport2 in orig_packet and orig_packet['IPv6'].dst == 'ff02::16': mc_group = orig_packet['ICMPv6MLDMultAddrRec'].dst - log.debug("Multicast registration for {} port {} -- should probably handle this".format(mc_group, cpu_header.ingress_port)) + log.info("Multicast registration for {} port {} -- should probably handle this".format(mc_group, cpu_header.ingress_port)) elif ICMPv6ND_RS in orig_packet and orig_packet['IPv6'].dst == 'ff02::2': src = orig_packet['IPv6'].src - log.debug("Router solicitation from {} -- should probably handle this?".format(src)) + log.info("Router solicitation from {} -- should probably handle this?".format(src)) elif cpu_header.task == self.task['ICMP6_NS']: log.info("Doing neighbor solicitation for the switch in the controller") self.handle_icmp6_ns(orig_packet) @@ -470,7 +470,7 @@ class L2Controller(object): if ICMPv6EchoRequest in orig_packet: self.handle_icmp6_echo_request(orig_packet) else: - log.debug("unhandled reassambled={} from table {}".format(orig_packet.__repr__(), table_id_fields[cpu_header.table_id])) + log.info("unhandled reassambled={} from table {}".format(orig_packet.__repr__(), table_id_fields[cpu_header.table_id])) def run_cpu_port_loop(self):