Re: CLI clients and neutron QoS packet_rate_limit rules
FYI the attached patches, against openstacksdk 0.62.0 and python-openstackclient 5.8.1, allow me to successfully execute `openstack network qos rule create --type packet-rate-limit --max-kpps 111 --ingress bw-limiter`. (I'm using those old base versions because of testing against a Yoga system.) If I may whinge for a brief moment: it's quite tedious that boilerplate changes are needed in multiple different places for this change. I'm only really saying this in case there are others who agree and my opinion might help to build their case... Best wishes - Nell On Mon, Feb 24, 2025 at 9:46 AM Nell Jerram <nell@tigera.io> wrote:
Many thanks Rodolfo. I'll experiment locally with possible fixes here, and follow up later.
Best wishes - Nell
On Sat, Feb 22, 2025 at 4:22 PM Rodolfo Alonso Hernandez < ralonsoh@redhat.com> wrote:
Hi Nell:
The neutronclient project is now deprecated, at least the CLI part. As you mentioned, the OSC cannot create these packet rate rules. I'll create a bug.
Regards.
On Fri, Feb 21, 2025 at 7:04 PM Nell Jerram <nell@tigera.io> wrote:
Is it just an oversight that the openstack client doesn't support packet_rate_limit rules? [1]
Looking at the file names under [2], it looks like that might be true for the neutron client as well.
[1] https://github.com/openstack/python-openstackclient/blob/master/openstackcli...
[2] https://github.com/openstack/python-neutronclient/tree/master/neutronclient/...
Best wishes - Nell
Please, propose it in https://review.opendev.org/dashboard/self. This is where the OpenStack code is reviewed and approved. Thanks! On Mon, Feb 24, 2025 at 1:25 PM Nell Jerram <nell@tigera.io> wrote:
FYI the attached patches, against openstacksdk 0.62.0 and python-openstackclient 5.8.1, allow me to successfully execute `openstack network qos rule create --type packet-rate-limit --max-kpps 111 --ingress bw-limiter`.
(I'm using those old base versions because of testing against a Yoga system.)
If I may whinge for a brief moment: it's quite tedious that boilerplate changes are needed in multiple different places for this change. I'm only really saying this in case there are others who agree and my opinion might help to build their case...
Best wishes - Nell
On Mon, Feb 24, 2025 at 9:46 AM Nell Jerram <nell@tigera.io> wrote:
Many thanks Rodolfo. I'll experiment locally with possible fixes here, and follow up later.
Best wishes - Nell
On Sat, Feb 22, 2025 at 4:22 PM Rodolfo Alonso Hernandez < ralonsoh@redhat.com> wrote:
Hi Nell:
The neutronclient project is now deprecated, at least the CLI part. As you mentioned, the OSC cannot create these packet rate rules. I'll create a bug.
Regards.
On Fri, Feb 21, 2025 at 7:04 PM Nell Jerram <nell@tigera.io> wrote:
Is it just an oversight that the openstack client doesn't support packet_rate_limit rules? [1]
Looking at the file names under [2], it looks like that might be true for the neutron client as well.
[1] https://github.com/openstack/python-openstackclient/blob/master/openstackcli...
[2] https://github.com/openstack/python-neutronclient/tree/master/neutronclient/...
Best wishes - Nell
I will, but honestly I'm not sure if my setup is up to date, and it may be some time before I can dedicate cycles to fixing that. Hence dropping the changes here in case anyone else has an interest in getting to it first. Please don't worry about "stepping on my toes" here! Best wishes - Nell On Mon, Feb 24, 2025 at 12:27 PM Rodolfo Alonso Hernandez < ralonsoh@redhat.com> wrote:
Please, propose it in https://review.opendev.org/dashboard/self. This is where the OpenStack code is reviewed and approved. Thanks!
On Mon, Feb 24, 2025 at 1:25 PM Nell Jerram <nell@tigera.io> wrote:
FYI the attached patches, against openstacksdk 0.62.0 and python-openstackclient 5.8.1, allow me to successfully execute `openstack network qos rule create --type packet-rate-limit --max-kpps 111 --ingress bw-limiter`.
(I'm using those old base versions because of testing against a Yoga system.)
If I may whinge for a brief moment: it's quite tedious that boilerplate changes are needed in multiple different places for this change. I'm only really saying this in case there are others who agree and my opinion might help to build their case...
Best wishes - Nell
On Mon, Feb 24, 2025 at 9:46 AM Nell Jerram <nell@tigera.io> wrote:
Many thanks Rodolfo. I'll experiment locally with possible fixes here, and follow up later.
Best wishes - Nell
On Sat, Feb 22, 2025 at 4:22 PM Rodolfo Alonso Hernandez < ralonsoh@redhat.com> wrote:
Hi Nell:
The neutronclient project is now deprecated, at least the CLI part. As you mentioned, the OSC cannot create these packet rate rules. I'll create a bug.
Regards.
On Fri, Feb 21, 2025 at 7:04 PM Nell Jerram <nell@tigera.io> wrote:
Is it just an oversight that the openstack client doesn't support packet_rate_limit rules? [1]
Looking at the file names under [2], it looks like that might be true for the neutron client as well.
[1] https://github.com/openstack/python-openstackclient/blob/master/openstackcli...
[2] https://github.com/openstack/python-neutronclient/tree/master/neutronclient/...
Best wishes - Nell
participants (2)
-
Nell Jerram
-
Rodolfo Alonso Hernandez