osm#9 hackfestosm-download.etsi.org/ftp/osm-7.0-seven/osm9-hackfest/presentati… · • pnf or...
TRANSCRIPT
![Page 1: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/1.jpg)
© ETSI 2020
OSM#9 HackfestHackfest Scenario Overview
Mark Beierl (Canonical)
![Page 2: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/2.jpg)
© ETSI 2020
Regional Datacentre
Web Cache
Central Datacentre
Cellular Data Path
2
SDN
UE
eNB
Router EPC (PGW)
![Page 3: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/3.jpg)
© ETSI 2020
I Just Want to Watch YouTube
• Cellular data continues to explode• 5G gives us even more bandwidth• Backhaul costs are expensive• Management of all the software components is expensive• Remote management is even more expensive
Here we show how OSM helps with the management and orchestration of Evolved Packet Core (EPC) and over-the-top services
3
![Page 4: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/4.jpg)
© ETSI 2020
Magma combines 3GPP functions into AGW
● MME | Mobility Management Entity○ Keeps track of User Equipment registered on LTE network○ Handles requests for network access - setting up and tearing down data
sessions● SGW | Serving Gateway
○ IP router with GTP support and charging functionality○ Module for signalling between PGW and MME
● PGW | Packet Data Network Gateway○ Provides access to external Packet Data Networks (ie: internet)
4
![Page 5: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/5.jpg)
© ETSI 2020
We will emulate in software...
● UE | User Equipment○ This is the cell phone or device communicating over cellular network
● eNB | The evolved Node B○ The Cell Phone Radio itself○ Connected to the mobile phone network that communicates directly
wirelessly with mobile handsets
5
![Page 6: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/6.jpg)
© ETSI 2020
Regional Datacentre
Web Cache
Central Datacentre
Cellular Data Path
6
SDN
UE
eNB
Router EPC (PGW)
![Page 7: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/7.jpg)
© ETSI 2020
Regional Datacentre
Web Cache
Central Datacentre
Cellular Data Path
7
SDN
UE
eNB
Router EPC (PGW)
VIM +K8s
OSM
Magma vEPCvdu
Generic eNodeB+UE emulator
vdu
Magma Orchestrator
(KNF)
Physical Router (PNF) - VyOS
Squid KNF
![Page 8: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/8.jpg)
© ETSI 2020
Reality is messy and mixed
8
OSM
KubernetesVIMRacks
PNF PNF VNF VNF KNF
LXD Operators
Proxy Charm(Ops Code)
VNF
Native Charm
KNF
K8s Operators
Proxy Charm(Ops Code)
Native Charm
![Page 9: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/9.jpg)
© ETSI 2020
Orchestration
• Last mile workload-specific workflows and codepaths• Scripts, file changes, integration, config, backup etc
• How? OSM uses scripts that are packaged in a Charm• Proxy
• PNF or existing fixed functions with limited integration options• Charm acts on NF from a distance over some network protocol• SSH or REST or NetConf-Yang from the proxy charm
• Native• Charm has direct access to function• App that can be installed on Win/Ubuntu/RHEL/CentOS, or• Docker image that can be driven by a charm directly• No need for open management port - actions run locally
9
![Page 10: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/10.jpg)
© ETSI 2020
Regional Datacentre
Web Cache
Central Datacentre
Cellular Data Path
10
SDN
UE
eNB
Router EPC (PGW)
VIM +K8s
OSM
Magma vEPCvdu
Generic eNodeB+UE emulator
vdu
Magma Orchestrator
(KNF)
Physical Router (PNF) - VyOS
Squid KNF
Proxy Charm
Proxy Charm
Native Charm
Native Charm
![Page 11: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/11.jpg)
© ETSI 2020
Charms are packages of scripts to drive apps
Charm
“Action” scripts are OSM Primitives
“action: backup”“action: restore”“action: scan-viruses”“action: health-check”“action: add-repo”“action: ...”“action: ...”“action: ...”
Lifecycle scripts
- install- config- update- remove- scale
Integration scripts
- relate-mysql- relate-ldap- relate-proxy- relate-...
These are your operations primitives.
11
![Page 12: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/12.jpg)
© ETSI 2020
Software Components: Magma vEPC
OSM Creates and Configures:
● Magma vEPC Combination K8s and VMs○ https://github.com/facebookincubator/magma ○ Management of Magma is series of K8s containers○ Magma AGW is in a VM
■ Uses SR-IOV, CPU pinning and huge pages
12
EPC (PGW)
Evolved Packet Core SliceOrchestrator Slice (shared)
Magma AGW + Tester (VNF)
Magma vEPCvdu
Magma Orchestrator (KNF)
other kdus
nginx_proxy kdu
orc8r_proxy kdu
Generic eNodeB+UE emulator
vdu
![Page 13: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/13.jpg)
© ETSI 2020
Software Components: Magma AGW
Configuration:
● Information needed:○ An ID for this EPC: agw_01
○ A name for this EPC: AGW01
○ An IP address of the Magma Orchestrator
○ The network name to create in Magma Orchestrator: osmnet
● Demonstrated using Proxy orchestration charm
13
EPC (PGW)
![Page 14: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/14.jpg)
© ETSI 2020
Software Components: PNF Router
14
● VyOS package, not customized
● Router already exists, no software to deploy
● Must be registered with OSM for orchestration
Configuration:
● Routing○ Permit / Deny traffic from the Magma AGW to internet
● Demonstrated using Proxy orchestration charm
![Page 15: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/15.jpg)
© ETSI 2020
Software Components: eNodeB + UE
15
OSM will deploy and configure a VM with:
• srsLTE• Software Radio (eNodeB)• Software UE (Cellphone)
• Graphical Desktop with Firefox
https://github.com/srsLTE/srsLTE
Generic eNodeB+UE emulator
vdu
![Page 16: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/16.jpg)
© ETSI 2020
Software Components: eNodeB + UE
16
Configuration:
● Information needed:○ Where is EPC Core
○ Radio parameters (MCC, MNC, etc)
○ UE parameters (IMSI, encryption keys)
● Demonstrated using Native orchestration charm
Generic eNodeB+UE emulator
vdu
![Page 17: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/17.jpg)
© ETSI 2020
Software Components: Web Cache
OSM Creates and Configures:
● Web Cache Container○ Based on Squid
○ http://www.squid-cache.org/
● Demonstrated using Native K8s orchestration charm
17
Web Cache
![Page 18: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/18.jpg)
© ETSI 2020
The Big Picture
18
Magma EPC Network Slice
Evolved Packet Core SubnetOrchestrator Subnet (shared)
Magma AGW + Tester (VNF)Magma Orchestrator (KNF)
Magma vEPCvdu
Generic eNodeB+UE emulator
vdu
Physical Router (PNF) - VyOS emulated -
Squid KNF
SGi interface
S1 interface
management
other kdus
nginx_proxy kdu
orc8r_proxy kdu
Physical Switches (Data Plane)
![Page 19: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/19.jpg)
© ETSI 2020
The EPC Network Slice
19
Magma EPC Network Slice
Evolved Packet Core SubnetOrchestrator Subnet (shared)
Magma AGW + Tester (VNF)Magma Orchestrator (KNF)
Magma vEPCvdu
Generic eNodeB+UE emulator
vdu
Physical Router (PNF) - VyOS emulated -
Web Cache KNF / Internet
SGi interface
S1 interface
management
other kdus
nginx_proxy kdu
orc8r_proxy kdu
Physical Switches (Data Plane)
![Page 20: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/20.jpg)
© ETSI 2020
Our Cell Phone
● The VM that has the UE software is really an Ubuntu Desktop● But… we are using that as if it were a Cell Phone● Can log into the desktop using VNC - password srslte● If VNC not available, use Horizon Dashboard
○ http://172.21.247.1/project/instances/○ Desktop credentials: ubuntu / osm2020
20
![Page 21: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/21.jpg)
© ETSI 2020
User Provisioning
● Cell phone has SIM card with credentials
● Needs to be activated in Carrier’s EPC○ Day 1 Primitive operation to provision the phone in Magma
● Cell phone needs a radio○ Day 2 Primitive operation to start radio emulator
○ Day 2 Primitive operation to register cell on network
21
![Page 22: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/22.jpg)
© ETSI 2020
End to End, But First We Learn
The next 3 days we will be breaking down the deployment step by step and teaching how each part gets created
Enjoy the Hackfest!
22
Magma EPC Network Slice
Evolved Packet Core SubnetOrchestrator Subnet (shared)
Magma AGW + Tester (VNF)Magma Orchestrator (KNF)
Magma vEPCvdu
Generic eNodeB+UE emulator
vdu
Physical Router (PNF) - VyOS emulated -
Web Cache KNF / Internet
SGi interface
S1 interface
management
other kdus
nginx_proxy kdu
orc8r_proxy kdu
Physical Switches (Data Plane)
![Page 23: OSM#9 Hackfestosm-download.etsi.org/ftp/osm-7.0-seven/OSM9-hackfest/presentati… · • PNF or existing fixed functions with limited integration options • Charm acts on NF from](https://reader035.vdocuments.us/reader035/viewer/2022081615/5fe3fc84d181935847742400/html5/thumbnails/23.jpg)
© ETSI 2020
Find us at:osm.etsi.org
osm.etsi.org/wikipub