diff options
author | Sona Sarmadi <sona.sarmadi@enea.com> | 2019-09-16 13:27:37 +0200 |
---|---|---|
committer | Martin Borg <martin.borg@enea.com> | 2019-09-16 14:17:00 +0200 |
commit | 79b10d0dd06d511d87130385cdafe3e7cd945c27 (patch) | |
tree | ae4b30cf6f912bbf19d4c632cdd9b1231aaae072 /doc | |
parent | 626df1310ca5c1e6f98cb256cd49dc4401417753 (diff) | |
download | nfv-access-documentation-79b10d0dd06d511d87130385cdafe3e7cd945c27.tar.gz |
GettingStarted: move ch 2 & 3 from VNF Onboarding
- Move ch 2 & ch 3 from VNF Onboarding Guide to the Getting Started
chapter 4.4 VNF Management
- Update the doc version to 2.2.1
Change-Id: I19353d7d70b526652b5867d0e7abe04d0edb3e18
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/book-enea-nfv-access-getting-started/doc/eltf_params_updated.xml | 2 | ||||
-rw-r--r-- | doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml | 319 |
2 files changed, 314 insertions, 7 deletions
diff --git a/doc/book-enea-nfv-access-getting-started/doc/eltf_params_updated.xml b/doc/book-enea-nfv-access-getting-started/doc/eltf_params_updated.xml index 0386515..7fe09ec 100644 --- a/doc/book-enea-nfv-access-getting-started/doc/eltf_params_updated.xml +++ b/doc/book-enea-nfv-access-getting-started/doc/eltf_params_updated.xml | |||
@@ -42,7 +42,7 @@ export PATH=~/bin:$PATH</programlisting></para> | |||
42 | correct also compared to the "previous" REL VER in pardoc-distro.xml | 42 | correct also compared to the "previous" REL VER in pardoc-distro.xml |
43 | "prev_baseline".</bridgehead> | 43 | "prev_baseline".</bridgehead> |
44 | 44 | ||
45 | <para id="EneaLinux_REL_VER"><phrase>2.2</phrase></para> | 45 | <para id="EneaLinux_REL_VER"><phrase>2.2.1</phrase></para> |
46 | 46 | ||
47 | <para id="Yocto_VER"><phrase>2.4</phrase></para> | 47 | <para id="Yocto_VER"><phrase>2.4</phrase></para> |
48 | 48 | ||
diff --git a/doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml b/doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml index 80595e6..afb6ee3 100644 --- a/doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml +++ b/doc/book-enea-nfv-access-getting-started/doc/getting_started_ucpe_manager.xml | |||
@@ -130,7 +130,7 @@ | |||
130 | <listitem> | 130 | <listitem> |
131 | <para>Device Calls Home. This checkbox indicates the direction of | 131 | <para>Device Calls Home. This checkbox indicates the direction of |
132 | device communications. In the Manual Configuration, leave this box | 132 | device communications. In the Manual Configuration, leave this box |
133 | blank. </para> | 133 | blank.</para> |
134 | </listitem> | 134 | </listitem> |
135 | </itemizedlist> | 135 | </itemizedlist> |
136 | 136 | ||
@@ -150,9 +150,9 @@ | |||
150 | <para>The uCPE Manager must be configured to bring the uCPE device | 150 | <para>The uCPE Manager must be configured to bring the uCPE device |
151 | under management. This is done by selecting the <literal>Device Calls | 151 | under management. This is done by selecting the <literal>Device Calls |
152 | Home</literal> checkbox when adding a device. When Device Calls Home | 152 | Home</literal> checkbox when adding a device. When Device Calls Home |
153 | is checked, the device will initiate a connection by opening | 153 | is checked, the device will initiate a connection by opening a socket |
154 | a socket to the uCPE Manager for NETCONF traffic (over SSH), while the | 154 | to the uCPE Manager for NETCONF traffic (over SSH), while the uCPE |
155 | uCPE Manager waits for device connection.</para> | 155 | Manager waits for device connection.</para> |
156 | </section> | 156 | </section> |
157 | </section> | 157 | </section> |
158 | 158 | ||
@@ -468,7 +468,7 @@ | |||
468 | </itemizedlist> | 468 | </itemizedlist> |
469 | 469 | ||
470 | <section id="onboarding_a_vnf"> | 470 | <section id="onboarding_a_vnf"> |
471 | <title>Onboarding a VNF</title> | 471 | <title>Onboarding a VNF (old)</title> |
472 | 472 | ||
473 | <para>The VNF descriptor catalog table provides a button that allows you | 473 | <para>The VNF descriptor catalog table provides a button that allows you |
474 | to onboard a new (third-party) VNF into the catalog.</para> | 474 | to onboard a new (third-party) VNF into the catalog.</para> |
@@ -724,8 +724,184 @@ | |||
724 | </section> | 724 | </section> |
725 | </section> | 725 | </section> |
726 | 726 | ||
727 | <section id="onboarding_a_vnf2"> | ||
728 | <title>Onboarding a VNF (copied from VNF Onboarding Guide)</title> | ||
729 | |||
730 | <para>The onboarding of a VNF means adding it to the Enea uCPE Manager | ||
731 | VNF Catalog and preparing it for instantiation (deployment on connected | ||
732 | uCPE devices). This is accomplished using the Enea uCPE Manager | ||
733 | Onboarding Wizard, a graphical user interface specifically designed to | ||
734 | make VNF onboarding simple and fast.</para> | ||
735 | |||
736 | <para>Typically, the VNF's Getting Started Guide contains all necessary | ||
737 | information needed to onboard a VNF using the Onboarding Wizard. This | ||
738 | present guide however, provides a number of examples of how to onboard | ||
739 | specific commercial VNFs.</para> | ||
740 | |||
741 | <para>The following sections detail the basic steps needed to | ||
742 | successfully onboard a VNF in the Enea uCPE Manager.</para> | ||
743 | |||
744 | <section id="retrieve_art"> | ||
745 | <title>Retrieving Artifacts</title> | ||
746 | |||
747 | <para>The user must first retrieve the necessary artifacts from the | ||
748 | VNF vendor:</para> | ||
749 | |||
750 | <orderedlist> | ||
751 | <listitem> | ||
752 | <para>Download the VNF from the commercial vendor.</para> | ||
753 | </listitem> | ||
754 | |||
755 | <listitem> | ||
756 | <para>Get any VNF specific license from the VNF vendor.</para> | ||
757 | |||
758 | <note> | ||
759 | <para>There are no standard ways of managing VNF licenses, | ||
760 | therefore no general guidelines can be provided. One example of | ||
761 | license handling that can be employed in the uCPE Manager is the | ||
762 | adding of a license during the Cloud-Init setup. The ConfigDrive | ||
763 | value is provided in the Fortios specific guidelines.</para> | ||
764 | </note> | ||
765 | </listitem> | ||
766 | |||
767 | <listitem> | ||
768 | <para>Get access to the VNF specific VNF Manager for day 1 and 2 | ||
769 | configuration (in cloud or for local deployment).</para> | ||
770 | </listitem> | ||
771 | |||
772 | <listitem> | ||
773 | <para>Procure the Getting Started Guide from the VNF vendor, | ||
774 | preferably for KVM deployment for VNF specific configuration | ||
775 | information.</para> | ||
776 | </listitem> | ||
777 | </orderedlist> | ||
778 | </section> | ||
779 | |||
780 | <section id="onboard_prep"> | ||
781 | <title>Preparation</title> | ||
782 | |||
783 | <para>Once all needed downloadables, documentation and more have been | ||
784 | attained, preparation for onboarding must be completed:</para> | ||
785 | |||
786 | <orderedlist> | ||
787 | <listitem> | ||
788 | <para>Determine the use-case and performance requirements of the | ||
789 | VNF you wish to deploy.</para> | ||
790 | |||
791 | <itemizedlist> | ||
792 | <listitem> | ||
793 | <para>This decides what resources the VNF is configured for, | ||
794 | along with networking and day zero configurations.</para> | ||
795 | |||
796 | <para>Generally, the Getting Started Guide for the VNF | ||
797 | provides guidelines for resource allocation, but since | ||
798 | performance is dependent on hardware capacity, the right | ||
799 | resource allocation for deployment is typically determined | ||
800 | through benchmarking.</para> | ||
801 | </listitem> | ||
802 | |||
803 | <listitem> | ||
804 | <para>Determine the amount of hardware resources needed for | ||
805 | the VNF (RAM, CPUs and Disk size).</para> | ||
806 | </listitem> | ||
807 | |||
808 | <listitem> | ||
809 | <para>Determine how many Network Interfaces the VNF shall | ||
810 | use.</para> | ||
811 | </listitem> | ||
812 | </itemizedlist> | ||
813 | </listitem> | ||
814 | |||
815 | <listitem> | ||
816 | <para>Determine the day zero configuration method from the VNF | ||
817 | Getting Started guidelines.</para> | ||
818 | |||
819 | <note> | ||
820 | <para>For many VNFs, day zero configuration can be skipped in | ||
821 | early onboarding efforts when automation is not of | ||
822 | importance.</para> | ||
823 | </note> | ||
824 | </listitem> | ||
825 | |||
826 | <listitem> | ||
827 | <para>Determine any requirements needed by the Cloud-Init file | ||
828 | structure and the content needed for the VNF when Cloud-Init is | ||
829 | used.</para> | ||
830 | </listitem> | ||
831 | </orderedlist> | ||
832 | </section> | ||
833 | |||
834 | <section id="onboarding2"> | ||
835 | <title>Onboarding the VNF</title> | ||
836 | |||
837 | <orderedlist> | ||
838 | <listitem> | ||
839 | <para>Enter the Enea uCPE Manager and choose VNF->Descriptors | ||
840 | in the GUI.</para> | ||
841 | </listitem> | ||
842 | |||
843 | <listitem> | ||
844 | <para>Click <literal>Onboard</literal> to start the onboarding | ||
845 | procedure.</para> | ||
846 | </listitem> | ||
847 | |||
848 | <listitem> | ||
849 | <para>Fill in all mandatory fields in the popup menu: Name, Image, | ||
850 | RAM, CPUs, Disk.</para> | ||
851 | </listitem> | ||
852 | |||
853 | <listitem> | ||
854 | <para>Define the VNF's Network Interfaces and give them | ||
855 | descriptive names.</para> | ||
856 | </listitem> | ||
857 | |||
858 | <listitem> | ||
859 | <para>Configure the Cloud-Init settings, starting with the | ||
860 | Datasource:</para> | ||
861 | |||
862 | <itemizedlist spacing="compact"> | ||
863 | <listitem> | ||
864 | <para>Choose <literal>None</literal> if Cloud-Init is not | ||
865 | used.</para> | ||
866 | </listitem> | ||
867 | |||
868 | <listitem> | ||
869 | <para>Choose <literal>ConfigDrive</literal>, | ||
870 | <literal>NoCloud</literal> or <literal>ISO</literal> depending | ||
871 | on the VNF specific Cloud-Init implementation.</para> | ||
872 | </listitem> | ||
873 | |||
874 | <listitem> | ||
875 | <para>Choose the Cloud-Init mount method based on the VNF | ||
876 | specific Cloud-Init implementation.</para> | ||
877 | </listitem> | ||
878 | |||
879 | <listitem> | ||
880 | <para>Configure any VNF specific Cloud-Init files according to | ||
881 | VNF specific documentation.</para> | ||
882 | </listitem> | ||
883 | </itemizedlist> | ||
884 | </listitem> | ||
885 | |||
886 | <listitem> | ||
887 | <para>Additional Properties (in the Properties Tab) are typically | ||
888 | not needed and can be ignored.</para> | ||
889 | </listitem> | ||
890 | |||
891 | <listitem> | ||
892 | <para>Click <literal>Onboard</literal> to add the VNF to the Enea | ||
893 | uCPE Manager VNF Catalog.</para> | ||
894 | </listitem> | ||
895 | </orderedlist> | ||
896 | |||
897 | <para>When the onboarding is complete, the VNF will appear in the VNF | ||
898 | Catalog and can be used for deploying services on the uCPE | ||
899 | devices.</para> | ||
900 | </section> | ||
901 | </section> | ||
902 | |||
727 | <section id="instantiating_a_vnf"> | 903 | <section id="instantiating_a_vnf"> |
728 | <title>Instantiating a VNF</title> | 904 | <title>Instantiating a VNF (old)</title> |
729 | 905 | ||
730 | <para>Once the VNF has been onboarded, you can instantiate a VNF on a | 906 | <para>Once the VNF has been onboarded, you can instantiate a VNF on a |
731 | specific uCPE device.</para> | 907 | specific uCPE device.</para> |
@@ -823,5 +999,136 @@ | |||
823 | </mediaobject> | 999 | </mediaobject> |
824 | </figure> | 1000 | </figure> |
825 | </section> | 1001 | </section> |
1002 | |||
1003 | <section id="instantiating_a_vnf2"> | ||
1004 | <title>Instantiating a VNF (copied from VNF Onboarding Guide)</title> | ||
1005 | |||
1006 | <para>When a VNF is onboarded and available in the VNF catalog, it can | ||
1007 | be instantiated (deployed) on connected uCPE devices. The instantiation | ||
1008 | wizard uses the configurations provided when the VNF is onboarded, as a | ||
1009 | template for instantiation. Before the instantiation, however, the uCPE | ||
1010 | device needs to be prepared:</para> | ||
1011 | |||
1012 | <orderedlist> | ||
1013 | <listitem> | ||
1014 | <para>Physical NICs used with the VNF directly (through SR-IOV or | ||
1015 | PCI Passthrough) or indirectly (through bridges) need to be | ||
1016 | configured (Device->Configuration->OpenVSwitch->Host | ||
1017 | Interfaces).</para> | ||
1018 | |||
1019 | <note> | ||
1020 | <para>Before configuring any physical NICs determine which is used | ||
1021 | for managing the uCPE device. Altering the configuration of a NIC | ||
1022 | may cause connectivity issues.</para> | ||
1023 | </note> | ||
1024 | </listitem> | ||
1025 | |||
1026 | <listitem> | ||
1027 | <para>Add any needed bridges, connecting them to the physical NICs | ||
1028 | previously configured or making them integration bridges (without | ||
1029 | physical NIC) for service chaining.</para> | ||
1030 | </listitem> | ||
1031 | </orderedlist> | ||
1032 | |||
1033 | <para>Once the physical NICs and bridges are configured, the VNF can be | ||
1034 | instantiated using the Instantiation Wizard.</para> | ||
1035 | |||
1036 | <section id="using_wiz2"> | ||
1037 | <title>Using the Instantiation Wizard</title> | ||
1038 | |||
1039 | <orderedlist> | ||
1040 | <listitem> | ||
1041 | <para>Enter the Instantiation Wizard by accessing | ||
1042 | VNF->Instances and hitting <literal>Add</literal>.</para> | ||
1043 | </listitem> | ||
1044 | |||
1045 | <listitem> | ||
1046 | <para>Fill out the following mandatory fields:</para> | ||
1047 | |||
1048 | <itemizedlist spacing="compact"> | ||
1049 | <listitem> | ||
1050 | <para>Name (a descriptive name).</para> | ||
1051 | </listitem> | ||
1052 | |||
1053 | <listitem> | ||
1054 | <para>Device (the uCPE device to instantiate the VNF | ||
1055 | on).</para> | ||
1056 | </listitem> | ||
1057 | |||
1058 | <listitem> | ||
1059 | <para>Networking Configuration:</para> | ||
1060 | |||
1061 | <itemizedlist spacing="compact"> | ||
1062 | <listitem> | ||
1063 | <para>Connect each configured NIC with a bridge, SR-IOV or | ||
1064 | PCI Passthrough.</para> | ||
1065 | </listitem> | ||
1066 | |||
1067 | <listitem> | ||
1068 | <para>Set up each NIC with a driver method (DPDK or | ||
1069 | e1000).</para> | ||
1070 | </listitem> | ||
1071 | </itemizedlist> | ||
1072 | |||
1073 | <note> | ||
1074 | <para>All configured NICs must be set up before | ||
1075 | instantiating a VNF. Failure to do so will end in a failed | ||
1076 | instantiation.</para> | ||
1077 | </note> | ||
1078 | </listitem> | ||
1079 | </itemizedlist> | ||
1080 | </listitem> | ||
1081 | |||
1082 | <listitem> | ||
1083 | <para>Add VNF specific configuration by uploading a Cloud-Init | ||
1084 | file (when the Cloud-Init is used).</para> | ||
1085 | </listitem> | ||
1086 | |||
1087 | <listitem> | ||
1088 | <para>Add any VNF specific files (e.g license files).</para> | ||
1089 | </listitem> | ||
1090 | |||
1091 | <listitem> | ||
1092 | <para>Hit the <literal>Create</literal> button to deploy the | ||
1093 | VNF.</para> | ||
1094 | </listitem> | ||
1095 | </orderedlist> | ||
1096 | </section> | ||
1097 | |||
1098 | <section id="enter_console"> | ||
1099 | <title>Entering the VNF Console</title> | ||
1100 | |||
1101 | <para>Once the VNF is deployed, the VNF console can be entered using | ||
1102 | SSH and virsh commands. The VNF Console is a typical starting point | ||
1103 | for determining a successful deployment and configuring a VNF beyond | ||
1104 | Day Zero.</para> | ||
1105 | |||
1106 | <orderedlist spacing="compact"> | ||
1107 | <listitem> | ||
1108 | <para>SSH to the uCPE device from the Enea uCPE Manager | ||
1109 | (Device->SSH) with default user and password: | ||
1110 | <literal>root</literal>.</para> | ||
1111 | </listitem> | ||
1112 | |||
1113 | <listitem> | ||
1114 | <para>In SSH:</para> | ||
1115 | |||
1116 | <orderedlist> | ||
1117 | <listitem> | ||
1118 | <para>Use the <command>virsh list</command> command to list | ||
1119 | all running VNFs and to determine the VNF's instance | ||
1120 | number.</para> | ||
1121 | </listitem> | ||
1122 | |||
1123 | <listitem> | ||
1124 | <para>Use the <command>virsh console <instance | ||
1125 | number></command> command to enter the VNF specific | ||
1126 | console.</para> | ||
1127 | </listitem> | ||
1128 | </orderedlist> | ||
1129 | </listitem> | ||
1130 | </orderedlist> | ||
1131 | </section> | ||
1132 | </section> | ||
826 | </section> | 1133 | </section> |
827 | </chapter> | 1134 | </chapter> |