-
-
owned this note
-
Published
Linked with GitHub
---
title: Lab Meeting Minutes 2021/08/04
tags: lab_meeting
---
> Outline
> [TOC]
---
# PERAL Lab Meeting
- 時間:110年08月04日 15:00
- 地點:[Online](https://meet.google.com/ocz-dbbg-qfe)
- 出席者:吳坤熹老師、謝萬霖、周以恆、吳騰然、陳嘉瑋、劉怡君、田蕙瑜、劉又聖、洪胤勛、莊才賢、丘世宇
- 會議主題: [Introduction to Network Function Virtualization](http://ms15.voip.edu.tw/~johnson/PPT/NFV/NFV.pptx)
- 主講者: 劉又聖
- 主記: 劉怡君
## 會議內容
### NFV
- What is NFV
- 實體設備的功能虛擬化(軟體呈現)
- Problems solved
- 網路功能不再受限於硬體
- 減少成本(Capital/Operating Expenditures)
- 面對市場需求可快速提供服務
- Architecture

- OSS: Operation support system
- BSS: Business support system
- VNF: Virtualize Network Function,虛擬化過後的網路功能
- NFVI: NFV Infrastructure
- VIM: Virtualize Infrastructure Management,管理 VNF life cycle
- EM : Element Management,管理 VNF
- FCAPS: Fault, Configuration, Accounting, Performance and Security Management
### NFV MANO Tool - OSM
- VNF Instantiation & Management setup
- VNFD (Description)
- NSD (Description)
- 初始化 VM
#### Day0
> Instance Network Service/Slices making VNFs manageable
#### Day1
- VNF Service Initialization
- 初始化 VNF 提供的服務
- OSM achieved it with JujuProxy Charm
##### juju proxy charm
- 主要功能
- 在圖上不屬於OSM, 也不屬於VIM, 應屬於EM.
- 不能啟動也不能關閉 VNF.
- 只能透過SSH去config VNF.
- 運作元件
- juju charm
- juju reactive charm
#### Day2 VNF Runtime Operation
> VNF Runtiome Operations
- To target runtime operation, using Reactive Charm define actoins
- VNF package
- charms
- cloud init
- icons
- images
- scripts
- yaml file
- NS package
- charms
- icons
- yaml file
實作:
- IP Address: 10.21.25.3
- create_vim.sh 建立 VIM
- create_vnfp.sh 建立 VNF Package
- cd demo_vnf 可進去看到建立的package. 但可惜這是舊版,要另外 package_translate.sh
- Externa connection point(cp)
- for network service
- cloud-init
- 之前執行sudo會等比較久,因為它找不到本機叫什麼名字。
- 修改 /etc/hosts 後解決此問題。
- demo_nsd.yaml
- create_ns.sh
- osm ns-list
- 從 web 介面 openstack instances 可以看到 IP address.
- 實作時,因為之前Johnson已幫大家設立一個獨立的專案,所以不會互相干擾.
- env | grep OSM_
- ping 不到。要加 ip route add.
- demo_vnfd.yaml
- ssh-hostname, get the host name
- charm_env.sh
- mkdir -p charms/layers
- cd charms/layers/demo_day1_example
- actions.yaml
- juju switch admin/$NS_ID
- watch -n 2 -d juju status
- 安裝 apache, 整個過程需要8分鐘左右。
cd /tmp/demo_day2_example/
- demo_day2
- `command : python...`
- 若直接使用 bash 指令會抓取到 linux container 的資訊而非 NFV, 故使用其他方式(ava_memory.py)
- 用 free 看記憶體
- 用 vmstat 看 CPU
- juju metrics --all
- 官方文件也都是用juju收集,缺點是每五分鐘收集一次,這個值不能更改。
-
***
### 建議&問題
1. 簡報p.4 中 VNF manager 跟 VIM 之間的關係? [name=才賢]
Ans: VNF manager 負責跟 EM/VNF 打交道,VIM 則跟 NFVI 打交道。[name=Solomon]
通常不會特別去解釋兩者之間的關係,在 OSM 系統中會視為一體。[name=Johnson]
2. P.2 這些硬體設備都還有在用嗎?用NFV提供的,效能會不會較差? [name=世宇]
Ans: [name=]
3. 虛擬化的網路功能是指什麼 [name=胤勛]
Ans: 將防火牆虛擬化就像是建一台VM,上面跑防火牆的程式(防火牆就是一種網路功能),透過 VNF 建立的虛擬網路去連結設備。 [name=Johnson]
4. load balancing? [name= Phoebe]
Ans: 四台中一台是 controller node, 一台 network node,兩台 compute node [name=Johnson]
5. What are defined in "actions"? [name=Angela]
Ans: Take firewall for example. VNF provides firewall features. Actions will be "adding a rule on firewall" or "deleting a rule on firewall" [name=Johnson]
- In openstack topology, when will use shared network?
Ans: [name=Johnson]
6. What still need to be developed for better NFV? [name=Jeffrey]
Ans: 新的架構要跟舊有的架構去做相容有難度。[name=Johnson]
7. Conatiner Network function 跟 VNF 的差異 [name=Toby]
Ans: Conatiner Network function 利用 Container 取代 VM,在 build up 時可能較為迅速且不占太多資源,但官方目前還在開發中。[name=Johnson]
8. I am confused by the role of Juju. [name=Henry]
Juju is used for cloud network mgmt.
9. Why did you use 172.24 for the public address of Openstack? [name=Edgar]
ans: I tried 163.22 and 10.21, but all failed. So I fall back to 172.24.
10. Add a HOWTO document. You may add the commands in your slides. [name=Edgar]
10. Research. Alternative. [name=Solomon]
## 待追蹤事項
1. [name=]
## 臨時動議
- 無
---
散會結束時間: 17:40