diff options
Diffstat (limited to 'doc/book-enea-nfv-access-example-usecases/doc')
-rw-r--r-- | doc/book-enea-nfv-access-example-usecases/doc/clav_vnf_examples.xml | 6 | ||||
-rw-r--r-- | doc/book-enea-nfv-access-example-usecases/doc/enea_vnf_examples.xml | 92 | ||||
-rwxr-xr-x | doc/book-enea-nfv-access-example-usecases/doc/images/traffic_forward.png | bin | 20226 -> 20450 bytes | |||
-rwxr-xr-x | doc/book-enea-nfv-access-example-usecases/doc/images/traffic_terminate.png | bin | 20096 -> 20490 bytes | |||
-rw-r--r-- | doc/book-enea-nfv-access-example-usecases/doc/vnf_chaining.xml | 49 |
5 files changed, 107 insertions, 40 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 eca3c99..ac27ba8 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 | |||
@@ -24,8 +24,8 @@ | |||
24 | VNF and an Open vSwitch Bridge</emphasis></para> | 24 | VNF and an Open vSwitch Bridge</emphasis></para> |
25 | 25 | ||
26 | <orderedlist> | 26 | <orderedlist> |
27 | <para><emphasis role="bold">Network Configuration for target_1 and | 27 | <para><emphasis role="bold">Configure the Network on target_1 and |
28 | target_2</emphasis></para> | 28 | target_2:</emphasis></para> |
29 | 29 | ||
30 | <listitem> | 30 | <listitem> |
31 | <para>From the uCPE Manager select the target_1: | 31 | <para>From the uCPE Manager select the target_1: |
@@ -264,4 +264,4 @@ root@qemux86-64:~# iperf3 -c 192.168.10.10</programlisting></para> | |||
264 | </listitem> | 264 | </listitem> |
265 | </orderedlist> | 265 | </orderedlist> |
266 | </section> | 266 | </section> |
267 | </chapter> \ No newline at end of file | 267 | </chapter> |
diff --git a/doc/book-enea-nfv-access-example-usecases/doc/enea_vnf_examples.xml b/doc/book-enea-nfv-access-example-usecases/doc/enea_vnf_examples.xml index 9ec4861..cfb9b72 100644 --- a/doc/book-enea-nfv-access-example-usecases/doc/enea_vnf_examples.xml +++ b/doc/book-enea-nfv-access-example-usecases/doc/enea_vnf_examples.xml | |||
@@ -1,4 +1,4 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <chapter id="enea_vnf_examples"> | 2 | <chapter id="enea_vnf_examples"> |
3 | <title>Enea VNF Example Use-cases</title> | 3 | <title>Enea VNF Example Use-cases</title> |
4 | 4 | ||
@@ -23,12 +23,15 @@ | |||
23 | <para><emphasis role="bold">How to setup the Enea VNF | 23 | <para><emphasis role="bold">How to setup the Enea VNF |
24 | Example</emphasis></para> | 24 | Example</emphasis></para> |
25 | 25 | ||
26 | <para><emphasis role="bold">Configure the Network on target_1 and | ||
27 | target_2:</emphasis></para> | ||
28 | |||
26 | <orderedlist> | 29 | <orderedlist> |
27 | <listitem> | 30 | <listitem> |
28 | <para>Bind the host interfaces to the DPDK by selecting the target_1: | 31 | <para>Bind the host interfaces to the DPDK by selecting the target |
29 | <literal>Configuration</literal> -> <literal>OpenVSwitch</literal> | 32 | first, then accessing <literal>Configuration</literal> -> |
30 | -> <literal>Host Interfaces</literal> -> | 33 | <literal>OpenVSwitch</literal> -> <literal>Host |
31 | <literal>Add</literal>:</para> | 34 | Interfaces</literal> -> <literal>Add</literal>:</para> |
32 | 35 | ||
33 | <figure> | 36 | <figure> |
34 | <title>Adding OVS Host Interfaces</title> | 37 | <title>Adding OVS Host Interfaces</title> |
@@ -61,16 +64,25 @@ | |||
61 | 64 | ||
62 | <listitem> | 65 | <listitem> |
63 | <para>Select the <literal>Create</literal> button to send the | 66 | <para>Select the <literal>Create</literal> button to send the |
64 | configuration to the target. The same steps must also be performed on | 67 | configuration to the target.</para> |
65 | the target_2.</para> | ||
66 | </listitem> | 68 | </listitem> |
67 | 69 | ||
68 | <listitem> | 70 | <listitem> |
71 | <para>Repeat the same steps on the target_2.</para> | ||
72 | </listitem> | ||
73 | </orderedlist> | ||
74 | |||
75 | <para><emphasis role="bold">Create an OpenVSwitch bridge on | ||
76 | target_1:</emphasis></para> | ||
77 | |||
78 | <orderedlist> | ||
79 | <listitem> | ||
69 | <para>Create an OpenVSwitch bridge (<literal>ovsbr0</literal>) on | 80 | <para>Create an OpenVSwitch bridge (<literal>ovsbr0</literal>) on |
70 | target_1 that uses one DPDK interface, by selecting the | 81 | target_1 that uses one DPDK interface, by selecting the |
71 | <literal>Add</literal> button from the Bridges tab and then selcting: | 82 | <literal>Add</literal> button from the Bridges tab and then selecting |
72 | <literal>Configuration</literal> -> | 83 | the target first, then accessing <literal>Configuration</literal> |
73 | <literal>OpenVSwitch</literal>-> <literal>Bridges</literal>:</para> | 84 | -> <literal>OpenVSwitch</literal>-> |
85 | <literal>Bridges</literal>:</para> | ||
74 | 86 | ||
75 | <figure> | 87 | <figure> |
76 | <title>OVS Bridge Table</title> | 88 | <title>OVS Bridge Table</title> |
@@ -94,18 +106,35 @@ | |||
94 | </mediaobject> | 106 | </mediaobject> |
95 | </figure> | 107 | </figure> |
96 | </listitem> | 108 | </listitem> |
109 | </orderedlist> | ||
110 | |||
111 | <para><emphasis role="bold">Onboard the TestPMD VNF on | ||
112 | target_2:</emphasis></para> | ||
113 | |||
114 | <para>Onboard the TestPMD VNF on target_2 by selecting the target, then accessing | ||
115 | <literal>VNF</literal> -> <literal>Descriptor</literal> -> <literal>Add</literal>.</para> | ||
116 | |||
117 | <para><emphasis role="bold">Instantiate the TestPMD VNF on | ||
118 | target_2:</emphasis></para> | ||
119 | |||
120 | <orderedlist> | ||
121 | <listitem> | ||
122 | <para>Instantiate TestPMD VNF (testpmd_fwd) on target_2 by selecting | ||
123 | the target first, then accessing <literal>VNF</literal> -> | ||
124 | <literal>Instances</literal> -> <literal>Add</literal>.</para> | ||
125 | </listitem> | ||
97 | 126 | ||
98 | <listitem> | 127 | <listitem> |
99 | <para>Instantiate the TestPMD VNFs on target_1 by selecting: | 128 | <para>Instantiate TestPMD VNF (testpmd_term) on target_2 by selecting |
100 | <literal>VNF</literal> -> <literal>Instances</literal> -> | 129 | the target first, then accessing <literal>VNF</literal> -> |
101 | <literal>Add</literal>.</para> | 130 | <literal>Instances</literal> -> <literal>Add</literal>.</para> |
102 | </listitem> | 131 | </listitem> |
103 | 132 | ||
104 | <listitem> | 133 | <listitem> |
105 | <para>Configure the VNF that forwards traffic:</para> | 134 | <para>Configure the VNF (testpmd_fwd) to forward trafic:</para> |
106 | 135 | ||
107 | <figure> | 136 | <figure> |
108 | <title>Configuring the fwdVNF</title> | 137 | <title>Configuring the VNF (testpmd_fwd)</title> |
109 | 138 | ||
110 | <mediaobject> | 139 | <mediaobject> |
111 | <imageobject> | 140 | <imageobject> |
@@ -117,7 +146,7 @@ | |||
117 | </listitem> | 146 | </listitem> |
118 | 147 | ||
119 | <listitem> | 148 | <listitem> |
120 | <para>Configure the VNF that terminates traffic:</para> | 149 | <para>Configure the VNF (testpmd_term) to terminate traffic:</para> |
121 | 150 | ||
122 | <figure> | 151 | <figure> |
123 | <title>Configuring the termVNF</title> | 152 | <title>Configuring the termVNF</title> |
@@ -158,30 +187,31 @@ | |||
158 | </listitem> | 187 | </listitem> |
159 | 188 | ||
160 | <listitem> | 189 | <listitem> |
161 | <para>Start pktgen on target_2. Connect to the target by using: | 190 | <para>Start pktgen on target_1. Connect to the target by selecting the |
162 | <literal>SSH</literal> -> <literal>user</literal> (root) and | 191 | target first, then accessing <literal>SSH</literal> -> |
163 | perform the following:</para> | 192 | <literal>user</literal> (root) and perform the following:</para> |
164 | 193 | ||
165 | <programlisting>killall ovsdb-server ovs-vswitchd | 194 | <programlisting>cd /usr/share/apps/pktgen/ |
166 | rm -rf /etc/openvswitch/* | ||
167 | mkdir -p /var/run/openvswitch | ||
168 | modprobe igb_uio | ||
169 | dpdk-devbind --bind=igb_uio 0000:05:00.3 | ||
170 | cd /usr/share/apps/pktgen/ | ||
171 | ./pktgen -c 0x7 -n 4 --proc-type auto --socket-mem 256 -w 0000:05:00.3 -- \ | 195 | ./pktgen -c 0x7 -n 4 --proc-type auto --socket-mem 256 -w 0000:05:00.3 -- \ |
172 | -P -m "[1:2].0" | 196 | -P -m "[1:2].0" |
173 | Pktgen:/> start 0</programlisting> | 197 | Pktgen:/> start 0</programlisting> |
198 | |||
199 | <note> | ||
200 | <para>The PCI address <0000:05:00.3> used in this example | ||
201 | varies depending on the target. To determine the exact PCI address | ||
202 | used, look in the target specific Network configuration.</para> | ||
203 | </note> | ||
174 | </listitem> | 204 | </listitem> |
175 | 205 | ||
176 | <listitem> | 206 | <listitem> |
177 | <para>Connect to the forwarder VNF in order to check the traffic | 207 | <para>Connect to the forwarder VNF in order to check the traffic |
178 | statistics by selecting target_1: <literal>SSH</literal> -> | 208 | statistics by selecting the target first, then accessing |
179 | <literal>user</literal> (root):</para> | 209 | <literal>SSH</literal> -> <literal>user</literal> (root):</para> |
180 | 210 | ||
181 | <programlisting>Virsh list | 211 | <programlisting>Virsh list |
182 | Virsh console 1 | 212 | Virsh console 1 |
183 | # Qemux86-64 login: root | 213 | # Qemux86-64 login: root |
184 | tail -f /opt/testpmd-out</programlisting> | 214 | tail -f /var/log/testpmd-out</programlisting> |
185 | 215 | ||
186 | <figure> | 216 | <figure> |
187 | <title>Traffic Statistics</title> | 217 | <title>Traffic Statistics</title> |
@@ -198,7 +228,7 @@ tail -f /opt/testpmd-out</programlisting> | |||
198 | </orderedlist> | 228 | </orderedlist> |
199 | </section> | 229 | </section> |
200 | 230 | ||
201 | <section id="vnf_pci"> | 231 | <section condition="hidden" id="vnf_pci"> |
202 | <title>TestPMD VNF using PCI passthrough</title> | 232 | <title>TestPMD VNF using PCI passthrough</title> |
203 | 233 | ||
204 | <para>In this use case, target 1 will run the Pktgen and target 2 will run | 234 | <para>In this use case, target 1 will run the Pktgen and target 2 will run |
@@ -271,4 +301,4 @@ Run: tail -f /opt/testpmd-out</programlisting> | |||
271 | </listitem> | 301 | </listitem> |
272 | </orderedlist> | 302 | </orderedlist> |
273 | </section> | 303 | </section> |
274 | </chapter> \ No newline at end of file | 304 | </chapter> |
diff --git a/doc/book-enea-nfv-access-example-usecases/doc/images/traffic_forward.png b/doc/book-enea-nfv-access-example-usecases/doc/images/traffic_forward.png index b9206ca..9c2ca82 100755 --- a/doc/book-enea-nfv-access-example-usecases/doc/images/traffic_forward.png +++ b/doc/book-enea-nfv-access-example-usecases/doc/images/traffic_forward.png | |||
Binary files differ | |||
diff --git a/doc/book-enea-nfv-access-example-usecases/doc/images/traffic_terminate.png b/doc/book-enea-nfv-access-example-usecases/doc/images/traffic_terminate.png index 545827f..9decd36 100755 --- a/doc/book-enea-nfv-access-example-usecases/doc/images/traffic_terminate.png +++ b/doc/book-enea-nfv-access-example-usecases/doc/images/traffic_terminate.png | |||
Binary files differ | |||
diff --git a/doc/book-enea-nfv-access-example-usecases/doc/vnf_chaining.xml b/doc/book-enea-nfv-access-example-usecases/doc/vnf_chaining.xml index 70d7add..3de347d 100644 --- a/doc/book-enea-nfv-access-example-usecases/doc/vnf_chaining.xml +++ b/doc/book-enea-nfv-access-example-usecases/doc/vnf_chaining.xml | |||
@@ -39,6 +39,42 @@ | |||
39 | </note> | 39 | </note> |
40 | </section> | 40 | </section> |
41 | 41 | ||
42 | <section id="prere"> | ||
43 | <title>Prerequisites</title> | ||
44 | |||
45 | <para>The following files are needed for this example use case:</para> | ||
46 | |||
47 | <itemizedlist> | ||
48 | <listitem> | ||
49 | <para>Juniper vSRX VNF image, vSRX-Site<x>.iso as the Cloud-Init | ||
50 | files. This VNF/image is not provided by Enea. Please contact Juniper | ||
51 | to get this image.</para> | ||
52 | </listitem> | ||
53 | |||
54 | <listitem> | ||
55 | <para>Fortigate VNF image. This VNF can be downloaded from <ulink | ||
56 | url="https://portal.enea.com/">Enea portal</ulink>.</para> | ||
57 | </listitem> | ||
58 | |||
59 | <listitem> | ||
60 | <para>vSRX-domain-update-script. This file can be downloaded from | ||
61 | <ulink url="https://portal.enea.com/">Enea portal</ulink>.</para> | ||
62 | </listitem> | ||
63 | |||
64 | <listitem> | ||
65 | <para>FortiFW-Site<x>.conf as Cloud-Init files. This file can be | ||
66 | downloaded from <ulink url="https://portal.enea.com/">Enea | ||
67 | portal</ulink>.</para> | ||
68 | </listitem> | ||
69 | |||
70 | <listitem> | ||
71 | <para>license as the Cloud-Init content in the Cloud-Init tab files. | ||
72 | For license files for the VNFs, please contact the VNF | ||
73 | provider.</para> | ||
74 | </listitem> | ||
75 | </itemizedlist> | ||
76 | </section> | ||
77 | |||
42 | <section id="crateing_setup"> | 78 | <section id="crateing_setup"> |
43 | <title>Creating the setup</title> | 79 | <title>Creating the setup</title> |
44 | 80 | ||
@@ -65,9 +101,9 @@ | |||
65 | </listitem> | 101 | </listitem> |
66 | 102 | ||
67 | <listitem> | 103 | <listitem> |
68 | <para><literal>wan_br</literal>. Used by the service uplink connection. In our case, | 104 | <para><literal>wan_br</literal>. Used by the service uplink |
69 | Juniper vSRX will have its WAN virtual interface in this | 105 | connection. In our case, Juniper vSRX will have its WAN virtual |
70 | bridge.</para> | 106 | interface in this bridge.</para> |
71 | </listitem> | 107 | </listitem> |
72 | 108 | ||
73 | <listitem> | 109 | <listitem> |
@@ -102,7 +138,7 @@ | |||
102 | <itemizedlist> | 138 | <itemizedlist> |
103 | <listitem> | 139 | <listitem> |
104 | <para>The Flavor selected must have at least 2 vCPUs and 4 GB RAM | 140 | <para>The Flavor selected must have at least 2 vCPUs and 4 GB RAM |
105 | since vSRX is quite resource consuming. </para> | 141 | since vSRX is quite resource consuming.</para> |
106 | 142 | ||
107 | <para>Tested-inhouse with 4 vCPUs/ 6 GB RAM.</para> | 143 | <para>Tested-inhouse with 4 vCPUs/ 6 GB RAM.</para> |
108 | </listitem> | 144 | </listitem> |
@@ -246,7 +282,8 @@ | |||
246 | accordingly. After the service is deployed on both branches, the VPN | 282 | accordingly. After the service is deployed on both branches, the VPN |
247 | tunnel is established and LAN to LAN visibility can be verified by | 283 | tunnel is established and LAN to LAN visibility can be verified by |
248 | connecting one device on each uCPE LAN port. See <link | 284 | connecting one device on each uCPE LAN port. See <link |
249 | linkend="test_setup">Testing the setup</link> for details on how to proceed.</para> | 285 | linkend="test_setup">Testing the setup</link> for details on how to |
286 | proceed.</para> | ||
250 | </section> | 287 | </section> |
251 | 288 | ||
252 | <section id="test_setup"> | 289 | <section id="test_setup"> |
@@ -358,4 +395,4 @@ PING 172.10.10.1 (172.10.10.2): 56 data bytes | |||
358 | </listitem> | 395 | </listitem> |
359 | </itemizedlist> | 396 | </itemizedlist> |
360 | </section> | 397 | </section> |
361 | </chapter> \ No newline at end of file | 398 | </chapter> |