Explicit router provided for L3 Policy creation is not used
Bug #1501657 reported by
Sumit Naiksatam
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Group Based Policy |
Incomplete
|
High
|
Robert Kukura |
Bug Description
Instead a new router is associated.
Changed in group-based-policy: | |
assignee: | nobody → Robert Kukura (rkukura) |
Changed in group-based-policy: | |
status: | New → Confirmed |
To post a comment you must log in.
I'm not able to reproduce this using the resource_mapping policy driver. See below. I'm changing the status to incomplete.
[rkukura@localhost devstack]$ neutron router-create r1 ------- ------- ---+--- ------- ------- ------- ------- ------- + ------- ------- ---+--- ------- ------- ------- ------- ------- + gateway_ info | | 89f6-4d0f- 829d-3b76c19038 86 | 7914202f1521fb2 71 | ------- ------- ---+--- ------- ------- ------- ------- ------- + 89f6-4d0f- 829d-3b76c19038 86 l3p2 ------- ------- ------- -+----- ------- ------- ------- ------- -----+ ------- ------- ------- -+----- ------- ------- ------- ------- -----+ 6e30-4160- 89ad-a338ec14bb bb | prefix_ length | 29 | 89f6-4d0f- 829d-3b76c19038 86 | prefix_ length | 24 | 7914202f1521fb2 71 | ------- ------- ------- -+----- ------- ------- ------- ------- -----+ ------- ------- --+---- ------- ------- ------- ------- ------+ ------- ------- --+---- ------- ------- ------- ------- ------+ 352a-4bbe- bc31-10fcca3f29 41 | 6e30-4160- 89ad-a338ec14bb bb | 8bf4-40a9- a6e3-e3ad8edbc9 20 | target_ groups | | 7914202f1521fb2 71 | ------- ------- --+---- ------- ------- ------- ------- ------+ target_ group:
Created a new router:
+------
| Field | Value |
+------
| admin_state_up | True |
| external_
| id | cf3e2943-
| name | r1 |
| routes | |
| status | ACTIVE |
| tenant_id | 06bc0332286e428
+------
[rkukura@localhost devstack]$ gbp l3p-create --routers cf3e2943-
Created a new l3_policy:
+------
| Field | Value |
+------
| description | |
| external_segments | {} |
| id | 2f4c3579-
| ip_pool | 10.0.0.0/8 |
| ip_version | 4 |
| l2_policies | |
| name | l3p2 |
| proxy_ip_pool | 192.168.0.0/16 |
| proxy_subnet_
| routers | cf3e2943-
| shared | False |
| subnet_
| tenant_id | 06bc0332286e428
+------
[rkukura@localhost devstack]$ gbp l2p-create --l3-policy l3p2 l2p1
Created a new l2_policy:
+------
| Field | Value |
+------
| description | |
| id | f32b98c5-
| l3_policy_id | 2f4c3579-
| name | l2p1 |
| network_id | a47cb05e-
| policy_
| shared | False |
| tenant_id | 06bc0332286e428
+------
[rkukura@localhost devstack]$ gbp ptg-create --l2-policy l2p1 ptg1
Created a new policy_
+---------...