summaryrefslogtreecommitdiffstats
path: root/doc/book-enea-edge-example-usecases/doc/appendix_5.xml
diff options
context:
space:
mode:
authormrpa <miruna.paun@enea.com>2021-04-09 10:45:40 +0200
committerMiruna Paun <mrpa@enea.se>2021-04-09 11:48:15 +0100
commit43021dae86481d75899c7e512f6d2f9cd9dce48a (patch)
treed528b0979bb9bf8099113671dca050b2d8fd9ba9 /doc/book-enea-edge-example-usecases/doc/appendix_5.xml
parent722fc206fafbc809f6b664fa403e06fd2b12591b (diff)
parent13dbb438ecad3d66173994a2f300497a6d9d15c0 (diff)
downloadnfv-access-documentation-43021dae86481d75899c7e512f6d2f9cd9dce48a.tar.gz
Merge the code from develop to master for 2.4.0Enea_NFV_Access_2.4.0hotfix_EDGESC-6feature_CPDX-3546EE240_HotFix1
Change-Id: Ibc844e001b7d75125d6006fa5333cc65bbf5afa4
Diffstat (limited to 'doc/book-enea-edge-example-usecases/doc/appendix_5.xml')
-rw-r--r--doc/book-enea-edge-example-usecases/doc/appendix_5.xml244
1 files changed, 244 insertions, 0 deletions
diff --git a/doc/book-enea-edge-example-usecases/doc/appendix_5.xml b/doc/book-enea-edge-example-usecases/doc/appendix_5.xml
new file mode 100644
index 0000000..abb4be8
--- /dev/null
+++ b/doc/book-enea-edge-example-usecases/doc/appendix_5.xml
@@ -0,0 +1,244 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<appendix id="appendix_five_cust">
3 <title>Example Tests Results using the Automation Framework and Test
4 Harness</title>
5
6 <para>In order to run the following example usecases, certain configuration
7 file entries need to be modified according to the network setup that it will
8 be used, for more details see the previous appendix:</para>
9
10 <itemizedlist spacing="compact">
11 <listitem>
12 <para>uCPE Device name: inteld1521-17</para>
13 </listitem>
14
15 <listitem>
16 <para>address: 172.24.8.62</para>
17 </listitem>
18
19 <listitem>
20 <para>version: 2.2.3</para>
21 </listitem>
22
23 <listitem>
24 <para>deviceId: inteld1521-17</para>
25 </listitem>
26 </itemizedlist>
27
28 <para><programlisting>&gt; cat lab_config/trgt-1/target.json
29{
30 "name": "inteld1521-17",
31 "deviceGroupingTags": " ",
32 "description": "trgt",
33 "address": "172.24.8.62",
34 "port": "830",
35 "username": "root",
36 "password": "",
37 "certificate": null,
38 "passphrase": null,
39 "callHome": "false",
40 "maintMode": "false",
41 "version": "2.2.3",
42 "deviceId": "inteld1521-17"
43}</programlisting>The IP address of Enea Edge Management application that will
44 be used in these examples is <literal>172.24.3.92</literal>.</para>
45
46 <para>The FortiGate and 128T VNF images need to be copied into the
47 <literal>vnf_image</literal> directory. The names should be the same as
48 those described in the previous appendix.</para>
49
50 <para>The FortiGate valid license file needs to be copied into the
51 <literal>vnf_config/fortigate/</literal> directory. The name should be the
52 same as that described in the previous appendix.</para>
53
54 <para>The cloud init files that match the network, need to be copied into
55 the <literal>vnf_config/fortigate/</literal> and the
56 <literal>vnf_config/128t/</literal> directories respectively. The names
57 should be the same as those described in the previous appendix.</para>
58
59 <section id="ap_d_uc1">
60 <title>Use-case 1: 128T VNF Router Example Use-case</title>
61
62 <programlisting>&gt; cd automation_framework/unittestSuite/
63&gt; python unittestSuite.py -u admin -p admin -H 172.24.3.92 -n inteld1521-17 \
64-s 128tDeploy.json -d "128T Deployment"
65
66Running 128T Deployment...
67
68test 001: Wait VCPE Agent device be up (__main__.UnittestSuite) ...
692020-08-26 10:10:05,517 - INFO: Wait uCPE device
702020-08-26 10:10:36,650 - INFO: Status: Connected
712020-08-26 10:10:36,651 - INFO: Done
72ok
73test 002: Bind NIC to DPDK for LAN connection (__main__.UnittestSuite) ...
742020-08-26 10:10:36,686 - INFO: Bind NIC
752020-08-26 10:10:37,788 - INFO: Done
76ok
77test 003: Creating ibm bridge (__main__.UnittestSuite) ...
782020-08-26 10:10:37,818 - INFO: New OVS network bridge
792020-08-26 10:10:58,762 - INFO: Done
80ok
81test 004: Creating VNF Management bridge (__main__.UnittestSuite) ...
822020-08-26 10:10:58,794 - INFO: New OVS network bridge
832020-08-26 10:10:58,977 - INFO: Done
84ok
85test 005: Creating LAN bridge and attaching lan interface to the bridge \
86(__main__.UnittestSuite) ...
872020-08-26 10:10:59,003 - INFO: New OVS network bridge
882020-08-26 10:10:59,334 - INFO: Done
89ok
90test 006: Onboarding 128T VNF (wizard API) (__main__.UnittestSuite) ...
912020-08-26 10:10:59,370 - INFO: Onboard wizard
922020-08-26 10:13:55,775 - INFO: Done
93ok
94test 007: Instantiate 128T VNF (__main__.UnittestSuite) ...
952020-08-26 10:13:55,813 - INFO: Instantiate VNF
962020-08-26 10:14:56,583 - INFO: Done
97ok
98
99----------------------------------------------------------------------
100Ran 7 tests in 291.103s
101
102OK
103
104&gt; python unittestSuite.py -u admin -p admin -H 172.24.3.92 -n inteld1521-17 \
105-s 128tCleanup.json -d "128T Cleanup"
106
107Running 128T Cleanup...
108
109test 001: Destroying 128T VNF (__main__.UnittestSuite) ...
1102020-08-26 10:15:28,395 - INFO: Destroy VNF
1112020-08-26 10:15:29,452 - INFO: Done
112ok
113test 002: Deleting network bridge LAN (__main__.UnittestSuite) ...
1142020-08-26 10:15:29,493 - INFO: Delete OVS network bridge
1152020-08-26 10:15:29,734 - INFO: Done
116ok
117test 003: Deleting VNF management bridge (__main__.UnittestSuite) ...
1182020-08-26 10:15:29,765 - INFO: Delete OVS network bridge
1192020-08-26 10:15:30,080 - INFO: Done
120ok
121test 004: Deleting ibm(In Band Management) bridge (__main__.UnittestSuite) ...
1222020-08-26 10:15:30,110 - INFO: Delete OVS network bridge
1232020-08-26 10:15:46,907 - INFO: Done
124ok
125test 005: Unbind LAN NIC from DPDK target (__main__.UnittestSuite) ...
1262020-08-26 10:15:46,967 - INFO: Unbind NIC
1272020-08-26 10:15:48,489 - INFO: Done
128ok
129test 006: Offboarding 128t VNF (__main__.UnittestSuite) ...
1302020-08-26 10:15:48,531 - INFO: Offboard VNF
1312020-08-26 10:15:49,171 - INFO: Done
132ok
133
134----------------------------------------------------------------------
135Ran 6 tests in 20.808s
136
137OK</programlisting>
138 </section>
139
140 <section id="ap_d_uc2">
141 <title>Use-case 2: Service Chaining 128T - Fortigate Example
142 Use-case</title>
143
144 <programlisting>&gt; python unittestSuite.py -u admin -p admin -H 172.24.3.92 -n inteld1521-17 \
145-s 128t_FG_SFCDeploy.json -d "128T - Fortigate SFC Deployment"
146
147Running 128T - Fortigate SFC Deployment...
148
149test 001: Wait VCPE Agent device be up (__main__.UnittestSuite) ...
1502020-08-26 10:17:29,361 - INFO: Wait uCPE device
1512020-08-26 10:18:00,473 - INFO: Status: Connected
1522020-08-26 10:18:00,474 - INFO: Done
153ok
154test 002: Bind NIC to DPDK for LAN connection (__main__.UnittestSuite) ...
1552020-08-26 10:18:00,634 - INFO: Bind NIC
1562020-08-26 10:18:01,805 - INFO: Done
157ok
158test 003: Creating ibm bridge (__main__.UnittestSuite) ...
1592020-08-26 10:18:01,863 - INFO: New OVS network bridge
1602020-08-26 10:18:30,640 - INFO: Done
161ok
162test 004: Creating VNF Management bridge (__main__.UnittestSuite) ...
1632020-08-26 10:18:30,670 - INFO: New OVS network bridge
1642020-08-26 10:18:30,876 - INFO: Done
165ok
166test 005: Creating LAN bridge and attaching lan interface to the bridge \
167(__main__.UnittestSuite) ...
1682020-08-26 10:18:30,908 - INFO: New OVS network bridge
1692020-08-26 10:18:31,243 - INFO: Done
170ok
171test 006: Creating SFC(service function chaining) bridge (__main__.UnittestSuite) ...
1722020-08-26 10:18:31,273 - INFO: New OVS network bridge
1732020-08-26 10:18:31,416 - INFO: Done
174ok
175test 007: Onboarding 128T VNF (wizard API) (__main__.UnittestSuite) ...
1762020-08-26 10:18:31,448 - INFO: Onboard wizard
1772020-08-26 10:21:21,569 - INFO: Done
178ok
179test 008: Onboarding Fortigate VNF (wizard API) (__main__.UnittestSuite) ...
1802020-08-26 10:21:21,608 - INFO: Onboard wizard
1812020-08-26 10:21:27,199 - INFO: Done
182ok
183test 009: Instantiate 128T VNF (__main__.UnittestSuite) ...
1842020-08-26 10:21:27,226 - INFO: Instantiate VNF
1852020-08-26 10:22:27,067 - INFO: Done
186ok
187test 010: Instantiate Fortigate VNF (__main__.UnittestSuite) ...
1882020-08-26 10:22:27,121 - INFO: Instantiate VNF
1892020-08-26 10:22:31,310 - INFO: Done
190ok
191
192----------------------------------------------------------------------
193Ran 10 tests in 301.989s
194
195OK
196
197&gt; python unittestSuite.py -u admin -p admin -H 172.24.3.92 -n inteld1521-17 \
198-s 128t_FG_SFCCleanup.json -d "128T - Fortigate SFC Cleanup"
199
200Running 128T - Fortigate SFC Cleanup...
201
202test 001: Destroying Fortigate VNF (__main__.UnittestSuite) ...
2032020-08-26 10:23:29,308 - INFO: Destroy VNF
2042020-08-26 10:23:30,026 - INFO: Done
205ok
206test 002: Destroying 128T VNF (__main__.UnittestSuite) ...
2072020-08-26 10:23:30,065 - INFO: Destroy VNF
2082020-08-26 10:23:30,917 - INFO: Done
209ok
210test 003: Deleting network bridge SFC (__main__.UnittestSuite) ...
2112020-08-26 10:23:30,960 - INFO: Delete OVS network bridge
2122020-08-26 10:23:31,123 - INFO: Done
213ok
214test 004: Deleting network bridge LAN (__main__.UnittestSuite) ...
2152020-08-26 10:23:31,156 - INFO: Delete OVS network bridge
2162020-08-26 10:23:31,381 - INFO: Done
217ok
218test 005: Deleting VNF management bridge (__main__.UnittestSuite) ...
2192020-08-26 10:23:31,412 - INFO: Delete OVS network bridge
2202020-08-26 10:23:31,596 - INFO: Done
221ok
222test 006: Deleting ibm(In Band Management) bridge (__main__.UnittestSuite) ...
2232020-08-26 10:23:31,621 - INFO: Delete OVS network bridge
2242020-08-26 10:23:47,980 - INFO: Done
225ok
226test 007: Unbind LAN NIC from DPDK target (__main__.UnittestSuite) ...
2272020-08-26 10:23:48,019 - INFO: Unbind NIC
2282020-08-26 10:23:49,547 - INFO: Done
229ok
230test 008: Offboarding 128t VNF (__main__.UnittestSuite) ...
2312020-08-26 10:23:49,575 - INFO: Offboard VNF
2322020-08-26 10:23:50,252 - INFO: Done
233ok
234test 009: Offboarding Fortigate VNF (__main__.UnittestSuite) ...
2352020-08-26 10:23:50,295 - INFO: Offboard VNF
2362020-08-26 10:23:50,589 - INFO: Done
237ok
238
239----------------------------------------------------------------------
240Ran 9 tests in 21.326s
241
242OK</programlisting>
243 </section>
244</appendix> \ No newline at end of file