-
Notifications
You must be signed in to change notification settings - Fork 0
/
sdn-man-seq-dia.txt
140 lines (104 loc) · 1.91 KB
/
sdn-man-seq-dia.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@startuml
skinparam monochrome true
autonumber "<b>(<u>##</u>)"
participant "Experiment Manager" as EM
participant "SdnResource Manager" as SM
actor User as U
participant "SDN-Proxy-OSDNC" as p1
participant "SDN-Proxy-ODL" as p2
participant "OpenSDNcore" as OSDNC
participant "OpenDayLight" as ODL
||20||
group Register User
EM <-[ : Register User
activate EM
EM -> SM : create user info
activate SM
SM -> p1 : /PrepareTenant (tenant-id)
activate p1
p1 --> SM : (flow-table-offset)
deactivate p1
SM --> EM : response
deactivate SM
EM -->[
deactivate EM
end
||30||
group Validate Resources
EM <-[ : ...
activate EM
EM -> SM : validate resource
activate SM
SM --> EM :
deactivate SM
||10||
deactivate EM
end
||30||
group Provide Resources
EM <-[ : ...
activate EM
EM -> SM
activate SM
SM -> p1 : /SDNproxySetup (token,tenant-id)
activate p1
SM -> p2 : /SDNproxySetup (token,tenant-id)
activate p2
p1 --> SM : (API-URL, user-flow-tables)
deactivate p1
p2 --> SM : (API-URL, user-flow-tables)
deactivate p2
SM --> EM
deactivate SM
EM -> U : (token, API-URL, user-flow-tables)
end
||10||
deactivate EM
||20||
group SDN usage
U -> p1 : POST /api (token, JSON-RPC(flow-table))
activate p1
p1 -> OSDNC: POST / (JSON-RCP(flow-table))
activate OSDNC
||25||
OSDNC --> p1
deactivate OSDNC
p1 --> U : result
deactivate p1
||10||
U -> p1 : POST /api (JSON-RPC(flow-table))
activate p1
p1 --> U : 403 Unauthorized
destroy p1
||10||
U -> p1 : POST /api (token, JSON-RPC(flow-table))
activate p1
p1 -> OSDNC: POST / (JSON-RCP(flow-table))
activate OSDNC
||25||
OSDNC --> p1
deactivate OSDNC
p1 --> U : result
deactivate p1
end
||10||
group Release Resources
EM <-[
activate EM
EM -> SM : Delete Resources
activate SM
SM -> p1 : DELETE /SDNproxy/<token>
activate p1
SM -> p2 : DELETE /SDNproxy/<token>
activate p2
p1 --> SM
deactivate p1
p2 --> SM
deactivate p2
deactivate ODL
SM --> EM
deactivate SM
end
||10||
deactivate EM
@enduml