File: ChainController.block

package info (click to toggle)
msc-generator 8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 180,648 kB
  • sloc: cpp: 133,265; yacc: 23,546; ansic: 7,210; sh: 4,512; lex: 2,028; makefile: 1,085
file content (135 lines) | stat: -rw-r--r-- 2,636 bytes parent folder | download | duplicates (3)
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
defshape eri.rect {
    S 0;
    M 0 10;
    C 20 10 0 -10 20 -10;
    L 20 35;
    L 0 35;
    E;
    S 2;
    M 0 10;
    C 20 10 0 -10 20 -10;
    L 20 35;
    L 0 35;
    E;
    M 7 2;
    L 13 2;
    L 13 10;
    L 7 10;
    E;
    T 0 15 20 35;

}

defshape eri.frect {
    S 0;
    M 0 10;
    C 20 10 0 -10 20 -10;
    L 20 35;
    L 0 35;
    E;
    S 2;
    M 0 10;
    C 20 10 0 -10 20 -10;
    L 20 35;
    L 0 35;
    E;
    S 1;
    M 7 2;
    L 13 2;
    L 13 10;
    L 7 10;
    E;
    T 0 15 20 35;

}

defshape eri.ftri {
    S 0;
    M 0 10;
    C 20 10 0 -10 20 -10;
    L 20 35;
    L 0 35;
    E;
    S 2;
    M 0 10;
    C 20 10 0 -10 20 -10;
    L 20 35;
    L 0 35;
    E;
    S 1;
    M 10 2;
    L 14 14;
    L 6 14;
    E;
    T 0 15 20 35;
}

defshape eri.tri {
    S 0;
    M 0 10;
    C 20 10 0 -10 20 -10;
    L 20 35;
    L 0 35;
    E;
    S 2;
    M 0 10;
    C 20 10 0 -10 20 -10;
    L 20 35;
    L 0 35;
    E;
    M 10 2;
    L 14 14;
    L 6 14;
    E;
    T 0 15 20 35;
}

defcolor turq=20,180,255;
defcolor gr=150,215,150;
defstyle shape_eri.rect, shape_eri.frect, 
         shape_eri.tri,shape_eri.ftri [label.mode=scale];
use col;
box [fill.color=blue+60, line.type=none,
     line.corner=round, line.radius=20] {
    text: Control\nPlane [left=UDR, bottom=CC@100, margin=0, imargin=0];
    break;
    use line.color=turq, text.color=turq, width=38, height=50;
    *eri.frect UDR: UDR;
    space 30;
    *eri.rect SC: Session\nController;
    below *eri.rect CC: Chain\nController;
    *eri.ftri LR [line.color=turq+20, width=35, height=43]:
      \iLR;
};
row {
    {
        use middle=, bottom=prev, width=30, height=40;
        *eri.ftri device: device;
        space 10;
        *eri.tri AN: AN [line.color=red];
        space 20;
        box UPbox: [fill.color=gr+40, line.color=none, line.radius=15] {
            use line.color=gr, text.color=gr, width=23, height=30;
            *eri.frect FE: FE [middle=AN, center=CC];
            above leftof *eri.frect UPF: UPF;
            rightof FE row [width=60];
            *eri.frect IAP: IAP;
        }
    }
    space 30;
    box ext[fill.color=red+80, line.radius=5, text.size.normal=8,
        middle=IAP]:
      External networks
      (e.g., operator,
      Internet);
    break;
    text: User\nPlane [top=UPbox@top, center=UPbox@55];
};

device--AN--FE--IAP--ext;
FE--UPF;

FE,UPF .. CC .. SC..UDR,AN, LR;
LR..IAP;
SC..ext: Rx [text.bgcolor=none, marker.gvtype=tick,
            routing=curvy];