icmp type checking in netutils

Bug #1511940 reported by Suraj Deshmukh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.utils
Fix Released
Undecided
Suraj Deshmukh

Bug Description

In module netutils there is no function to check valid icmp type and code. So I propose here a function given 'type' and 'code' which return boolean if the icmp 'type' and 'code' are valid. This will be helpful in solving the Bug #1511748 in Horizon, here [1] is the link to bug.

The code could be used by other projects to help find if the icmp types is valid.

[1] https://bugs.launchpad.net/horizon/+bug/1511748

Changed in oslo.utils:
assignee: nobody → Suraj Deshmukh (surajssd009005)
description: updated
Revision history for this message
Suraj Deshmukh (surajssd009005) wrote :

Submitted a patch for review for this bug at [1]

[1] https://review.openstack.org/#/c/240661/

Changed in oslo.utils:
status: New → In Progress
Changed in oslo.utils:
status: In Progress → Fix Committed
Changed in oslo.utils:
milestone: none → 2.8.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.