summaryrefslogtreecommitdiffstats
path: root/examples/tutorial/tutorial04-caching.json
blob: 049f0a43a042cdaa1f18fcb4305b647bf416c142 (plain)
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
    "settings": {
        "network": "192.168.128.0/24",
        "ulimit-n": 10000
    },
    "resources": [
        {
            "type": "Physical",
            "name": "server",
            "hostname": "localhost"
        },
        {
            "type": "NetDevice",
            "device_name": "eth0",
            "managed": false,
            "node": "server"
        },
        {
            "type": "LxcImage",
            "name": "ubuntu1604-cicnsuite-rc2",
            "node": "server"
        },
        {
            "name": "u1core",
            "image": "ubuntu1604-cicnsuite-rc2",
            "category": "asr",
            "type": "LxcContainer",
            "y": 10,
            "x": 5,
            "node": "server"
        },
        {
            "name": "u1srv1",
            "image": "ubuntu1604-cicnsuite-rc2",
            "category": "meizu",
            "type": "LxcContainer",
            "y": 8,
            "x": 2,
            "node": "server"
        },
        {
            "name": "u1srv2",
            "image": "ubuntu1604-cicnsuite-rc2",
            "category": "meizu",
            "type": "LxcContainer",
            "y": 12,
            "x": 2,
            "node": "server"
        },
        {
            "name": "u2core",
            "image": "ubuntu1604-cicnsuite-rc2",
            "category": "asr",
            "type": "LxcContainer",
            "y": 6,
            "x": 9,
            "node": "server"
        },
        {
            "name": "u2srv1",
            "image": "ubuntu1604-cicnsuite-rc2",
            "category": "meizu",
            "type": "LxcContainer",
            "y": 2,
            "x": 9,
            "node": "server"
        },
        {
            "name": "u3core",
            "image": "ubuntu1604-cicnsuite-rc2",
            "category": "asr",
            "type": "LxcContainer",
            "y": 12,
            "x": 13,
            "node": "server"
        },
        {
            "name": "u3srv1",
            "image": "ubuntu1604-cicnsuite-rc2",
            "category": "meizu",
            "type": "LxcContainer",
            "y": 10,
            "x": 16,
            "node": "server"
        },
        {
            "name": "u3srv2",
            "image": "ubuntu1604-cicnsuite-rc2",
            "category": "meizu",
            "type": "LxcContainer",
            "y": 14,
            "x": 16,
            "node": "server"
        },
        {
            "type": "MetisForwarder",
            "cache_size": 2000000,
            "node": "u1core"
        },
        {
            "type": "MetisForwarder",
            "cache_size": 0,
            "node": "u1srv1"
        },
        {
            "type": "MetisForwarder",
            "cache_size": 0,
            "node": "u1srv2"
        },
        {
            "type": "MetisForwarder",
            "cache_size": 2000000,
            "node": "u2core"
        },
        {
            "type": "MetisForwarder",
            "cache_size": 0,
            "node": "u2srv1"
        },
        {
            "type": "MetisForwarder",
            "cache_size": 2000000,
            "node": "u3core"
        },
        {
            "type": "MetisForwarder",
            "cache_size": 0,
            "node": "u3srv1"
        },
        {
            "type": "WebServer",
            "prefixes": [
                "/webserver1"
            ],
            "node": "u3srv1"
        },
        {
            "type": "MetisForwarder",
            "cache_size": 0,
            "node": "u3srv2"
        },
        {
            "type": "WebServer",
            "prefixes": [
                "/webserver2"
            ],
            "node": "u3srv2"
        },
        {
            "type": "Link",
            "dst_node": "u1srv1",
            "capacity": 100,
            "src_node": "u1core"
        },
        {
            "type": "Link",
            "dst_node": "u1srv2",
            "capacity": 100,
            "src_node": "u1core"
        },
       {
            "type": "Link",
            "dst_node": "u2srv1",
            "capacity": 100,
            "src_node": "u2core"
        },
        {
            "type": "Link",
            "dst_node": "u3srv1",
            "capacity": 100,
            "src_node": "u3core"
        },
        {
            "type": "Link",
            "dst_node": "u3srv2",
            "capacity": 100,
            "src_node": "u3core"
        },
        {
            "type": "Link",
            "dst_node": "u2core",
            "src_node": "u1core"
        },
        {
            "type": "Link",
            "dst_node": "u3core",
            "src_node": "u1core"
        },
        {
            "type": "Link",
            "dst_node": "u2core",
            "src_node": "u3core"
        },
        {
            "type": "CentralIP",
            "ip_routing_strategy": "spt"
        },
        {
            "type": "CentralICN",
            "face_protocol": "udp4"
        }
    ]
}