Network filtering by MTU is not supported with the "net-mtu-writable" module

Bug #1818317 reported by kay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Hongbin Lu

Bug Description

Read-only (https://github.com/openstack/neutron-lib/blob/fc2a81058bfd3ba9fd3501660156c71ff1c8129c/neutron_lib/api/definitions/network_mtu.py#L51..L52) MTU supports listing, however writable "net-mtu-writable" (https://github.com/openstack/neutron-lib/blob/fc2a81058bfd3ba9fd3501660156c71ff1c8129c/neutron_lib/api/definitions/network_mtu_writable.py#L54..L56) doesn't support filtering by MTU:

Bad request with: [GET http://192.168.200.182:9696/v2.0/networks?mtu=1450&name=TESTACC-ZtUqAVkR]:
{"NeutronError": {"message": "[u'mtu'] is invalid attribute for filtering", "type": "HTTPBadRequest", "detail": ""}}

Changed in neutron:
importance: Undecided → Wishlist
Revision history for this message
kay (kay-diam) wrote :

Why do you think it is a wishlist? Read-only MTU filters list fine, but if you upgrade to RW MTU - it stops working. For me it looks like a bug.

Miguel Lavalle (minsel)
Changed in neutron:
status: New → Confirmed
importance: Wishlist → Medium
Hongbin Lu (hongbin.lu)
Changed in neutron:
assignee: nobody → Hongbin Lu (hongbin.lu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lib (master)

Fix proposed to branch: master
Review: https://review.openstack.org/642900

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lib (master)

Reviewed: https://review.openstack.org/642900
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=31bad8c63742b92d900546df741b086a229a0db7
Submitter: Zuul
Branch: master

commit 31bad8c63742b92d900546df741b086a229a0db7
Author: Hongbin Lu <email address hidden>
Date: Tue Mar 12 21:44:51 2019 +0000

    Allow filtering/sorting by the 'mtu' field

    Change-Id: I4096a9884aec25758438c2f7bd8df212eec20796
    Closes-Bug: #1818317

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-lib 1.26.0

This issue was fixed in the openstack/neutron-lib 1.26.0 release.

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.