config: Treat ref-update ADD to existing ref as change
Bug #1634301 reported by
Hampapur Ajay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Undecided
|
Hampapur Ajay |
Bug Description
If a ref-update API is done on an object to an existing ref, the existing ref was not treated as such and type-specific handlers see it as a list instead of set.
So e.g if VN-1 refers to IPAM-1 with [1.1.1.0/28] subnet, on update VN-1 to IPAM-1 with [1.1.1.0/28, 2.2.2.0/28] subnets, the type-specific handlers saw VN-1 having 3 subnets [1.1.1.0/28, 1.1.1.0/28, 2.2.2.0/28] and complains of overlap
cfgm_common.
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/24959
Submitter: Hampapur Ajay (<email address hidden>)