[RFE][floatingip port_forwarding] Add description field

Bug #1850818 reported by Pedro Henrique Pereira Martins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Pedro Henrique Pereira Martins

Bug Description

Problem Description
===================

As users create and update theirs floating ip rules, the reason
behind those rules might get lost throughout time. Moreover, in
an environment with many people writing rules, it is important
to track down the reason behind each one of the rules
created/added in a floating IP port forwarding configuration.
The addition of a description field would allow operators to
determine the reason why a rule was created and help the users
to know if the existence of a rule is still reasonable.

Proposed Change
===============

To address the described scenario, we propose to create a new
“description” field in the Neutron’s Floating IP port forwarding
rules API JSON. This new field will be a nullable String
containing the description/reason why this new port forwarding
rule is being created.

Example of a modified JSON:

{
   "port_forwarding":{
      "protocol":"tcp",
      "internal_ip_address":"172.16.0.7",
      "internal_port":2230,
      "internal_port_id":"b67a7746-dc69-45b4-9b84-bb229fe198a0",
      "external_port":2230,
      "description":"Some description"
   }
}

Tags: rfe-approved
Changed in neutron:
assignee: nobody → Pedro Henrique Pereira Martins (pedrohpmartins)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lib (master)

Fix proposed to branch: master
Review: https://review.opendev.org/692580

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Thx for reporting this rfe. I think this is pretty clear and is ready to be discussed on drivers team meeting.
One thing, did You consider to just add Standard Attributes to this resource? See https://github.com/openstack/neutron-lib/blob/master/neutron_lib/db/standard_attr.py for details

tags: added: rfe-triaged
removed: rfe
Revision history for this message
Pedro Henrique Pereira Martins (pedrohpmartins) wrote :

Hi Slawek, thx for the reply.

Could you tell me when the drivers team meeting will occur?

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

http://eavesdrop.openstack.org/#Neutron_drivers_Meeting

But maybe this Friday this meeting will be cancelled due to the OpenStack PTG.

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Yes, this week meeting is cancelled. See http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010470.html
We will resume this meetings on November 15th

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Hi,

We discussed this RFE on today's drivers meeting (http://eavesdrop.openstack.org/meetings/neutron_drivers/2019/neutron_drivers.2019-11-15-14.01.log.html#l-95) and we approved it. So feel free to continue work on implementation of this RFE in Neutron :)

tags: added: rfe-approved
removed: rfe-triaged
Changed in neutron:
importance: Undecided → Wishlist
Changed in neutron:
milestone: none → ussuri-1
Changed in neutron:
milestone: ussuri-1 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lib (master)

Reviewed: https://review.opendev.org/692580
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=a37378e8d50e074667a55784758790b2929d75a6
Submitter: Zuul
Branch: master

commit a37378e8d50e074667a55784758790b2929d75a6
Author: pedro <email address hidden>
Date: Thu Oct 31 17:09:14 2019 -0300

    Add description field in port forwarding API

    Problem Description
    ===================

    As users create and update theirs floating ip rules, the reason
    behind those rules might get lost throughout time. Moreover, in
    an environment with many people writing rules, it is important
    to track down the reason behind each one of the rules
    created/added in a floating IP port forwarding configuration.
    The addition of a description field would allow operators to
    determine the reason why a rule was created and help the users
    to know if the existence of a rule is still reasonable.

    Proposed Change
    ===============

    To address the described scenario, we propose to create a new
    “description” field in the Neutron’s Floating IP port forwarding
    rules API JSON. This new field will be a nullable String
    containing the description/reason why this new port forwarding
    rule is being created.

    Change-Id: If98a70011b187d2143a660f1f281ab197d21eb4d
    Implements: blueprint portforwarding-description
    Closes-Bug: #1850818

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.30.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/670930
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=06e43dd95d39af5c77f60bf7c89fee762c1afa13
Submitter: Zuul
Branch: master

commit 06e43dd95d39af5c77f60bf7c89fee762c1afa13
Author: Pedro Henrique <email address hidden>
Date: Sun Jul 14 17:51:09 2019 -0300

    Add description field to portforwarding NAT rules

    Add the `description` field to `PortForwardings`
    using the standard attributes like in the
    `FloatingIPs`.

    Depends-On: https://review.opendev.org/#/c/692580/
    Depends-On: https://review.opendev.org/#/c/698662/
    Implements: blueprint portforwarding-description
    Closes-Bug: #1850818
    Change-Id: Ibac91d24da2b82cdce72165d1295fa5d4475ffd3
    Signed-off-by: Pedro Martins <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 16.0.0.0b1

This issue was fixed in the openstack/neutron 16.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstacksdk 0.44.0

This issue was fixed in the openstack/openstacksdk 0.44.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lib (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/750650

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-lib (stable/train)

Change abandoned by Flavio Fernandes (<email address hidden>) on branch: stable/train
Review: https://review.opendev.org/750650

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.