← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2097124] Re: [OSC] Missing filter in "openstack neutron agent --agent-type" for OVN agents

 

Reviewed:  https://review.opendev.org/c/openstack/python-openstackclient/+/942175
Committed: https://opendev.org/openstack/python-openstackclient/commit/762a3b10d13716e2bc4cef121d5b70ced6958d42
Submitter: "Zuul (22348)"
Branch:    master

commit 762a3b10d13716e2bc4cef121d5b70ced6958d42
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Wed Feb 19 10:59:38 2025 +0000

    Add four new network agent types to the list command filter
    
    Added four new network agent types to the list method filter:
    * ``ovn-controller``
    * ``ovn-controller-gateway``
    * ``ovn-metadata``
    * ``ovn-agent``
    
    These agents are represented in the OVN network agent classes defined
    in [1]. The OVN agent names are defined in [2].
    
    [1]https://github.com/openstack/neutron/blob/86f94de99aa08b1b4aadca8e90c6e79487171b8e/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py
    [2]https://github.com/openstack/neutron/blob/86f94de99aa08b1b4aadca8e90c6e79487171b8e/neutron/common/ovn/constants.py#L91-L94
    
    Closes-Bug: #2097124
    Change-Id: I117be7e60f67fdd94677cbaa65a3aff01e57bb5e


** Changed in: python-openstackclient
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2097124

Title:
  [OSC] Missing filter in "openstack neutron agent --agent-type" for OVN
  agents

Status in neutron:
  Invalid
Status in python-openstackclient:
  Fix Released

Bug description:
  The OpenStack client does not have options to filter the OVN Neutron
  agents, using the parameter "--agent-type".

  From neutron.common.ovn.constants:
    OVN_CONTROLLER_AGENT = 'OVN Controller agent'
    OVN_CONTROLLER_GW_AGENT = 'OVN Controller Gateway agent'
    OVN_METADATA_AGENT = 'OVN Metadata agent'
    OVN_NEUTRON_AGENT = 'OVN Neutron agent'
    OVN_CONTROLLER_TYPES = (OVN_CONTROLLER_AGENT,
                            OVN_CONTROLLER_GW_AGENT,
                            )

  Jira ticket: https://issues.redhat.com/browse/OSPRH-14180

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2097124/+subscriptions



References