get_port_groups should be called get_sg_port_groups

Bug #1883716 reported by Flavio Fernandes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
New
Undecided
Flavio Fernandes

Bug Description

OVN's API called get_port_groups is poorly named and has misleading docstring.

It returns only the OVN port groups that map to the security group in Neutron.
Therefore, it should be called get_sg_port_groups.

neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/api.py

    @abc.abstractmethod
    def get_port_groups(self):
        """Gets all port groups in the OVN_Northbound DB

Changed in networking-ovn:
assignee: nobody → Flavio Fernandes (ffernand)
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.