Dependent links are not moved when node is moved in UpdateQ
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Incomplete
|
Low
|
Prakash Bailkeri |
Bug Description
Possible issue found by code inspection when chasing a different bug.
The following method should call GetUpdate on ls rather than state,
as state is the IFMapNodeState for the original node that was moved.
The purpose of this method is to move all the IFMapLinkStates for
the node.
void IFMapExporter:
for (IFMapNodeState
iter != state->end();
++iter) {
IFMapLink *link = iter.operator->();
if (ls == NULL) {
}
IFMapUpdate *update = state->
if (update == NULL) {
}
}
}
Need to create a test for this scenario.
description: | updated |
description: | updated |
Since we no longer try to guarantee that agent will see nodes
before it sees a link connecting them, maybe we can just remove
the code instead of trying to fix it.