l2 policy creation failure when setting network id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Group Based Policy Client |
Invalid
|
Medium
|
Sumit Naiksatam |
Bug Description
When testing Juno code, executing "l2policy-create" command, the CLI returns failure.
The following is the script I used to reproduce the problem.
source openrc admin demo
gbp l3policy-create --description my_l3_policy_1 --ip-version 4 --ip-pool 172.16.0.0/16 --subnet-
Created a new l3_policy:
+------
| Field | Value |
+------
| description | my_l3_policy_1 |
| external_segments | {} |
| id | 0ac593b6-
| ip_pool | 172.16.0.0/16 |
| ip_version | 4 |
| l2_policies | |
| name | my_l3_policy-1 |
| routers | 6efbd38a-
| shared | False |
| subnet_
| tenant_id | 063fe8e69989431
+------
neutron net-create my-net-web-1
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 8447d203-
| name | my-net-web-1 |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 063fe8e69989431
+------
gbp l2policy-create --description "My L2 Policy Web 1" --network 8447d203-
'Client' object has no attribute 'list_networks'
affects: | group-based-policy → group-based-policy-client |
Changed in group-based-policy-client: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → kilo-gbp-1 |
assignee: | nobody → Sumit Naiksatam (snaiksat) |
Changed in group-based-policy-client: | |
milestone: | 0.10.0 → next |
Changed in group-based-policy-client: | |
status: | Confirmed → Invalid |