summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrpa <miruna.paun@enea.com>2020-06-18 20:08:37 +0200
committermrpa <miruna.paun@enea.com>2020-06-18 20:16:48 +0200
commit5f7b867d5d07cfb7c523ee715921c7aa99c3925d (patch)
tree5736da20449920e5fbfd118a9aee2ad8cb324557
parentd13a165d784a8a669edca35efee6f5c98045a766 (diff)
downloadnfv-access-documentation-5f7b867d5d07cfb7c523ee715921c7aa99c3925d.tar.gz
AFTH User guide SR-IOV examples have been updated.
Change-Id: I8ca34bc703a02a666b0561e5d5caa6b304aaa541 Signed-off-by: mrpa <miruna.paun@enea.com>
-rw-r--r--doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml41
1 files changed, 20 insertions, 21 deletions
diff --git a/doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml b/doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml
index cdf024c..a0faefa 100644
--- a/doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml
+++ b/doc/book-enea-nfv-access-auto-fw-th-user-guide/doc/automation_framework_test_harness.xml
@@ -15,8 +15,8 @@
15 as scripts for adding and removing an offline configuration store.</para> 15 as scripts for adding and removing an offline configuration store.</para>
16 16
17 <para>The <literal>/network</literal> folder contains Python scripts for 17 <para>The <literal>/network</literal> folder contains Python scripts for
18 binding or unbinding a network interface to and from a uCPE device (DPDK or 18 binding or unbinding a network interface to and from a uCPE device (DPDK
19 SR-IOV), creating or deleting an OVS network bridge, or dumping network 19 or SR-IOV), creating or deleting an OVS network bridge, or dumping network
20 interface information about the available interfaces. Three of the scripts 20 interface information about the available interfaces. Three of the scripts
21 mentioned here (binding, creating, deleting) are also applicable for an 21 mentioned here (binding, creating, deleting) are also applicable for an
22 Offline Configuration Store.</para> 22 Offline Configuration Store.</para>
@@ -963,8 +963,9 @@ Options:
963 <filename>sriov_nic.json</filename> configuration 963 <filename>sriov_nic.json</filename> configuration
964 file:</emphasis><programlisting>{ 964 file:</emphasis><programlisting>{
965 "name": "eno1", 965 "name": "eno1",
966 "type": "srIov", 966 "type": "sr-iov",
967 "subType": "passthrough | adapter-pool" 967 "subType": "passthrough | adapter-pool",
968 "sriovNumVfs": "2"
968}</programlisting><emphasis role="bold">Sample 969}</programlisting><emphasis role="bold">Sample
969 <filename>std_nic.json</filename> configuration 970 <filename>std_nic.json</filename> configuration
970 file:</emphasis><programlisting>{ 971 file:</emphasis><programlisting>{
@@ -1035,12 +1036,11 @@ Options:
1035 <para><emphasis role="bold">Sample unit-test JSON file 1036 <para><emphasis role="bold">Sample unit-test JSON file
1036 format:</emphasis><programlisting>[ 1037 format:</emphasis><programlisting>[
1037 { 1038 {
1038 "name": "Unbind lan NIC", 1039 "name": "Unbind lan NIC from DPDK",
1039 "args": "-f ../../lab_config/intelc3850-2/lan_nic.json" 1040 "args": "-f ../../lab_config/intelc3850-2/lan_nic.json"
1040 }, 1041 },
1041 { 1042 {
1042 name": "Unbind wan NIe", 1043 name": "Unbind wan NIC from DPDK",
1043Unbinds a physical interface to the DPDK or SR-IOV
1044 "args": "-f ../../lab_config/intelc3850-2/wan_nic.json" 1044 "args": "-f ../../lab_config/intelc3850-2/wan_nic.json"
1045 } 1045 }
1046]</programlisting></para> 1046]</programlisting></para>
@@ -2514,20 +2514,19 @@ Options:
2514 Mandatory options: 2514 Mandatory options:
2515 -H/--host, -o/--store-name</programlisting> 2515 -H/--host, -o/--store-name</programlisting>
2516 2516
2517 <para>Modifications of an Offline Configurations Store are not possible 2517 <para>Modifications of an Offline Configurations Store are not
2518 post deployment in the uCPE Manager, as there is no option for 2518 possible post deployment in the uCPE Manager, as there is no option
2519 changing script states (e.g. changing the DPDK state in the 2519 for changing script states (e.g. changing the DPDK state in the
2520 <filename>configDPDK.py</filename> python script or unbinding interfaces). 2520 <filename>configDPDK.py</filename> python script or unbinding
2521 The offline store must be deleted and the new state(s)/changes added in, 2521 interfaces). The offline store must be deleted and the new
2522 before being deployed anew. This was not deemed necessary 2522 state(s)/changes added in, before being deployed anew. This was not
2523 for the current ZTP functionality.</para> 2523 deemed necessary for the current ZTP functionality.</para>
2524 2524
2525 <para>An action on a device is applied immediately, while 2525 <para>An action on a device is applied immediately, while a
2526 a configuration in an offline configuration store is something 2526 configuration in an offline configuration store is something prepared
2527 prepared for the future (when the device is added to the 2527 for the future (when the device is added to the uCPE Manager and the
2528 uCPE Manager and the configuration is sent to it). The 2528 configuration is sent to it). The configuration is ideally created
2529 configuration is ideally created with the needed modifications from 2529 with the needed modifications from the start.</para>
2530 the start.</para>
2531 </section> 2530 </section>
2532 </section> 2531 </section>
2533 </section> 2532 </section>