diff options
author | mrpa <miruna.paun@enea.com> | 2021-04-09 10:45:40 +0200 |
---|---|---|
committer | Miruna Paun <mrpa@enea.se> | 2021-04-09 11:48:15 +0100 |
commit | 43021dae86481d75899c7e512f6d2f9cd9dce48a (patch) | |
tree | d528b0979bb9bf8099113671dca050b2d8fd9ba9 /doc/book-enea-edge-example-usecases/doc/appendix_5.xml | |
parent | 722fc206fafbc809f6b664fa403e06fd2b12591b (diff) | |
parent | 13dbb438ecad3d66173994a2f300497a6d9d15c0 (diff) | |
download | nfv-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.xml | 244 |
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>> 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>> cd automation_framework/unittestSuite/ | ||
63 | > python unittestSuite.py -u admin -p admin -H 172.24.3.92 -n inteld1521-17 \ | ||
64 | -s 128tDeploy.json -d "128T Deployment" | ||
65 | |||
66 | Running 128T Deployment... | ||
67 | |||
68 | test 001: Wait VCPE Agent device be up (__main__.UnittestSuite) ... | ||
69 | 2020-08-26 10:10:05,517 - INFO: Wait uCPE device | ||
70 | 2020-08-26 10:10:36,650 - INFO: Status: Connected | ||
71 | 2020-08-26 10:10:36,651 - INFO: Done | ||
72 | ok | ||
73 | test 002: Bind NIC to DPDK for LAN connection (__main__.UnittestSuite) ... | ||
74 | 2020-08-26 10:10:36,686 - INFO: Bind NIC | ||
75 | 2020-08-26 10:10:37,788 - INFO: Done | ||
76 | ok | ||
77 | test 003: Creating ibm bridge (__main__.UnittestSuite) ... | ||
78 | 2020-08-26 10:10:37,818 - INFO: New OVS network bridge | ||
79 | 2020-08-26 10:10:58,762 - INFO: Done | ||
80 | ok | ||
81 | test 004: Creating VNF Management bridge (__main__.UnittestSuite) ... | ||
82 | 2020-08-26 10:10:58,794 - INFO: New OVS network bridge | ||
83 | 2020-08-26 10:10:58,977 - INFO: Done | ||
84 | ok | ||
85 | test 005: Creating LAN bridge and attaching lan interface to the bridge \ | ||
86 | (__main__.UnittestSuite) ... | ||
87 | 2020-08-26 10:10:59,003 - INFO: New OVS network bridge | ||
88 | 2020-08-26 10:10:59,334 - INFO: Done | ||
89 | ok | ||
90 | test 006: Onboarding 128T VNF (wizard API) (__main__.UnittestSuite) ... | ||
91 | 2020-08-26 10:10:59,370 - INFO: Onboard wizard | ||
92 | 2020-08-26 10:13:55,775 - INFO: Done | ||
93 | ok | ||
94 | test 007: Instantiate 128T VNF (__main__.UnittestSuite) ... | ||
95 | 2020-08-26 10:13:55,813 - INFO: Instantiate VNF | ||
96 | 2020-08-26 10:14:56,583 - INFO: Done | ||
97 | ok | ||
98 | |||
99 | ---------------------------------------------------------------------- | ||
100 | Ran 7 tests in 291.103s | ||
101 | |||
102 | OK | ||
103 | |||
104 | > python unittestSuite.py -u admin -p admin -H 172.24.3.92 -n inteld1521-17 \ | ||
105 | -s 128tCleanup.json -d "128T Cleanup" | ||
106 | |||
107 | Running 128T Cleanup... | ||
108 | |||
109 | test 001: Destroying 128T VNF (__main__.UnittestSuite) ... | ||
110 | 2020-08-26 10:15:28,395 - INFO: Destroy VNF | ||
111 | 2020-08-26 10:15:29,452 - INFO: Done | ||
112 | ok | ||
113 | test 002: Deleting network bridge LAN (__main__.UnittestSuite) ... | ||
114 | 2020-08-26 10:15:29,493 - INFO: Delete OVS network bridge | ||
115 | 2020-08-26 10:15:29,734 - INFO: Done | ||
116 | ok | ||
117 | test 003: Deleting VNF management bridge (__main__.UnittestSuite) ... | ||
118 | 2020-08-26 10:15:29,765 - INFO: Delete OVS network bridge | ||
119 | 2020-08-26 10:15:30,080 - INFO: Done | ||
120 | ok | ||
121 | test 004: Deleting ibm(In Band Management) bridge (__main__.UnittestSuite) ... | ||
122 | 2020-08-26 10:15:30,110 - INFO: Delete OVS network bridge | ||
123 | 2020-08-26 10:15:46,907 - INFO: Done | ||
124 | ok | ||
125 | test 005: Unbind LAN NIC from DPDK target (__main__.UnittestSuite) ... | ||
126 | 2020-08-26 10:15:46,967 - INFO: Unbind NIC | ||
127 | 2020-08-26 10:15:48,489 - INFO: Done | ||
128 | ok | ||
129 | test 006: Offboarding 128t VNF (__main__.UnittestSuite) ... | ||
130 | 2020-08-26 10:15:48,531 - INFO: Offboard VNF | ||
131 | 2020-08-26 10:15:49,171 - INFO: Done | ||
132 | ok | ||
133 | |||
134 | ---------------------------------------------------------------------- | ||
135 | Ran 6 tests in 20.808s | ||
136 | |||
137 | OK</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>> 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 | |||
147 | Running 128T - Fortigate SFC Deployment... | ||
148 | |||
149 | test 001: Wait VCPE Agent device be up (__main__.UnittestSuite) ... | ||
150 | 2020-08-26 10:17:29,361 - INFO: Wait uCPE device | ||
151 | 2020-08-26 10:18:00,473 - INFO: Status: Connected | ||
152 | 2020-08-26 10:18:00,474 - INFO: Done | ||
153 | ok | ||
154 | test 002: Bind NIC to DPDK for LAN connection (__main__.UnittestSuite) ... | ||
155 | 2020-08-26 10:18:00,634 - INFO: Bind NIC | ||
156 | 2020-08-26 10:18:01,805 - INFO: Done | ||
157 | ok | ||
158 | test 003: Creating ibm bridge (__main__.UnittestSuite) ... | ||
159 | 2020-08-26 10:18:01,863 - INFO: New OVS network bridge | ||
160 | 2020-08-26 10:18:30,640 - INFO: Done | ||
161 | ok | ||
162 | test 004: Creating VNF Management bridge (__main__.UnittestSuite) ... | ||
163 | 2020-08-26 10:18:30,670 - INFO: New OVS network bridge | ||
164 | 2020-08-26 10:18:30,876 - INFO: Done | ||
165 | ok | ||
166 | test 005: Creating LAN bridge and attaching lan interface to the bridge \ | ||
167 | (__main__.UnittestSuite) ... | ||
168 | 2020-08-26 10:18:30,908 - INFO: New OVS network bridge | ||
169 | 2020-08-26 10:18:31,243 - INFO: Done | ||
170 | ok | ||
171 | test 006: Creating SFC(service function chaining) bridge (__main__.UnittestSuite) ... | ||
172 | 2020-08-26 10:18:31,273 - INFO: New OVS network bridge | ||
173 | 2020-08-26 10:18:31,416 - INFO: Done | ||
174 | ok | ||
175 | test 007: Onboarding 128T VNF (wizard API) (__main__.UnittestSuite) ... | ||
176 | 2020-08-26 10:18:31,448 - INFO: Onboard wizard | ||
177 | 2020-08-26 10:21:21,569 - INFO: Done | ||
178 | ok | ||
179 | test 008: Onboarding Fortigate VNF (wizard API) (__main__.UnittestSuite) ... | ||
180 | 2020-08-26 10:21:21,608 - INFO: Onboard wizard | ||
181 | 2020-08-26 10:21:27,199 - INFO: Done | ||
182 | ok | ||
183 | test 009: Instantiate 128T VNF (__main__.UnittestSuite) ... | ||
184 | 2020-08-26 10:21:27,226 - INFO: Instantiate VNF | ||
185 | 2020-08-26 10:22:27,067 - INFO: Done | ||
186 | ok | ||
187 | test 010: Instantiate Fortigate VNF (__main__.UnittestSuite) ... | ||
188 | 2020-08-26 10:22:27,121 - INFO: Instantiate VNF | ||
189 | 2020-08-26 10:22:31,310 - INFO: Done | ||
190 | ok | ||
191 | |||
192 | ---------------------------------------------------------------------- | ||
193 | Ran 10 tests in 301.989s | ||
194 | |||
195 | OK | ||
196 | |||
197 | > 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 | |||
200 | Running 128T - Fortigate SFC Cleanup... | ||
201 | |||
202 | test 001: Destroying Fortigate VNF (__main__.UnittestSuite) ... | ||
203 | 2020-08-26 10:23:29,308 - INFO: Destroy VNF | ||
204 | 2020-08-26 10:23:30,026 - INFO: Done | ||
205 | ok | ||
206 | test 002: Destroying 128T VNF (__main__.UnittestSuite) ... | ||
207 | 2020-08-26 10:23:30,065 - INFO: Destroy VNF | ||
208 | 2020-08-26 10:23:30,917 - INFO: Done | ||
209 | ok | ||
210 | test 003: Deleting network bridge SFC (__main__.UnittestSuite) ... | ||
211 | 2020-08-26 10:23:30,960 - INFO: Delete OVS network bridge | ||
212 | 2020-08-26 10:23:31,123 - INFO: Done | ||
213 | ok | ||
214 | test 004: Deleting network bridge LAN (__main__.UnittestSuite) ... | ||
215 | 2020-08-26 10:23:31,156 - INFO: Delete OVS network bridge | ||
216 | 2020-08-26 10:23:31,381 - INFO: Done | ||
217 | ok | ||
218 | test 005: Deleting VNF management bridge (__main__.UnittestSuite) ... | ||
219 | 2020-08-26 10:23:31,412 - INFO: Delete OVS network bridge | ||
220 | 2020-08-26 10:23:31,596 - INFO: Done | ||
221 | ok | ||
222 | test 006: Deleting ibm(In Band Management) bridge (__main__.UnittestSuite) ... | ||
223 | 2020-08-26 10:23:31,621 - INFO: Delete OVS network bridge | ||
224 | 2020-08-26 10:23:47,980 - INFO: Done | ||
225 | ok | ||
226 | test 007: Unbind LAN NIC from DPDK target (__main__.UnittestSuite) ... | ||
227 | 2020-08-26 10:23:48,019 - INFO: Unbind NIC | ||
228 | 2020-08-26 10:23:49,547 - INFO: Done | ||
229 | ok | ||
230 | test 008: Offboarding 128t VNF (__main__.UnittestSuite) ... | ||
231 | 2020-08-26 10:23:49,575 - INFO: Offboard VNF | ||
232 | 2020-08-26 10:23:50,252 - INFO: Done | ||
233 | ok | ||
234 | test 009: Offboarding Fortigate VNF (__main__.UnittestSuite) ... | ||
235 | 2020-08-26 10:23:50,295 - INFO: Offboard VNF | ||
236 | 2020-08-26 10:23:50,589 - INFO: Done | ||
237 | ok | ||
238 | |||
239 | ---------------------------------------------------------------------- | ||
240 | Ran 9 tests in 21.326s | ||
241 | |||
242 | OK</programlisting> | ||
243 | </section> | ||
244 | </appendix> \ No newline at end of file | ||