diff options
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.xml | 70 |
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><AF-TH-install-dir>/automation_framework</literal> | 15 | <literal><AF-TH-install-dir>/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 |
1878 | 2020-02-28 11:38:42,754 - DEBUG: Started logging | 1884 | 2020-02-28 11:38:42,754 - DEBUG: Started logging |
1879 | 2020-02-28 11:38:42,755 - INFO: Upload NFVA image on uCPE Manager | 1885 | 2020-02-28 11:38:42,755 - INFO: Upload NFVA image on uCPE Manager |
1880 | 2020-02-28 11:38:43,307 - DEBUG: Login successful on host 'localhost' | 1886 | 2020-02-28 11:38:43,307 - DEBUG: Login successful on host 'localhost' |
@@ -1882,7 +1888,7 @@ Options: | |||
1882 | 2020-02-28 11:41:29,148 - INFO: Verify image validation flag | 1888 | 2020-02-28 11:41:29,148 - INFO: Verify image validation flag |
1883 | 2020-02-28 11:41:29,149 - INFO: Valid flag: True | 1889 | 2020-02-28 11:41:29,149 - INFO: Valid flag: True |
1884 | 2020-02-28 11:41:29,344 - INFO: The image \ | 1890 | 2020-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 |
1886 | 2020-02-28 11:41:29,344 - INFO: Done | 1892 | 2020-02-28 11:41:29,344 - INFO: Done |
1887 | 2020-02-28 11:41:29,388 - DEBUG: Logging out and exiting...</programlisting> | 1893 | 2020-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 \ |
1948 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 | 1954 | enea-edge-runtime-xeon_d.ostree.tar.bz2 |
1949 | 2020-02-28 12:06:20,111 - DEBUG: Started logging | 1955 | 2020-02-28 12:06:20,111 - DEBUG: Started logging |
1950 | 2020-02-28 12:06:20,112 - INFO: Delete NFVA image from uCPE Manager | 1956 | 2020-02-28 12:06:20,112 - INFO: Delete NFVA image from uCPE Manager |
1951 | 2020-02-28 12:06:20,210 - DEBUG: Login successful on host 'localhost' | 1957 | 2020-02-28 12:06:20,210 - DEBUG: Login successful on host 'localhost' |
1952 | 2020-02-28 12:06:20,211 - DEBUG: Session token is: 594b2d50-5a1a-11ea-a3de-5652b3ac1c30 | 1958 | 2020-02-28 12:06:20,211 - DEBUG: Session token is: 594b2d50-5a1a-11ea-a3de-5652b3ac1c30 |
1953 | 2020-02-28 12:06:20,255 - INFO: The image \ | 1959 | 2020-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 |
1955 | 2020-02-28 12:06:20,256 - INFO: The oid for \ | 1961 | 2020-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: \ |
1957 | VcpeAgent/xeon_d/enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 | 1963 | VcpeAgent/xeon_d/enea-edge-runtime-xeon_d.ostree.tar.bz2 |
1958 | 2020-02-28 12:06:20,449 - INFO: The 'enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2' \ | 1964 | 2020-02-28 12:06:20,449 - INFO: The 'enea-edge-runtime-xeon_d.ostree.tar.bz2' \ |
1959 | image was successfully removed | 1965 | image was successfully removed |
1960 | 2020-02-28 12:06:20,479 - INFO: Done | 1966 | 2020-02-28 12:06:20,479 - INFO: Done |
1961 | 2020-02-28 12:06:20,517 - DEBUG: Logging out and exiting...</programlisting> | 1967 | 2020-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 \ |
2031 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 -t xeon_d -d inteld1521-16 | 2037 | enea-edge-runtime-xeon_d.ostree.tar.bz2 -t xeon_d -d inteld1521-16 |
2032 | 2020-02-28 12:36:46,137 - DEBUG: Started logging | 2038 | 2020-02-28 12:36:46,137 - DEBUG: Started logging |
2033 | 2020-02-28 12:36:46,138 - INFO: Install and activate NFVA image from uCPE Manager | 2039 | 2020-02-28 12:36:46,138 - INFO: Install and activate NFVA image from uCPE Manager |
2034 | 2020-02-28 12:36:46,288 - DEBUG: Login successful on host 'localhost' | 2040 | 2020-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 | |||
2037 | 2020-02-28 12:36:46,459 - INFO: Display info about NFVA installation \ | 2043 | 2020-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 |
2039 | 2020-02-28 12:36:46,492 - INFO: Transferring Image: \ | 2045 | 2020-02-28 12:36:46,492 - INFO: Transferring Image: \ |
2040 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 | 2046 | enea-edge-runtime-xeon_d.ostree.tar.bz2 |
2041 | 2020-02-28 12:36:56,552 - INFO: Verifying Release [1] | 2047 | 2020-02-28 12:36:56,552 - INFO: Verifying Release [1] |
2042 | 2020-02-28 12:37:06,599 - INFO: Verifying Release [2] | 2048 | 2020-02-28 12:37:06,599 - INFO: Verifying Release [2] |
2043 | 2020-02-28 12:37:16,652 - INFO: Validating Upgrade to \ | 2049 | 2020-02-28 12:37:16,652 - INFO: Validating Upgrade to \ |
2044 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 | 2050 | enea-edge-runtime-xeon_d.ostree.tar.bz2 |
2045 | 2020-02-28 12:37:26,713 - INFO: Validating upgrade to \ | 2051 | 2020-02-28 12:37:26,713 - INFO: Validating upgrade to \ |
2046 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [3] | 2052 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [3] |
2047 | 2020-02-28 12:37:36,770 - INFO: Validating upgrade to \ | 2053 | 2020-02-28 12:37:36,770 - INFO: Validating upgrade to \ |
2048 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [5] | 2054 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [5] |
2049 | 2020-02-28 12:37:46,819 - INFO: Validating upgrade to \ | 2055 | 2020-02-28 12:37:46,819 - INFO: Validating upgrade to \ |
2050 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [7] | 2056 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [7] |
2051 | 2020-02-28 12:37:56,879 - INFO: Validating upgrade to \ | 2057 | 2020-02-28 12:37:56,879 - INFO: Validating upgrade to \ |
2052 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [9] | 2058 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [9] |
2053 | 2020-02-28 12:38:06,920 - INFO: Validating upgrade to \ | 2059 | 2020-02-28 12:38:06,920 - INFO: Validating upgrade to \ |
2054 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [11] | 2060 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [11] |
2055 | 2020-02-28 12:38:16,975 - INFO: Validating upgrade to \ | 2061 | 2020-02-28 12:38:16,975 - INFO: Validating upgrade to \ |
2056 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [13] | 2062 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [13] |
2057 | 2020-02-28 12:38:27,019 - INFO: Validating upgrade to \ | 2063 | 2020-02-28 12:38:27,019 - INFO: Validating upgrade to \ |
2058 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [15] | 2064 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [15] |
2059 | 2020-02-28 12:38:37,091 - INFO: Validating upgrade to \ | 2065 | 2020-02-28 12:38:37,091 - INFO: Validating upgrade to \ |
2060 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [18] | 2066 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [18] |
2061 | 2020-02-28 12:38:47,133 - INFO: Validating upgrade to \ | 2067 | 2020-02-28 12:38:47,133 - INFO: Validating upgrade to \ |
2062 | enea-nfv-access-xeon-d.rootfs.ostree.tar.bz2 [20] | 2068 | enea-edge-runtime-xeon_d.ostree.tar.bz2 [20] |
2063 | 2020-02-28 12:38:57,186 - INFO: Waiting for release to become active | 2069 | 2020-02-28 12:38:57,186 - INFO: Waiting for release to become active |
2064 | 2020-02-28 12:39:07,231 - INFO: Upgrade Request Complete | 2070 | 2020-02-28 12:39:07,231 - INFO: Upgrade Request Complete |
2065 | 2020-02-28 12:39:17,242 - INFO: Installation completed! | 2071 | 2020-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 |