GBP: Default subnet-prefix-length should be same

Bug #1489981 reported by puppet-py
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy
Fix Released
Medium
kobayashi

Bug Description

The subnet-prefix-length for an implicitly created L3Policy is defaulted to 26
The subnet-prefix-length of user-created L3Policy is defaulted to 24

They should be consitent either 26 or 24

[root@f3-controller ~(keystone_admin)]# gbp l3policy-list
+--------------------------------------+---------+------------------------------+----------------+----------------------+
| id | name | description | ip_pool | subnet_prefix_length |
+--------------------------------------+---------+------------------------------+----------------+----------------------+
| 0ec7c0ff-aaa6-4a15-96b5-1dd7dfb5dcc9 | L3PExt | | 20.20.2.0/24 | 24 |
| 3f7d02a8-2345-4a7e-9c6e-5e08217f4951 | L3PExt | | 10.0.0.0/8 | 24 |
| e55cef65-4f31-4d74-a85a-9945e79f4a08 | default | Implicitly created L3 policy | 192.168.0.0/16 | 26 |
+--------------------------------------+---------+------------------------------+----------------+----------------------+

kobayashi (abok-1k)
Changed in group-based-policy:
assignee: nobody → Keiichi Kobayashi (abok-1k)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (master)

Fix proposed to branch: master
Review: https://review.openstack.org/218974

Changed in group-based-policy:
status: New → In Progress
Changed in group-based-policy:
importance: Undecided → Medium
milestone: none → liberty-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (master)

Reviewed: https://review.openstack.org/218974
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy/commit/?id=a6c5f786309f7a538191f13c601569f36763c253
Submitter: Jenkins
Branch: master

commit a6c5f786309f7a538191f13c601569f36763c253
Author: k-1 <email address hidden>
Date: Tue Sep 1 03:04:37 2015 +0900

    Default subnet-prefix-length should be consistent

    Changed default_subnet_prefix_length from "default=26"
    to "default=24" in implicit_policy.ini and implicit_policy.py
    for consistency.

    Updated relevant unit tests.

    Closes-Bug: #1489981

    Change-Id: I2356191b4de2e182e27a6070791e3c57a6db80c8

Changed in group-based-policy:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/221826

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/kilo)

Reviewed: https://review.openstack.org/221826
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy/commit/?id=8e5c12d72bcaaefbe1182bc8b9dfb8f0f207ee67
Submitter: Jenkins
Branch: stable/kilo

commit 8e5c12d72bcaaefbe1182bc8b9dfb8f0f207ee67
Author: k-1 <email address hidden>
Date: Tue Sep 1 03:04:37 2015 +0900

    Default subnet-prefix-length should be consistent

    Changed default_subnet_prefix_length from "default=26"
    to "default=24" in implicit_policy.ini and implicit_policy.py
    for consistency.

    Updated relevant unit tests.

    Closes-Bug: #1489981

    Change-Id: I2356191b4de2e182e27a6070791e3c57a6db80c8
    (cherry picked from commit a6c5f786309f7a538191f13c601569f36763c253)

tags: added: in-stable-kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/221900

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/juno)

Reviewed: https://review.openstack.org/221900
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy/commit/?id=62443f45e873720dcd51acc1645345aadb810944
Submitter: Jenkins
Branch: stable/juno

commit 62443f45e873720dcd51acc1645345aadb810944
Author: k-1 <email address hidden>
Date: Tue Sep 1 03:04:37 2015 +0900

    Default subnet-prefix-length should be consistent

    Changed default_subnet_prefix_length from "default=26"
    to "default=24" in implicit_policy.ini and implicit_policy.py
    for consistency.

    Updated relevant unit tests.

    Closes-Bug: #1489981

    Change-Id: I2356191b4de2e182e27a6070791e3c57a6db80c8
    (cherry picked from commit a6c5f786309f7a538191f13c601569f36763c253)
    (cherry picked from commit 8e5c12d72bcaaefbe1182bc8b9dfb8f0f207ee67)

tags: added: in-stable-juno
Changed in group-based-policy:
status: Fix Committed → Fix Released
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.