implement get_security_groups_count

Bug #1789584 reported by Junbo Jiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
In Progress
Undecided
Junbo Jiang
OpenContrail
New
Undecided
Junbo Jiang

Bug Description

currently the neutron_plugin_contrail can't get count for security_group and security_group_rule, because the code just return 0, see below

neutron_plugin_contrail/plugins/opencontrail/contrail_plugin_base.py

    def get_security_groups_count(self, context, filters=None):
        return 0

    def get_security_group_rules_count(self, context, filters=None):
        return 0

get the count for security_group and security_group_rule is importance for quota, this patch going to make the count work

Junbo Jiang (junbo)
Changed in opencontrail:
assignee: nobody → junbo (junbo)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45839
Submitter: junbo (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45842
Submitter: junbo (<email address hidden>)

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.