summaryrefslogtreecommitdiffstats
path: root/doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/getting_started.xml
diff options
context:
space:
mode:
authorMiruna Paun <Miruna.Paun@enea.com>2019-05-10 12:39:56 +0200
committerMiruna Paun <Miruna.Paun@enea.com>2019-05-10 12:54:03 +0200
commitdb876bb0af8e7bf5f3a7a2ee9cea5d2f57af8678 (patch)
tree0d70b550db50183987c3cef5d01b3791f59e86c8 /doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/getting_started.xml
parentdf2c610bfad4cb36453b1f689dc561e43f95cce8 (diff)
downloadel_releases-nfv-access-db876bb0af8e7bf5f3a7a2ee9cea5d2f57af8678.tar.gz
Added AF TH User Guide Outline + ch1&2 proofed.
Change-Id: Ie6ae43e02f30dd6bba6532b84d41c8d4a5e0bbf9
Diffstat (limited to 'doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/getting_started.xml')
-rw-r--r--doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/getting_started.xml223
1 files changed, 223 insertions, 0 deletions
diff --git a/doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/getting_started.xml b/doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/getting_started.xml
new file mode 100644
index 0000000..b7ff8f4
--- /dev/null
+++ b/doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/getting_started.xml
@@ -0,0 +1,223 @@
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<chapter id="getting_started">
3 <title>Getting Started with the Automation Framework and Test
4 Harness</title>
5
6 <section id="prerequisites">
7 <title>Prerequisites</title>
8
9 <para>For installation of the Automation Framework and Test Harness a
10 CentOS 7 host machine is needed with support for:</para>
11
12 <itemizedlist>
13 <listitem>
14 <para>Python 2.7</para>
15 </listitem>
16
17 <listitem>
18 <para>EPEL Repository installed:<programlisting>sudo yum install epel-release</programlisting></para>
19 </listitem>
20
21 <listitem>
22 <para>PIP package manager installed: <programlisting>sudo yum -y install python-pip</programlisting></para>
23 </listitem>
24
25 <listitem>
26 <para>Virtualenv tool installed: <programlisting>sudo pip install virtualenv</programlisting></para>
27 </listitem>
28 </itemizedlist>
29
30 <note>
31 <para>The Automation Framework and Test Harness installation may be done
32 on the same machine used for uCPE Manager installation, although this is
33 not encouraged. For more details see <link linkend="automation">chapter
34 3.2</link>.</para>
35 </note>
36 </section>
37
38 <section id="envrion">
39 <title>Environment</title>
40
41 <para><figure>
42 <title>Lab setup overview for Basic Setup</title>
43
44 <mediaobject>
45 <imageobject>
46 <imagedata align="center"
47 fileref="images/environment_basicsetup.png" scale="35" />
48 </imageobject>
49 </mediaobject>
50 </figure>The following enviroment setup is needed for running all the
51 tests defined in the Enea NFV Access System Test Specification
52 document:</para>
53
54 <para><emphasis role="bold">Lab Network</emphasis><itemizedlist>
55 <listitem>
56 <para>DHCP enabled.</para>
57 </listitem>
58
59 <listitem>
60 <para>Internet Connectivity.</para>
61 </listitem>
62 </itemizedlist></para>
63
64 <para><emphasis role="bold">uCPE Manager host</emphasis></para>
65
66 <itemizedlist>
67 <listitem>
68 <para>Running CentOS 7.</para>
69 </listitem>
70
71 <listitem>
72 <para>Connected to Lab Network.</para>
73 </listitem>
74
75 <listitem>
76 <para>uCPE Manager installed.</para>
77
78 <note>
79 <para>For details on how to install the uCPE Manager, see "Getting
80 Started with Enea uCPE Manager" from the Enea NFV Access Getting
81 Started manual.</para>
82 </note>
83 </listitem>
84 </itemizedlist>
85
86 <para><emphasis role="bold">1<superscript>st</superscript> Intel Whitebox
87 target device</emphasis><itemizedlist>
88 <listitem>
89 <para>Minimum 4 Physical Network Devices.</para>
90 </listitem>
91
92 <listitem>
93 <para>4GB RAM and 4 cores (Intel C3000 or Xeon D).</para>
94 </listitem>
95
96 <listitem>
97 <para>2 Physical connections to Lab Network.</para>
98 </listitem>
99
100 <listitem>
101 <para>Enea NFV Access installed.</para>
102
103 <note>
104 <para>For information on how to install Enea NFV Access<remark>the
105 solution or the platform?</remark>, refer to "Getting Started with
106 Enea NFV Access" from the Enea NFV Access Getting Started
107 manual.</para>
108 </note>
109 </listitem>
110 </itemizedlist><figure>
111 <title>Lab setup overview for ChainedVNFsService Setup</title>
112
113 <mediaobject>
114 <imageobject>
115 <imagedata align="center"
116 fileref="images/ChainedVNFsService_setup.png"
117 scale="40" />
118 </imageobject>
119 </mediaobject>
120 </figure></para>
121
122 <para><emphasis role="bold">Changes to 1st Intel Whitebox target
123 device</emphasis></para>
124
125 <itemizedlist>
126 <listitem>
127 <para>16GB RAM and 8 cores (Intel C3000 or Xeon D).</para>
128 </listitem>
129
130 <listitem>
131 <para>1 Physical connection back to back with the 2nd Intel Whitebox
132 target device.</para>
133 </listitem>
134 </itemizedlist>
135
136 <para><emphasis role="bold">2<superscript>nd</superscript> Intel Whitebox
137 target device</emphasis><itemizedlist>
138 <listitem>
139 <para>Minimum 4 Physical Network Devices.</para>
140 </listitem>
141
142 <listitem>
143 <para>16GB RAM and 8 cores (Intel C3000 or Xeon D).</para>
144 </listitem>
145
146 <listitem>
147 <para>2 Physical connections to Lab Network.</para>
148 </listitem>
149
150 <listitem>
151 <para>1 Physical connection back to back with the
152 1<superscript>st</superscript> Intel Whitebox target device.</para>
153 </listitem>
154
155 <listitem>
156 <para>Enea NFV Access installed.</para>
157
158 <note>
159 <para>For information on how to install Enea NFV Access<remark>the
160 solution or the platform?</remark>, refer to "Getting Started with
161 Enea NFV Access" from the Enea NFV Access Getting Started
162 manual.</para>
163 </note>
164 </listitem>
165 </itemizedlist></para>
166 </section>
167
168 <section id="initial_setup">
169 <title>Installation and Initial Setup</title>
170
171 <para>Download <filename>nfvaccess22_af-th.zip</filename> from the Enea
172 Portal and unzip it on the a supported host machine. Henceforth, the
173 directory in which the ZIP archive has been unpacked will be denoted as
174 <literal>&lt;AF-TH-installdir&gt;</literal>.</para>
175
176 <para>Enter the <literal>&lt;AF-TH-install-dir&gt;</literal> directory and
177 run the <filename>setup_env.sh</filename> script to do the initial setup
178 of the Test Harness environment: <filename>source
179 setup_env.sh</filename>.</para>
180
181 <para>Setup the uCPE Manager which will be used by the TH:</para>
182
183 <orderedlist>
184 <listitem>
185 <para>Create the uCPE Manager JSON config file in the
186 <literal>&lt;AF-TH-install-dir&gt;/uCPEM_config/</literal>
187 directory:<programlisting>{
188"ucpe_usr":"uCPE Manager Username",
189"ucpe_pass":"uCPE Manager Password",
190"ucpe_host":"uCPE Manager IP/Hostname",
191"ftp_usr":"FTP Username",
192"ftp_pass":"FTP Password",
193"ftp_port":"FTP Port"
194}</programlisting>See the
195 <filename>&lt;AF-TH-install-dir&gt;/uCPEM_config/ucpem01.json</filename>
196 file as an example.</para>
197 </listitem>
198
199 <listitem>
200 <para>Run the <filename>setupuCPEManager.yml</filename> Ansible
201 Playbook with the JSON config path as parameter: <programlisting>ansible-playbook playbooks/setupuCPEManager.yml -e\
202"@uCPEM_config/&lt;config_name&gt;.json"</programlisting></para>
203
204 <para><emphasis role="bold">Example</emphasis> <programlisting>ansible-playbook playbooks/setupuCPEManager.yml -e\
205"@uCPEM_config/ucpem01.json"</programlisting></para>
206 </listitem>
207 </orderedlist>
208
209 <para>Note that the steps presented in this sub-chapter are to be executed
210 only once, for the initial setup of the TH environment. Afterwards, each
211 session ends by closing the Python virtual environment (<literal>source
212 &lt;AF-THinstall-dir&gt;/testHarness/bin/deactivate</literal>) and
213 subsequent use of the installation requires activating the Python virtual
214 enviroment before using the Automation Framework and Test Harness
215 (<literal>source
216 &lt;AF-THinstall-dir&gt;/testHarness/bin/activate</literal>).</para>
217
218 <para>Furthermore, if a user wants to use a new uCPE Manager instance for
219 a new session, the user also has to re-run the
220 <filename>setupuCPEManager.yml</filename> playbook with the corresponding
221 JSON config for the new uCPE Manager instance.</para>
222 </section>
223</chapter> \ No newline at end of file