Professional Documents
Culture Documents
MSS LLD Automation User Guide
MSS LLD Automation User Guide
Contents
1 Document History ......................................................................................................................2
2 Introduction ................................................................................................................................3
3 Pre-Requisites ............................................................................................................................3
4 Setting up EFP ............................................................................................................................4
4.1 For Linux (Ubuntu) based machines: ..............................................................................4
4.2 For Windows Based Machines: .........................................................................................6
(myvenv) ~/mysite$ python manage.py runserver ..................................................7
5 Steps for EFP Execution: ..........................................................................................................8
5.1 Conversion of CIQ into LLD ................................................................................................8
5.1.1 For Reference Configuration ..............................................................................................8
5.1.2 For Adding Multiple MSCs in CIQ .................................................................................. 15
5.2 Conversion of CIQ into HLD ............................................................................................ 17
5.2.1 For Reference Configuration ........................................................................................... 17
5.2.2 For Adding Multiple MSCs in CIQ .................................................................................. 24
Confidentiality Class External Confidentiality Label Document Type Page
1 Document History
Sr No Date Updated by Comments
1 04-July-2019 Tarun Kumar Draft version
Confidentiality Class External Confidentiality Label Document Type Page
2 Introduction
EFP is a tool used to generate automated LLD (NFVI & VNF) and HLD of MSS nodes for
different platform such as BSP, HDS and HP Vmware from CIQ. This EFP Tool can generate
HLD and LLD for both compact and high capacity MSS nodes.
3 Pre-Requisites
1. Local Machine having Linux or Windows as Operating System.
2. High-Speed Internet Connection.
3. EFP can be accessed from a single machine in both OS (Windows & Linux) by using
virtual box.
Confidentiality Class External Confidentiality Label Document Type Page
4 Setting up EFP
1. Download the EFP source code tar file from Rosetta repo.
https://gitlab.rosetta.ericssondevops.com/nikhil.vallabhaneni/django-efp1.0
Note: If Django-EFP1.0-master.tar is not in above mentioned path, use the path to the
location where it is downloaded.
<command> cd /home/user/EFP
<command> tar -xvf Django-EFP1.0-master.tar
<command> cd Django-EFP1.0-master
Now you must check that your website is running. Open your browser and enter the
following address
http://127.0.0.1:8000/lld_django_design/
redis-server.exe
redis-cli.exe
2. Install python, pip, python modules and Django using below steps.
<window_prompt> mkdir EFP
<window_prompt> cd EFP
https://gitlab.rosetta.ericssondevops.com/rachita.gupta/efp1.0-
windows
Confidentiality Class External Confidentiality Label Document Type Page
python get-pip.py
python -m pip install --upgrade pip
pip install virtualenvwrapper-win
mkvirtualenv myvenv
pip install -r requirements.txt
cd mysite
o http://127.0.0.1:8000/lld_django_design/
1. Before Starting the EFP server we need to clear Django cache, by deleting the
gen_py folder from the “ %USERPROFILE%\AppData\Local\Temp “ Path. If it's
not there then, jump to the next step.
2. After running the EFP server using the command – python manage.py
runserver.
Confidentiality Class External Confidentiality Label Document Type Page
After running the server EFP, EFP development server can be accessed by opening the
below link in the browser.
http://127.0.0.1:8000/lld_django_design/
3. Start the redis server and client by executing redis-server.exe and redis-cli.exe.
After Selecting you will get a Menu box to Browse the YAML and the Input CIQ Location on your
Machine(YAML and CIQ are used as input for Conversion):
1. Click on Choose file as described in the below image to browse to the YAML file Location i.e.
C:\Users\(USERNAME)\EFP\efp1.0\efp1.0-windows-
master\mysite\lld_django_design\yml\YMLALL.yml .
Confidentiality Class External Confidentiality Label Document Type Page
2. Click on Choose file as described in the below image to browse to the Input CIQ file Location i.e.
C:\Users\(USERNAME)\EFP\efp1.0\efp1.0-windows-
master\mysite\lld_django_design\CIQs\LLD.
Confidentiality Class External Confidentiality Label Document Type Page
3. Then, click on Upload YAML Button as shown in below image to upload the YAML file.
Confidentiality Class External Confidentiality Label Document Type Page
The CIQ Parsing will be processed and can be seen in the pop up as well as on the cmd window as
shown below:
Note: If the Popup window and CMD Window looks stuck please wait for 2 min as background
processing is in progress.
8. Step 8: Process Completion can be marked as the preview of the generated LLD
can be seen on the pop-up window.
Confidentiality Class External Confidentiality Label Document Type Page
By default two MSCs are present in CIQ and LLD’s are generated with these details. EFP also
provides functionality to add extra MSCs. For that we have to just edit the CIQ.For adding Multiple
MSCs in the CIQ, the changes need to be done in two sheets of CIQ i.e.
Confidentiality Class External Confidentiality Label Document Type Page
HW & SW Requirements and IP & Vlan Requirement sheets. Below is a sample image of CIQ with
4 MSCs.
After Editing Sheet according to the No of MSCs, the previous LLDConversion Steps can be repeated
on this new CIQ.
Confidentiality Class External Confidentiality Label Document Type Page
1. Before Starting the EFP server we need to clear Django cache, by deleting the
gen_py folder from the “ %USERPROFILE%\AppData\Local\Temp “ Path. If it's
not there then, jump to the next step.
2. After running the EFP server using the command – python manage.py
runserver.
After running the server EFP, EFP development server can be accessed by opening the
below link in the browser.
http://127.0.0.1:8000/lld_django_design/
Confidentiality Class External Confidentiality Label Document Type Page
3. Start the redis server and client by executing redis-server.exe and redis-cli.exe.
After Selecting you will get a Menu box to Browse the YAML and the Input CIQ Location on your
Machine(YAML and CIQ are used as input for Conversion):
1. Click on Choose file as described in the below image to browse to the YAML file Location i.e.
C:\Users\(USERNAME)\EFP\efp1.0\efp1.0-windows-
master\mysite\lld_django_design\yml\YMLALL.yml .
Confidentiality Class External Confidentiality Label Document Type Page
2. Click on Choose file as described in the below image to browse to the Input CIQ file Location i.e.
C:\Users\(USERNAME) \EFP\efp1.0\efp1.0-windows-
master\mysite\lld_django_design\CIQs\HLD .
Confidentiality Class External Confidentiality Label Document Type Page
3. Then, click on Upload YAML Button as shown in below image to upload the YAML file.
The CIQ Parsing will be processed and can be seen in the pop up as well as on the cmd window as
shown below:
Note: If the Popup window and CMD Window looks stuck please wait for 2 min as background
processing is in progress.
Confidentiality Class External Confidentiality Label Document Type Page
8. Process Completion can be marked as the preview of the generated HLD can be
seen on the pop-up window.
By default two MSCs are present in CIQ and HLD’s are generated with these details. EFP also
provides functionality to add extra MSCs. For that we have to just edit the CIQ.For adding Multiple
MSCs in the CIQ, the changes need to be done in two sheets of CIQ i.e.
HW & SW Requirements and IP & Vlan Requirement sheets. Below is a sample image of CIQ with
4 MSCs.
After Editing Sheet according to the No of MSCs, the previous HLD Conversion Steps can be
repeated on this new CIQ.