summaryrefslogtreecommitdiffstats
path: root/doc/book-enea-nfv-access-cmc-example-usecases/doc/appendix_4.xml
blob: 9641f7c07117560453d495fd4d6c269417b83808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="ISO-8859-1"?>
<appendix id="appendix_four_cmc">
  <title>Running Enea Automation Framework tests</title>

  <para>The most relevant information from the Automation Framework and Test
  Harness structure:</para>

  <programlisting>|---automation_framework
|  |---unittestSuite
|  |  |---128tCleanup.json             - Use case 1 - clean up - test.
|  |  |---128tDeploy.json              - Use case 1 - test.
|  |  |---128t_FG_SFCCleanup.json      - Use case 2 - clean up - test.
|  |  |---128t_FG_SFCDeploy.json       - Use case 2 - test.
|  |  |---config
|  |  |  |---cmc  
            - Folder containing the configuration files used by tests.
|  |  |---unittestLoader.py
|  |  |---unittestSuite.py
|---lab_config
|  |---me1100-1 
|  |  |---enp4s0f0_0000_04_00_0.json
|  |  |---enp4s0f1_0000_04_00_1.json
|  |  |---ibm_br.json                  - In-band management definition.
|  |  |---lan_br_enp4s0f1.json         - Lan bridge definition.
|  |  |---me1100-1.json      
            - Target definition - make sure to update the "address".
|  |  |---sfc_br.json                  - Service chain bridge definition.
|  |  |---vnf_mgmt_br.json             - VNF management bridge definition.
|---vnf_config
|  |---128t
|  |  |---128tInstance.json            - 128T instantiation - used in use case 1.
|  |  |---128t.json                    - 128T onboarding.
|  |  |---128tSFCInstance.json         - 128T instantiation - used in use case 2.
|  |  |---centos_128t_internet_ci.iso  - 128T cloud init (day-0) iso image.
|  |---fortigate
|  |  |---fg_basic_fw.conf             - Fortigate day-0 configuration.
|  |  |---fortigateInstance.json       - Fortigate instantiantion.
|  |  |---fortigate.json               - Fortigate onboarding.
|  |  |---fortigateLicense.lic
             - Fortigate license - replace it with a valid License file.
|---vnf_image
|  |---centos_128t_with_ci.qcow2       - 128T qcow2 image.
|  |---fortios.qcow2                   - Fortigate qcow2 image.</programlisting>

  <para>Make sure to update the relevant configuration file for your setup.
  The essential files to consider are the target configuration
  (<filename>me1100-1.json</filename>), the license for the Fortigate VNF, and
  the 128T cloud-init iso image matching your network.</para>

  <para>To run a test:<programlisting>&gt; cd automation_and_systemtest/automation_framework/unittestSuite
&gt; python unittestSuite.py -u admin -p admin -H 172.24.3.109 -n me1100-1 -s</programlisting></para>
</appendix>