diff options
author | Miruna Paun <Miruna.Paun@enea.com> | 2019-07-29 12:30:27 +0200 |
---|---|---|
committer | Miruna Paun <Miruna.Paun@enea.com> | 2019-07-30 12:23:08 +0200 |
commit | d6be45dbae3cc0e2df7f92f6b855126e21051952 (patch) | |
tree | c8a11542e4527b980662e22e94017fb176add25e /doc/book-enea-nfv-access-example-usecases/doc/clav_vnf_examples.xml | |
parent | 631609b2f424264a74542f2e1ea99e1bb8a43e9c (diff) | |
download | el_releases-nfv-access-d6be45dbae3cc0e2df7f92f6b855126e21051952.tar.gz |
Updating the structuring and pictures of ENA example-usecases.
Change-Id: If2026f111c8004e31f329df56c63d9d7e0ad5eab
Diffstat (limited to 'doc/book-enea-nfv-access-example-usecases/doc/clav_vnf_examples.xml')
-rw-r--r-- | doc/book-enea-nfv-access-example-usecases/doc/clav_vnf_examples.xml | 174 |
1 files changed, 98 insertions, 76 deletions
diff --git a/doc/book-enea-nfv-access-example-usecases/doc/clav_vnf_examples.xml b/doc/book-enea-nfv-access-example-usecases/doc/clav_vnf_examples.xml index 570ea7a..f8ac57d 100644 --- a/doc/book-enea-nfv-access-example-usecases/doc/clav_vnf_examples.xml +++ b/doc/book-enea-nfv-access-example-usecases/doc/clav_vnf_examples.xml | |||
@@ -2,6 +2,9 @@ | |||
2 | <chapter id="clav_vnf_example"> | 2 | <chapter id="clav_vnf_example"> |
3 | <title>Clavister VNF Example Use-cases</title> | 3 | <title>Clavister VNF Example Use-cases</title> |
4 | 4 | ||
5 | <para>The Clavister VNF is a telco-ready, carrier-grade virtual next | ||
6 | generation firewall.</para> | ||
7 | |||
5 | <section id="prere_clav_vnf"> | 8 | <section id="prere_clav_vnf"> |
6 | <title>Prerequisites</title> | 9 | <title>Prerequisites</title> |
7 | 10 | ||
@@ -33,7 +36,7 @@ | |||
33 | Open vSwitch bridge, while uCPE device 2 will run two iPerf VNFs.</para> | 36 | Open vSwitch bridge, while uCPE device 2 will run two iPerf VNFs.</para> |
34 | 37 | ||
35 | <figure> | 38 | <figure> |
36 | <title>Clavister VNF Example Overview</title> | 39 | <title>Clavister VNF using Open vSwitch Bridge Overview</title> |
37 | 40 | ||
38 | <mediaobject> | 41 | <mediaobject> |
39 | <imageobject> | 42 | <imageobject> |
@@ -44,9 +47,9 @@ | |||
44 | </figure> | 47 | </figure> |
45 | 48 | ||
46 | <section id="clav_vnf_setup_1"> | 49 | <section id="clav_vnf_setup_1"> |
47 | <title>uCPE device Setup</title> | 50 | <title>Use-case Setup</title> |
48 | 51 | ||
49 | <para><emphasis role="bold">Configure Network interfaces on the uCPE | 52 | <para><emphasis role="bold">Configuring Network Interfaces on uCPE |
50 | devices:</emphasis></para> | 53 | devices:</emphasis></para> |
51 | 54 | ||
52 | <orderedlist> | 55 | <orderedlist> |
@@ -80,10 +83,8 @@ | |||
80 | interface and creating another OVS bridge.</para> | 83 | interface and creating another OVS bridge.</para> |
81 | </listitem> | 84 | </listitem> |
82 | </orderedlist> | 85 | </orderedlist> |
83 | </section> | ||
84 | 86 | ||
85 | <section id="onboard_vnf_clav"> | 87 | <para><emphasis role="bold">Onboarding the VNFs:</emphasis></para> |
86 | <title>Onboard the VNFs</title> | ||
87 | 88 | ||
88 | <orderedlist> | 89 | <orderedlist> |
89 | <listitem> | 90 | <listitem> |
@@ -121,63 +122,70 @@ | |||
121 | </itemizedlist> | 122 | </itemizedlist> |
122 | </listitem> | 123 | </listitem> |
123 | </orderedlist> | 124 | </orderedlist> |
124 | </section> | ||
125 | 125 | ||
126 | <section id="instance_vnfs_clav"> | 126 | <para><emphasis role="bold">Instantiating the VNFs:</emphasis></para> |
127 | <title>Instantiate the VNFs</title> | ||
128 | 127 | ||
129 | <para><emphasis role="bold">A) Instantiate the Clavister VNF on uCPE | 128 | <itemizedlist> |
130 | device 1:</emphasis></para> | ||
131 | |||
132 | <orderedlist> | ||
133 | <listitem> | 129 | <listitem> |
134 | <para>Select uCPE device 1, then from the top toolbar: | 130 | <para><emphasis role="bold">A) Instantiate the Clavister VNF on uCPE |
135 | <literal>VNF</literal> -> <literal>Instances</literal> -> | 131 | device 1:</emphasis></para> |
136 | <literal>Add</literal>.</para> | 132 | |
133 | <orderedlist> | ||
134 | <listitem> | ||
135 | <para>Select uCPE device 1, then from the top toolbar: | ||
136 | <literal>VNF</literal> -> <literal>Instances</literal> -> | ||
137 | <literal>Add</literal>.</para> | ||
138 | </listitem> | ||
139 | |||
140 | <listitem> | ||
141 | <para>Fill in the required information about the Clavister VNF, | ||
142 | (the default network configuration can be used) and select | ||
143 | <literal>Create</literal>.</para> | ||
144 | </listitem> | ||
145 | </orderedlist> | ||
137 | </listitem> | 146 | </listitem> |
138 | 147 | ||
139 | <listitem> | 148 | <listitem> |
140 | <para>Fill in the required information about the Clavister VNF, (the | 149 | <para><emphasis role="bold">B) Instantiate two Enea VNFs (one as the |
141 | default network configuration can be used) and select | 150 | client and one as the server) on uCPE device 2:</emphasis></para> |
142 | <literal>Create</literal>.</para> | ||
143 | </listitem> | ||
144 | </orderedlist> | ||
145 | 151 | ||
146 | <para><emphasis role="bold">B) Instantiate two Enea VNFs (one as the | 152 | <orderedlist> |
147 | client and one as the server) on uCPE device 2:</emphasis></para> | 153 | <listitem> |
154 | <para>Select uCPE device 2, then from the top toolbar: | ||
155 | <literal>VNF</literal> -> <literal>Instances</literal> -> | ||
156 | <literal>Add</literal>.</para> | ||
157 | </listitem> | ||
148 | 158 | ||
149 | <orderedlist> | 159 | <listitem> |
150 | <listitem> | 160 | <para>In the new <literal>VNF Instance</literal> window, select |
151 | <para>Select uCPE device 2, then from the top toolbar: | 161 | the Enea VNF from the dropdown menu, configure it to act as a |
152 | <literal>VNF</literal> -> <literal>Instances</literal> -> | 162 | server by unchecking the <literal>Client mode IPerf</literal> |
153 | <literal>Add</literal>.</para> | 163 | box, and then click <literal>Create</literal>.</para> |
154 | </listitem> | 164 | </listitem> |
155 | 165 | ||
156 | <listitem> | 166 | <listitem> |
157 | <para>In the new <literal>VNF Instance</literal> window, select the | 167 | <para>Select <literal>Add</literal> once more, enable the |
158 | Enea VNF from the dropdown menu, configure it to act as a server by | 168 | <literal>Client mode IPerf</literal> checkbox this time, and |
159 | unchecking the <literal>Client mode IPerf</literal> box, and then | 169 | click <literal>Create</literal> to instantiate the second |
160 | click <literal>Create</literal>.</para> | 170 | <literal>iPerf VNF</literal> as a client, and to run it in |
171 | client mode.</para> | ||
172 | </listitem> | ||
173 | </orderedlist> | ||
161 | </listitem> | 174 | </listitem> |
175 | </itemizedlist> | ||
176 | </section> | ||
162 | 177 | ||
163 | <listitem> | 178 | <section id="test_clav_uc_1"> |
164 | <para>Select <literal>Add</literal> once more, enable the | 179 | <title>Testing the Use-case</title> |
165 | <literal>Client mode IPerf</literal> checkbox this time, and click | ||
166 | <literal>Create</literal> to instantiate the second <literal>iPerf | ||
167 | VNF</literal> as a client, and to run it in client mode.</para> | ||
168 | </listitem> | ||
169 | 180 | ||
170 | <listitem> | 181 | <para>In order to check that traffic is forwarded between the two VNFs, |
171 | <para>In order to check that traffic is forwarded between the two | 182 | connect to the iPerf VNF client console: <literal>SSH</literal> -> |
172 | VNFs, connect to the iPerf VNF client console: | 183 | <literal>user</literal> (root) -> <literal>Connect</literal> and run |
173 | <literal>SSH</literal> -> <literal>user</literal> (root) -> | 184 | the following:</para> |
174 | <literal>Connect</literal> and run the following:</para> | ||
175 | 185 | ||
176 | <programlisting>virsh list | 186 | <programlisting>virsh list |
177 | virsh console | 187 | virsh console |
178 | root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting> | 188 | root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting> |
179 | </listitem> | ||
180 | </orderedlist> | ||
181 | </section> | 189 | </section> |
182 | </section> | 190 | </section> |
183 | 191 | ||
@@ -189,7 +197,7 @@ root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting> | |||
189 | using SR-IOV with two virtual functions (vf1 and vf2):</para> | 197 | using SR-IOV with two virtual functions (vf1 and vf2):</para> |
190 | 198 | ||
191 | <figure> | 199 | <figure> |
192 | <title>Example Overview</title> | 200 | <title>Clavister VNF using SR-IOV Overview</title> |
193 | 201 | ||
194 | <mediaobject> | 202 | <mediaobject> |
195 | <imageobject> | 203 | <imageobject> |
@@ -200,16 +208,19 @@ root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting> | |||
200 | </figure> | 208 | </figure> |
201 | 209 | ||
202 | <section id="clav_vnf_setup_2"> | 210 | <section id="clav_vnf_setup_2"> |
203 | <title>Example Setup</title> | 211 | <title>Use-case Setup</title> |
212 | |||
213 | <para><emphasis role="bold">Configuring Network Interfaces on uCPE | ||
214 | devices:</emphasis></para> | ||
204 | 215 | ||
205 | <orderedlist> | 216 | <orderedlist> |
206 | <listitem> | 217 | <listitem> |
207 | <para>On uCPE device 2, create an SR-IOV configuration with 2 | 218 | <para>On uCPE device 2, create an SR-IOV configuration with 2 |
208 | virtual functions by selecting <literal>Configuration</literal> | 219 | virtual functions by selecting <literal>Configuration</literal> |
209 | -> <literal>OpenVSwitch</literal> -> <literal>Host | 220 | -> <literal>OpenVSwitch</literal> -> <literal>Host |
210 | Interfaces</literal> -> <literal>Add</literal>:</para> | 221 | Interfaces</literal> -> <literal>Add</literal>.</para> |
211 | 222 | ||
212 | <figure> | 223 | <figure condition="hidden"> |
213 | <title>SR-IOV configuration with 2 virtual functions</title> | 224 | <title>SR-IOV configuration with 2 virtual functions</title> |
214 | 225 | ||
215 | <mediaobject> | 226 | <mediaobject> |
@@ -222,6 +233,30 @@ root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting> | |||
222 | </listitem> | 233 | </listitem> |
223 | 234 | ||
224 | <listitem> | 235 | <listitem> |
236 | <para>On uCPE device 1, create an SR-IOV interface as done in step | ||
237 | 1.</para> | ||
238 | </listitem> | ||
239 | |||
240 | <listitem> | ||
241 | <para>Create the iPerf server on uCPE device 1 and select | ||
242 | <literal>SrIovAdapterPool</literal> as an Interface type.</para> | ||
243 | </listitem> | ||
244 | |||
245 | <listitem> | ||
246 | <para>Create the iPerf client on uCPE device 1. Select | ||
247 | <literal>SrIovAdapterPool</literal> as an Interface type and tick | ||
248 | the <literal>Client mode IPerf</literal> checkbox.</para> | ||
249 | </listitem> | ||
250 | </orderedlist> | ||
251 | |||
252 | <para><emphasis role="bold">Onboarding the VNFs:</emphasis></para> | ||
253 | |||
254 | <para>????</para> | ||
255 | |||
256 | <para><emphasis role="bold">Instantiating the VNFs:</emphasis></para> | ||
257 | |||
258 | <orderedlist> | ||
259 | <listitem> | ||
225 | <para>Instantiate the Clavister VNF on uCPE device 2: | 260 | <para>Instantiate the Clavister VNF on uCPE device 2: |
226 | <literal>VNF</literal> -> <literal>Instances</literal> -> | 261 | <literal>VNF</literal> -> <literal>Instances</literal> -> |
227 | <literal>Add</literal>.</para> | 262 | <literal>Add</literal>.</para> |
@@ -232,7 +267,7 @@ root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting> | |||
232 | type for both Interface 1 type and 2 type, before clicking | 267 | type for both Interface 1 type and 2 type, before clicking |
233 | <literal>Create</literal>.</para> | 268 | <literal>Create</literal>.</para> |
234 | 269 | ||
235 | <figure> | 270 | <figure condition="hidden"> |
236 | <title>Instantiating the Clavister VNF on uCPE device 2</title> | 271 | <title>Instantiating the Clavister VNF on uCPE device 2</title> |
237 | 272 | ||
238 | <mediaobject> | 273 | <mediaobject> |
@@ -243,33 +278,20 @@ root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting> | |||
243 | </mediaobject> | 278 | </mediaobject> |
244 | </figure> | 279 | </figure> |
245 | </listitem> | 280 | </listitem> |
281 | </orderedlist> | ||
282 | </section> | ||
246 | 283 | ||
247 | <listitem> | 284 | <section id="test_clav_uc_2"> |
248 | <para>On uCPE device 1, create an SR-IOV interface as done in step | 285 | <title>Testing the Use-case</title> |
249 | 1.</para> | ||
250 | </listitem> | ||
251 | |||
252 | <listitem> | ||
253 | <para>Create the iPerf server on uCPE device 1 and select | ||
254 | <literal>SrIovAdapterPool</literal> as an Interface type.</para> | ||
255 | </listitem> | ||
256 | 286 | ||
257 | <listitem> | 287 | <para>In order to check that traffic is forwarded between the VNFs, |
258 | <para>Create the iPerf client on uCPE device 1. Select | 288 | connect to the iPerf VNF client console by using: <literal>SSH</literal> |
259 | <literal>SrIovAdapterPool</literal> as an Interface type and tick | 289 | -> <literal>user</literal> (root) -><literal>Connect</literal> and |
260 | the <literal>Client mode IPerf</literal> checkbox.</para> | 290 | run the following commands:</para> |
261 | </listitem> | ||
262 | 291 | ||
263 | <listitem> | 292 | <programlisting>virsh list |
264 | <para>In order to check that traffic is forwarded between the VNFs, | ||
265 | connect to the iPerf VNF client console by using: | ||
266 | <literal>SSH</literal> -> <literal>user</literal> (root) | ||
267 | -><literal>Connect</literal> and run the following commands: | ||
268 | <programlisting>virsh list | ||
269 | virsh console | 293 | virsh console |
270 | root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting></para> | 294 | root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting> |
271 | </listitem> | ||
272 | </orderedlist> | ||
273 | </section> | 295 | </section> |
274 | </section> | 296 | </section> |
275 | </chapter> \ No newline at end of file | 297 | </chapter> \ No newline at end of file |