opnfv: upstream headwaters to full deployment
TRANSCRIPT
![Page 1: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/1.jpg)
Open Source NFV:Upstream Headwaters to Full Deployment
Chris WrightChief TechnologistRed Hat, Inc.
![Page 2: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/2.jpg)
Software is eating the worldMarc Andreessen
![Page 3: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/3.jpg)
Open SourceSoftware is eating the world
![Page 4: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/4.jpg)
World without Open Source Software
No AmazonNo GoogleNo eBay
No PayPalNo Yahoo!
No SalesforceNo LinkedinNo Twitter
No FacebookNo Alibaba
![Page 5: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/5.jpg)
IT Trend – Infrastructure
CPU
RAM
DISK
BUS
NET
SERVER
SERVERS
STORAGE
NETWORK
DATACENTER
![Page 6: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/6.jpg)
IT Trend – Development
![Page 7: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/7.jpg)
IT Trend – Business
Commoditization Innovation
![Page 8: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/8.jpg)
Modern IT
Everybody wants…
Massive ScaleAgile Business
...to operate like large scale web companies
![Page 9: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/9.jpg)
Gum sales declining
![Page 10: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/10.jpg)
Transportation
FinanceRetail
IT Infrastructure
Media
Software Disrupts Traditional Business
![Page 11: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/11.jpg)
DISRUPT YOURSELF OR BE DISRUPTED
![Page 12: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/12.jpg)
Open Source NFV
![Page 13: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/13.jpg)
Network Functions Virtualization (NFV)
Network Functions are trapped in function specific HW Expensive to procure, integrate, deploy and operate
Virtualize Network Functions (VNFs)Distribute VNFs on COTS-based IaaS – a Cloud
Bring modern data center architecture to Telco networkSteer traffic with SDN
Traffic must traverse chain of functions in well-defined order
![Page 14: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/14.jpg)
Why NFV?
Reduce time-to-market for new services Improve business agility Compete with over-the-top web-based services
Reduce CAPEX and OPEX costs
![Page 15: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/15.jpg)
Virtual Network Function as a Service
Access Router
WAN Optimization
Firewall
CG-NAT
ADC\IPS
NG-Firewall
DPI
Monitoring QoS
(ETSI #2)
Network Functions
![Page 16: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/16.jpg)
Example: VNFaaS
Requires service chaining support in OpenDaylight, OpenStack Neutron
Enable Nova instances as nodes in a Neutron service chain SFC support in OpenDaylight
Performance DPDK-accelerated Open vSwitch
Reliability HA instances in Nova
![Page 17: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/17.jpg)
Virtualized Mobile Base Station
-Multiple RAN technologies from multiple vendors to be consolidated on a single BS to improve utilization -BS virtualization can share resources among multiple logical RAN nodes from different systems.-C-RAN for efficient resource utilization among different physical BSs.-Baseband Unit (BBU) pool with high performance servers and real-time processing for signaling capacity
(ETSI #4)
![Page 18: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/18.jpg)
Example: C-RAN/vRAN
Determinism Real-time patches to KVM
Performance DPDK accelerated Open vSwitch
Reliability at scale HA instances in OpenStack Nova HA OpenStack Fault management and reporting IPv6 support – kernel through Nova, Neutron
![Page 19: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/19.jpg)
NFV is not just OpenStack
![Page 20: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/20.jpg)
NFV is a broad set of Communities
ETSI NFV driving industry trends, documenting functional requirements
OPNFV integrating open source components, communicating needs upstream
OpenStack abstraction/integration of virtual compute, network, storage
libvirt, qemu/KVM, Ceph, OpenDaylight, Open vSwitch
Underlying infrastructure management
![Page 21: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/21.jpg)
Upstream first
Successful changes should be designed, written and proposed with upstreamMaintaining significant out-of-tree patches across multiple projects is unsustainable
![Page 22: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/22.jpg)
Upstream First
Requires discipline (small changes, discussed first)Relationships (your priority might not be their priority)Many communities – not just OpenStack!
![Page 23: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/23.jpg)
Open Source NFV Summary
NFV requires a collection of multiple projectsUse-cases require features which touch many componentsMaintaining forks of multiple projects is unsustainableMultiple service providers and NEPs have similar requirementsEngaging with upstream projects early is required for success
![Page 24: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/24.jpg)
ComputingHardware
StorageHardware
NetworkHardware
Hardware resources
Virtualisation LayerVirtualised
InfrastructureManager(s)
VNFManager(s)
VNF 2
OSS/BSS
NFVI
VNF 3VNF 1
Virtual Computing
Virtual Storage
Virtual Network
EMS 2 EMS 3EMS 1
Service, VNF and Infrastructure Description
Or-Vi
Or-Vnfm
Vi-Vnfm
Os-Ma
Se-Ma
Ve-Vnfm
Nf-Vi
Vn-Nf
Vl-Ha
Orchestrator
OpenStack
LinuxKVM OVS + DPDK
OPNFV
OpenDaylight
![Page 25: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/25.jpg)
![Page 26: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/26.jpg)
Open vSwitch (OVS)
Multi-layer virtual switch Configuration managed w/ OVSDB Flow tables controlled by OpenFlow
Provides connection between VMs on same hostProvides uplink to physical network via host NICData fast path in-kernelChallenges
kernel networking stack can be bottleneck 64 byte packet processing rates suffer Microflows vs. megaflows
![Page 27: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/27.jpg)
DPDK
Library for userspace packet processingDirectly manages NIC with userspace poll mode driver (PMD)
Drivers for both physical and virtual NICsPolls driver NIC for packets, NIC DMAs directly to application buffersPlatform specific optimizations
Hugepages, NUMA and cacheline aware Batched packet processing CPU instructions (SSE4, AVX, etc)
![Page 28: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/28.jpg)
OVS + DPDK
Intel reports improved packet processing rates
![Page 29: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/29.jpg)
NFV Relevant Open Source Projects
Project LOC Change rate Cost
Linux 17,285,731 6000/mo $500M
QEMU 902,252 500/mo $25M
libvirt 566,977 250/mo $15M
OpenDaylight 2,326,260 2000/mo $67M
OpenStack 2,526,686 5000/mo $72M
Open vSwitch 224,121 200/mo $5M
DPDK 1,466,904 200/mo $42M
http://www.openhub.net
![Page 30: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/30.jpg)
Putting it all together
OpenStack ComputeKVM
OVS+DPDK
OpenStack ComputeKVM
OVS+DPDK
OpenStack ComputeKVM
OVS+DPDK
OpenDaylightController
OpenStackNetworking
OpenFlow/OVSDB
ML2_ODL
![Page 31: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/31.jpg)
OPNFV Bootstrap/Getting Startedwith Foreman/Quickstack
![Page 32: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/32.jpg)
Quick Overview/Review
Foreman
Jenkins
Khaleesi
Genesis
QuickStack
Build Scheduler
Ansible Test Framework
Host Provisioning
Foreman Initiated Puppet
Host Provisioning
Configures OpenStack with Puppet
![Page 33: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/33.jpg)
Current Deployment
Single POD in Intel lab with donated hardwareBaremetal hostsForeman server and hosts running CentOS 7Admin (management), Public and Private networksMinimum 2 servers per instance (more with HA)OpenDaylight integration with OpenStack
![Page 34: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/34.jpg)
Topology Overview
Foreman Server
OpenStack Compute
OpenStack Network/ControlOpenDaylightAdmin Network
Private NetworkPublic Network
![Page 35: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/35.jpg)
Foreman Overview
ForemanForeman Proxy Puppet Master
DNSDHCPTFTPBMCPuppet CA
Host GroupsHost DBIP ManagementKickStart TemplatesGlobal Params
GenesisQuickStackOpenStackOpenDaylight
![Page 36: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/36.jpg)
Provisioning Work FlowPut Host into Build Mode with BMC
Reboot
Host PXE Boots using KickStart Template
Foreman provides host associated OS install + Puppet
Host Reboots into OS and starts Puppet
Puppet applies Genesis -> ODL and Quickstack
![Page 37: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/37.jpg)
Foreman/QuickStack – OPNFV Arno Release
OpenStack HA + OpenDaylight achievedAutomatic deployment of OPNFV target system to virtual or baremetal setupsBootable Foreman/QuickStack ISO to assist in deploymentFunctest Integration in a OPNFV CI environment
![Page 38: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/38.jpg)
OPNFV – OpenStack HA + Opendaylight
Only installer to achieve O/S integration with ODL for ArnoAll O/S services required for OPNFV run in HA - https://wiki.opnfv.org/get_started/get_started_system_stateIncludes automatically provisioned external network for tenant accessUses Ceph clustering backend for Cinder
![Page 39: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/39.jpg)
![Page 40: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/40.jpg)
Foreman/QuickStack Automatic Deployment
Uses a simple bash “deploy.sh” script to deploy an entire OpenStack HA + ODL setup (3 control nodes, x compute nodes)Minimal parameters needed – only need IPMI, mac address info of baremetalNetwork information and O/S parameters are dynamically determined at runtimeDeploys to either baremetal or virtual machines
![Page 41: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/41.jpg)
Automatic Deployment Process (baremetal)
deploy.sh -base_config my_settings.yml
Vagrantfile + OPNFV settings created for JumpHost
Vagrant up installs Khaleesi + provisions JumpHost
Khaleesi executes and installs Foreman pre-configured with OPNFV nodes
Khaleesi issues API call to Foreman to rebuild and provision nodes using QuickStack puppet modules
![Page 42: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/42.jpg)
Foreman/QuickStack ISO
To be installed on the JumpHost as it's base OSBased on CentOS 7Contains artifacts to be able to deploy after installation
![Page 43: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/43.jpg)
CI + Functest Integration
Foreman/QuickStack integrated into OPNFV CI environmentOPNFV CI environment is controlled by Jenkins on Linux Foundation hardwareFunctest team triggers a set of tests to execute after a deploy:
Vping VNF test ODL Integration test suite Tempest Smoke Tests Rally benchmark tests
![Page 44: OPNFV: Upstream Headwaters to Full Deployment](https://reader034.vdocuments.net/reader034/viewer/2022042608/55ca6005bb61ebb5488b4579/html5/thumbnails/44.jpg)
Thank you