summaryrefslogtreecommitdiffstats
path: root/doc/book-enea-edge-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/book-enea-edge-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml')
-rw-r--r--doc/book-enea-edge-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml70
1 files changed, 38 insertions, 32 deletions
diff --git a/doc/book-enea-edge-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml b/doc/book-enea-edge-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml
index 9f6e64f..8113c3a 100644
--- a/doc/book-enea-edge-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml
+++ b/doc/book-enea-edge-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml
@@ -5,6 +5,12 @@
5 <section id="auto_fw"> 5 <section id="auto_fw">
6 <title>Automation Framework</title> 6 <title>Automation Framework</title>
7 7
8 <note>
9 <para>The NFVA and uCPE Manager terms from this document and from the
10 source code are references to the Enea Edge Runtime and the Enea Edge
11 Management application components, respectively.</para>
12 </note>
13
8 <para>All Automation Framework sources are under the 14 <para>All Automation Framework sources are under the
9 <literal>&lt;AF-TH-install-dir&gt;/automation_framework</literal> 15 <literal>&lt;AF-TH-install-dir&gt;/automation_framework</literal>
10 directory.</para> 16 directory.</para>
@@ -45,7 +51,7 @@
45 ignored.</para> 51 ignored.</para>
46 52
47 <para>In the following script examples, <emphasis>Enea Edge Management 53 <para>In the following script examples, <emphasis>Enea Edge Management
48 </emphasis> is reffered as <emphasis>Enea uCPE 54 </emphasis> is referred as <emphasis>Enea uCPE
49 Manager</emphasis>.</para> 55 Manager</emphasis>.</para>
50 </note> 56 </note>
51 57
@@ -602,7 +608,7 @@ Options:
602 "deviceGroupingTags": " ", 608 "deviceGroupingTags": " ",
603 "description": "", 609 "description": "",
604 "address": "172.24.12.114", 610 "address": "172.24.12.114",
605 "version": "2.4.0", 611 "version": "2.5.0",
606 "port": "22", 612 "port": "22",
607 "username": "root", 613 "username": "root",
608 "password": "root", 614 "password": "root",
@@ -1862,7 +1868,7 @@ Options:
1862 format:</emphasis><programlisting>[ 1868 format:</emphasis><programlisting>[
1863 { 1869 {
1864 "name": "Upload NFVA image on uCPE Manager", 1870 "name": "Upload NFVA image on uCPE Manager",
1865 "args": "-f /tmp/enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 -t xeon_d" 1871 "args": "-f /tmp/enea-edge-runtime-xeon_d.ostree.tar.bz2 -t xeon_d"
1866 } 1872 }
1867]</programlisting></para> 1873]</programlisting></para>
1868 </section> 1874 </section>
@@ -1874,7 +1880,7 @@ Options:
1874 executed individually by running the following command line:</para> 1880 executed individually by running the following command line:</para>
1875 1881
1876 <programlisting>$ python uploadImage.py -u admin -p admin -H localhost \ 1882 <programlisting>$ python uploadImage.py -u admin -p admin -H localhost \
1877-f /tmp/enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 -t xeon_d 1883-f /tmp/enea-edge-runtime-xeon_d.ostree.tar.bz2 -t xeon_d
18782020-02-28 11:38:42,754 - DEBUG: Started logging 18842020-02-28 11:38:42,754 - DEBUG: Started logging
18792020-02-28 11:38:42,755 - INFO: Upload NFVA image on uCPE Manager 18852020-02-28 11:38:42,755 - INFO: Upload NFVA image on uCPE Manager
18802020-02-28 11:38:43,307 - DEBUG: Login successful on host 'localhost' 18862020-02-28 11:38:43,307 - DEBUG: Login successful on host 'localhost'
@@ -1882,7 +1888,7 @@ Options:
18822020-02-28 11:41:29,148 - INFO: Verify image validation flag 18882020-02-28 11:41:29,148 - INFO: Verify image validation flag
18832020-02-28 11:41:29,149 - INFO: Valid flag: True 18892020-02-28 11:41:29,149 - INFO: Valid flag: True
18842020-02-28 11:41:29,344 - INFO: The image \ 18902020-02-28 11:41:29,344 - INFO: The image \
1885'enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2' was successfully uploaded 1891'enea-edge-runtime-xeon_d.ostree.tar.bz2' was successfully uploaded
18862020-02-28 11:41:29,344 - INFO: Done 18922020-02-28 11:41:29,344 - INFO: Done
18872020-02-28 11:41:29,388 - DEBUG: Logging out and exiting...</programlisting> 18932020-02-28 11:41:29,388 - DEBUG: Logging out and exiting...</programlisting>
1888 </section> 1894 </section>
@@ -1933,7 +1939,7 @@ Options:
1933 format:</emphasis><programlisting>[ 1939 format:</emphasis><programlisting>[
1934 { 1940 {
1935 "name": "Delete NFVA image on uCPE Manager", 1941 "name": "Delete NFVA image on uCPE Manager",
1936 "args": "-i enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2" 1942 "args": "-i enea-edge-runtime-xeon_d.ostree.tar.bz2"
1937 } 1943 }
1938]</programlisting></para> 1944]</programlisting></para>
1939 </section> 1945 </section>
@@ -1945,17 +1951,17 @@ Options:
1945 executed individually by running the following command line:</para> 1951 executed individually by running the following command line:</para>
1946 1952
1947 <programlisting>$ python deleteUpgradeFile.py -u admin -p admin -H localhost -i \ 1953 <programlisting>$ python deleteUpgradeFile.py -u admin -p admin -H localhost -i \
1948enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 1954enea-edge-runtime-xeon_d.ostree.tar.bz2
19492020-02-28 12:06:20,111 - DEBUG: Started logging 19552020-02-28 12:06:20,111 - DEBUG: Started logging
19502020-02-28 12:06:20,112 - INFO: Delete NFVA image from uCPE Manager 19562020-02-28 12:06:20,112 - INFO: Delete NFVA image from uCPE Manager
19512020-02-28 12:06:20,210 - DEBUG: Login successful on host 'localhost' 19572020-02-28 12:06:20,210 - DEBUG: Login successful on host 'localhost'
19522020-02-28 12:06:20,211 - DEBUG: Session token is: 594b2d50-5a1a-11ea-a3de-5652b3ac1c30 19582020-02-28 12:06:20,211 - DEBUG: Session token is: 594b2d50-5a1a-11ea-a3de-5652b3ac1c30
19532020-02-28 12:06:20,255 - INFO: The image \ 19592020-02-28 12:06:20,255 - INFO: The image \
1954'enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2' was successfully found 1960'enea-edge-runtime-xeon_d.ostree.tar.bz2' was successfully found
19552020-02-28 12:06:20,256 - INFO: The oid for \ 19612020-02-28 12:06:20,256 - INFO: The oid for \
1956'enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2' image name is as follows: \ 1962'enea-edge-runtime-xeon_d.ostree.tar.bz2' image name is as follows: \
1957VcpeAgent/xeon_d/enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 1963VcpeAgent/xeon_d/enea-edge-runtime-xeon_d.ostree.tar.bz2
19582020-02-28 12:06:20,449 - INFO: The 'enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2' \ 19642020-02-28 12:06:20,449 - INFO: The 'enea-edge-runtime-xeon_d.ostree.tar.bz2' \
1959image was successfully removed 1965image was successfully removed
19602020-02-28 12:06:20,479 - INFO: Done 19662020-02-28 12:06:20,479 - INFO: Done
19612020-02-28 12:06:20,517 - DEBUG: Logging out and exiting...</programlisting> 19672020-02-28 12:06:20,517 - DEBUG: Logging out and exiting...</programlisting>
@@ -2016,7 +2022,7 @@ Options:
2016 <programlisting>[ 2022 <programlisting>[
2017 { 2023 {
2018 "name": "Install and activate NFVA image on uCPE device from uCPE Manager", 2024 "name": "Install and activate NFVA image on uCPE device from uCPE Manager",
2019 "args": "-i enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 -t xeon_d -d inteld1521-16" 2025 "args": "-i enea-edge-runtime-xeon_d.ostree.tar.bz2 -t xeon_d -d inteld1521-16"
2020 } 2026 }
2021]</programlisting> 2027]</programlisting>
2022 </section> 2028 </section>
@@ -2028,7 +2034,7 @@ Options:
2028 executed individually by running the following command line:</para> 2034 executed individually by running the following command line:</para>
2029 2035
2030 <programlisting>$ python installAndActivate.py -u admin -p admin -H localhost -i \ 2036 <programlisting>$ python installAndActivate.py -u admin -p admin -H localhost -i \
2031enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 -t xeon_d -d inteld1521-16 2037enea-edge-runtime-xeon_d.ostree.tar.bz2 -t xeon_d -d inteld1521-16
20322020-02-28 12:36:46,137 - DEBUG: Started logging 20382020-02-28 12:36:46,137 - DEBUG: Started logging
20332020-02-28 12:36:46,138 - INFO: Install and activate NFVA image from uCPE Manager 20392020-02-28 12:36:46,138 - INFO: Install and activate NFVA image from uCPE Manager
20342020-02-28 12:36:46,288 - DEBUG: Login successful on host 'localhost' 20402020-02-28 12:36:46,288 - DEBUG: Login successful on host 'localhost'
@@ -2037,29 +2043,29 @@ enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 -t xeon_d -d inteld1521-16
20372020-02-28 12:36:46,459 - INFO: Display info about NFVA installation \ 20432020-02-28 12:36:46,459 - INFO: Display info about NFVA installation \
2038[inteld1521-16:1001:172.24.12.152] Install Started 2044[inteld1521-16:1001:172.24.12.152] Install Started
20392020-02-28 12:36:46,492 - INFO: Transferring Image: \ 20452020-02-28 12:36:46,492 - INFO: Transferring Image: \
2040enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 2046enea-edge-runtime-xeon_d.ostree.tar.bz2
20412020-02-28 12:36:56,552 - INFO: Verifying Release [1] 20472020-02-28 12:36:56,552 - INFO: Verifying Release [1]
20422020-02-28 12:37:06,599 - INFO: Verifying Release [2] 20482020-02-28 12:37:06,599 - INFO: Verifying Release [2]
20432020-02-28 12:37:16,652 - INFO: Validating Upgrade to \ 20492020-02-28 12:37:16,652 - INFO: Validating Upgrade to \
2044enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 2050enea-edge-runtime-xeon_d.ostree.tar.bz2
20452020-02-28 12:37:26,713 - INFO: Validating upgrade to \ 20512020-02-28 12:37:26,713 - INFO: Validating upgrade to \
2046enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [3] 2052enea-edge-runtime-xeon_d.ostree.tar.bz2 [3]
20472020-02-28 12:37:36,770 - INFO: Validating upgrade to \ 20532020-02-28 12:37:36,770 - INFO: Validating upgrade to \
2048enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [5] 2054enea-edge-runtime-xeon_d.ostree.tar.bz2 [5]
20492020-02-28 12:37:46,819 - INFO: Validating upgrade to \ 20552020-02-28 12:37:46,819 - INFO: Validating upgrade to \
2050enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [7] 2056enea-edge-runtime-xeon_d.ostree.tar.bz2 [7]
20512020-02-28 12:37:56,879 - INFO: Validating upgrade to \ 20572020-02-28 12:37:56,879 - INFO: Validating upgrade to \
2052enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [9] 2058enea-edge-runtime-xeon_d.ostree.tar.bz2 [9]
20532020-02-28 12:38:06,920 - INFO: Validating upgrade to \ 20592020-02-28 12:38:06,920 - INFO: Validating upgrade to \
2054enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [11] 2060enea-edge-runtime-xeon_d.ostree.tar.bz2 [11]
20552020-02-28 12:38:16,975 - INFO: Validating upgrade to \ 20612020-02-28 12:38:16,975 - INFO: Validating upgrade to \
2056enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [13] 2062enea-edge-runtime-xeon_d.ostree.tar.bz2 [13]
20572020-02-28 12:38:27,019 - INFO: Validating upgrade to \ 20632020-02-28 12:38:27,019 - INFO: Validating upgrade to \
2058enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [15] 2064enea-edge-runtime-xeon_d.ostree.tar.bz2 [15]
20592020-02-28 12:38:37,091 - INFO: Validating upgrade to \ 20652020-02-28 12:38:37,091 - INFO: Validating upgrade to \
2060enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [18] 2066enea-edge-runtime-xeon_d.ostree.tar.bz2 [18]
20612020-02-28 12:38:47,133 - INFO: Validating upgrade to \ 20672020-02-28 12:38:47,133 - INFO: Validating upgrade to \
2062enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [20] 2068enea-edge-runtime-xeon_d.ostree.tar.bz2 [20]
20632020-02-28 12:38:57,186 - INFO: Waiting for release to become active 20692020-02-28 12:38:57,186 - INFO: Waiting for release to become active
20642020-02-28 12:39:07,231 - INFO: Upgrade Request Complete 20702020-02-28 12:39:07,231 - INFO: Upgrade Request Complete
20652020-02-28 12:39:17,242 - INFO: Installation completed! 20712020-02-28 12:39:17,242 - INFO: Installation completed!
@@ -2578,7 +2584,7 @@ phase always-after-startup from uCPE Manager
2578 2584
2579 <programlisting>{ 2585 <programlisting>{
2580 "descr": "intelc3850-2", 2586 "descr": "intelc3850-2",
2581 "version": "2.4.0", 2587 "version": "2.5.0",
2582 "deviceGroupingTags": "", 2588 "deviceGroupingTags": "",
2583 "deviceId": "intelc3850-2", 2589 "deviceId": "intelc3850-2",
2584 "name": "intelc3850-2" 2590 "name": "intelc3850-2"
@@ -2801,17 +2807,17 @@ Options:
2801 2807
2802 <para>The <literal>/lab_config</literal> directory stores the JSON 2808 <para>The <literal>/lab_config</literal> directory stores the JSON
2803 configuration files related to a device (devices, NICs and bridges) as 2809 configuration files related to a device (devices, NICs and bridges) as
2804 well as sample custom scripts. Each subfolder should be named exactly like 2810 well as sample custom scripts. Each sub-folder should be named exactly
2805 the device name and should contain all the related configuration files 2811 like the device name and should contain all the related configuration
2806 needed for the test cases to be run on it.</para> 2812 files needed for the test cases to be run on it.</para>
2807 2813
2808 <para>The <literal>/vnf_config</literal> directory stores the 2814 <para>The <literal>/vnf_config</literal> directory stores the
2809 configuration files related to a VNF Descriptor and VNF instances. 2815 configuration files related to a VNF Descriptor and VNF instances.
2810 Typically these include a VNF Image JSON, VNF Instance JSON, VNF license 2816 Typically these include a VNF Image JSON, VNF Instance JSON, VNF license
2811 and any other files required by the type of the VNF. Each subfolder should 2817 and any other files required by the type of the VNF. Each sub-folder
2812 be named exactly like the name of the VNF Descriptor and should contain 2818 should be named exactly like the name of the VNF Descriptor and should
2813 all the related configuration files needed for test cases to be run using 2819 contain all the related configuration files needed for test cases to be
2814 this VNF.</para> 2820 run using this VNF.</para>
2815 2821
2816 <para>The <literal>/log</literal> directory is created when the 2822 <para>The <literal>/log</literal> directory is created when the
2817 <literal>setup_env.sh</literal> is run. When test cases are run, the 2823 <literal>setup_env.sh</literal> is run. When test cases are run, the