lbaas: may need subnet/cidr checks before member and vip create
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
New
|
Low
|
Unassigned | |||
R3.1 |
New
|
Low
|
Unassigned | |||
Trunk |
New
|
Low
|
Unassigned |
Bug Description
We may need to check for existence of subnet before lb-member create and lb-vip create
It would be better if vip-create fails when the pool subnet id is not found and member-create validates the address against cidr before creation.
root@a2s42:
| a2b7c585-
root@a2s42:
root@a2s42:
root@a2s42:
Created a new member:
+------
| Field | Value |
+------
| address | 1.1.1.10 |
| admin_state_up | True |
| id | f30e4175-
| pool_id | fe78f013-
| protocol_port | 80 |
| status | ACTIVE |
| tenant_id | 785303813229403
| weight | 1 |
+------
root@a2s42:
Created a new vip:
+------
| Field | Value |
+------
| address | 6.6.6.3 |
| admin_state_up | True |
| connection_limit | -1 |
| description | |
| id | 99b2f8a1-
| name | vip-subnet-delete |
| pool_id | fe78f013-
| port_id | c7bb18d0-
| protocol | HTTP |
| protocol_port | 80 |
| session_persistence | |
| status | ACTIVE |
| subnet_id | b641088e-
| tenant_id | 785303813229403
+------
==> /var/log/
10/15/2015 11:23:12 AM [a2s42:
bug update...