esnet / esnet/sense-rm

Handle duplicate SwitchingSubnet identifiers

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When the SENSE-O "reapplies" a delta template it will reuse all the MRML identifiers defined in the template. If the SENSE-N-RM has seen a request from this delta template before then it will already have NSI connections with the SwitchingSubnet identifier stored in the NSI reservation description. When a delta reduction for this second delta is received it will have a SwitchingSubnet identifier matching multiple reservations. The current programatic flow will query the reservation looking for matching descriptions, resulting in two matching reservations. Code has been added to not try a terminate on an already terminated reservation, however, a connectionId mapping into the MRML operationMap may be a better solution to keep a list of reservation ids to terminate.

There is an additional issue of timing between issuing the reservation operation, getting a connectionId in response, and the arrival of the reserveConfirmed. May need to look at correlationId for updating reservation entries.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the reservation-description lookup for duplicate SwitchingSubnet identifiers and the connectionId mapping in the MRML operationMap. Then examine the timing between issuing a reservation operation, receiving connectionId, and processing reserveConfirmed, including whether correlationId is needed. Done means repeated delta templates can identify and terminate the correct reservations without acting on already terminated ones.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.