Raise exception/403 on attempt to reuse ip-address
Bug #1549572 reported by
Hampapur Ajay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
High
|
Hampapur Ajay | |||
Trunk |
Fix Committed
|
High
|
Hampapur Ajay |
Bug Description
Currently (3.0 and beyond) if an instance-ip object attempts to reserve an in-use address, it will not be set in instance_ip_address prop but no exception is returned back. Fix that and also add validations so that:
1. raise 403 on any attempt to reserve an ip already in use by instance-ip (except gw-ip)/floating-ip
2. for gw-ip address, allow only if vmi is not pointing to a vm. i.e. gateway-ip cannot be attracted by vm but it is ok to put it on a router-port
tags: | added: config |
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/17783
Submitter: Hampapur Ajay (<email address hidden>)