Control of LCM operations over a NS instance
[osm/Features.git] / Control_of_LCM_operations_over_a_NS_instance
1 # Control of LCM operations over a NS instance #
2
3 ## Proposer ##
4 - Gerardo Garcia (Telefonica)
5 - Alfonso Tierno (Telefonica)
6 - Francisco Javier Ramon (Telefonica)
7
8 ## Type ##
9 **Feature**
10
11 ## Target MDG/TF ##
12 NBI, LW-UI, osmclient
13
14 ## Description ##
15 The set of operations that can be done over a NS instance is the following:
16 - Initiate
17 - Update
18 - Scale
19 - Terminate
20 - Action/primitive
21
22 While running an operation over a NS instance, other operation calls might
23 arrive to OSM and a mechanism is necessary to control how to deal with these
24 coming operations while in the middle of a previous transaction.
25
26 Since most probably there will be several consumers of the NBI, the natural
27 mechanism is not allowing an operation to be executed if another operation
28 arrives in the middle of the transaction. The LCM module will be in charge of
29 that since it is the module involved in all LCM operations over a NS,
30 originated from both NBI or other internal modules.
31
32 There is a special case that should be handled in a different way: the
33 "terminate" operation. In this case, two behaviours are possible:
34 - Reject the operation while in the middle of a previous transaction
35 - Force the termination of the NS instance, forcing the end of previous
36 transactions.
37
38 An appropriate modeling of the NB API call should allow both cases.
39
40 ## Demo or definition of done ##
41 This demo could work:
42 - A first action will be executed over a NS instance. It will succeed.
43 - A second action will be executed while in the middle of the transaction. It
44 will fail. The status could be checked from the NBI (LW-UI and client)