SlideShare une entreprise Scribd logo
1  sur  36
Télécharger pour lire hors ligne
OpenStack	
  and	
  OpenContrail	
  on	
  
FreeBSD	
  pla4orm	
  
Michał	
  Dubiel	
  
EuroBSDCon	
  2014,	
  Sofia,	
  Bulgaria	
  
Outline	
  
•  OpenStack	
  
– IntroducDon	
  
– Nova	
  Compute	
  driver	
  
– Nova	
  Network	
  driver	
  
•  OpenContrail	
  
– Why?	
  
– Overlay	
  networks	
  vs	
  vlans	
  
– SoLware	
  architecture	
  
•  Status,	
  next	
  steps	
  
Machines	
  in	
  a	
  datacenter	
  
VM	
  VM	
  VM	
  VM	
  
hypervisor	
  
VM	
  VM	
  VM	
  VM	
  
hypervisor	
  
MIGRATIONS	
  
VM	
  VM	
  VM	
  VM	
  
hypervisor	
  
VM	
  VM	
  VM	
  VM	
  
hypervisor	
  
Storage	
  appliance	
  
Cloud	
  operaDng	
  system	
  
source:	
  openstack.org	
  
OpenStack	
  introducDon	
  
•  “Massively	
  scalable	
  cloud	
  operaDng	
  system”	
  
•  Aims	
  to	
  manage	
  
– Compute	
  
– Storage	
  
– Network	
  
•  Major	
  components	
  
– Compute	
  (Nova)	
  
– Storage	
  (SwiL,	
  Cinder)	
  
– Networking	
  (Neutron)	
  
	
  
OpenStack	
  components	
  
•  There	
  is	
  a	
  lot	
  of	
  soLware	
  components	
  
–  Nova	
  (compute	
  manager,	
  networking	
  manager,	
  
scheduler,	
  etc.)	
  
–  Neutron	
  (controller,	
  agents)	
  
–  Glance	
  (image	
  service)	
  
–  API	
  servers	
  
–  Message	
  queues	
  
–  Etc.	
  
•  FreeBSD	
  support	
  is	
  about	
  the	
  compute	
  node	
  
–  Depended	
  on	
  underlying	
  OS	
  pla4orm	
  
–  Another	
  hypervisor	
  (bhyve)	
  
Networking	
  service	
  -­‐	
  OpenContrail	
  
source:	
  openstack.org	
  
Compute	
  node	
  
Nova	
  
Scheduler	
  
Nova	
  network	
  
server	
  
Nova	
  
network	
  
bhyve	
  
VM	
   VM	
   VM	
  
Bridge	
  
Kernel	
  space	
  
Nova	
  
compute	
  
Libvirt	
  
OpenStack	
  compute	
  node	
  
•  nova-compute:	
  manages	
  compuDng	
  
instances	
  on	
  host	
  machines	
  
–  Run/terminate/reboot	
  instances	
  
–  Aaach/detach	
  volumes	
  
–  Console	
  output	
  
•  nova-network:	
  manages	
  networking	
  
resources!
–  Responsible	
  for	
  sebng	
  up	
  networking	
  between	
  VMs	
  
–  Simple	
  soluDons	
  (bridges,	
  vlans,	
  etc.)	
  
Spawning	
  a	
  VM	
  
•  Nova	
  scheduler	
  choses	
  a	
  compute	
  node	
  for	
  a	
  VM	
  
•  The	
  nova-­‐compute	
  fetches	
  the	
  VM	
  image	
  from	
  
glance	
  service	
  
•  The	
  nova-­‐compute	
  builds	
  a	
  libvirt	
  XML	
  definiDon	
  
for	
  the	
  VM	
  
•  The	
  nova-­‐network	
  configures	
  bridge	
  for	
  VM	
  
networking	
  
•  The	
  nova-­‐compute	
  invokes	
  libvirt	
  and	
  spawns	
  the	
  
VM	
  
–  Libvirt	
  adds	
  tap	
  device	
  to	
  the	
  bridge	
  connecDng	
  that	
  
way	
  the	
  VM	
  to	
  the	
  virtual	
  network	
  
FreeBSD	
  Development	
  
•  Libvirt	
  support	
  for	
  bhyve	
  	
  
–  Work	
  of	
  Roman	
  Bogorodskiy	
  
–  Few	
  new	
  features	
  and	
  fixes!
•  nova-compute	
  adjustments	
  for	
  new	
  
hypervisor	
  type	
  –	
  bhyve	
  
•  nova-­‐network	
  support	
  for	
  FreeBSD	
  	
  
–  ifconfig	
  vs.	
  brctl,	
  ip	
  tool	
  
–  dnsmasq	
  	
  
•  Devstack	
  support	
  for	
  FreeBSD	
  
Networking	
  service	
  -­‐	
  OpenContrail	
  
source:	
  openstack.org	
  
Rack,	
  servers,	
  VMs	
  
VM	
  VM	
  VM	
  VM	
  
hypervisor	
  
VM	
  VM	
  VM	
  VM	
  
hypervisor	
  
VM	
  VM	
  VM	
  VM	
  
hypervisor	
  
Server	
  rack	
  
To	
  spine	
  switch	
  
Datacenter	
  architecture	
  
Clos	
  network	
  
ObservaDons	
  
•  Majority	
  of	
  network	
  endpoints	
  are	
  virtual	
  
•  Network	
  isolaDon	
  between	
  them	
  has	
  to	
  
be	
  available	
  
•  While	
  using	
  the	
  same	
  physical	
  network	
  
•  Endpoint	
  may	
  migrate	
  from	
  one	
  physical	
  
host	
  to	
  another	
  
SoluDons	
  
•  Bridges	
  +	
  vlans	
  
– What	
  nova-­‐network	
  provides	
  
– Limited,	
  not	
  flexible	
  
•  Overlay	
  networking	
  (OpenContrail)	
  
– Available	
  as	
  a	
  Neutron	
  plugin	
  
– Flexible	
  
– Scalable	
  
VLANs	
  
•  VM’s	
  interfaces	
  placed	
  on	
  bridges	
  
– Each	
  bridge	
  for	
  a	
  virtual	
  network	
  
•  4096	
  VLAN	
  tags	
  limit	
  
– Can	
  be	
  extended	
  using	
  Shortest	
  Path	
  Bridging	
  
•  Difficult	
  to	
  manage	
  
•  Physical	
  switches	
  has	
  to	
  contain	
  the	
  VN	
  state	
  
VM	
  migraDon	
  example	
  
VM1	
   VM2	
  
Server	
  1	
  
VM3	
  
VM4	
   VM5	
  
Server	
  2	
  
VM6	
  
VM7	
   VM8	
  
Server	
  3	
  
VM9	
  
Physical	
  switch	
  
Virtual	
  networks:	
  
1	
   2	
  
3	
  
VM	
  migraDon	
  example	
  
VM1	
   VM2	
  
Server	
  1	
  
VM3	
  
VM4	
   VM5	
  
Server	
  2	
  
VM6	
  
VM7	
   VM8	
  
Server	
  3	
  
VM9	
  
Physical	
  switch	
  
Virtual	
  networks:	
  
1	
   2	
  
3	
  
VM9	
   Payload	
  
Eth	
  +	
  VLAN	
  tag	
  +	
  IP	
  
VM	
  migraDon	
  example	
  
VM1	
   VM2	
  
Server	
  1	
  
VM3	
  
VM4	
   VM5	
  
Server	
  2	
  
VM6	
  
VM7	
   VM8	
  
Server	
  3	
  
VM9	
  Physical	
  switch	
  
Virtual	
  networks:	
  
1	
   2	
  
3	
  
VM9	
   Payload	
  
Eth	
  +	
  VLAN	
  tag	
  +	
  IP	
  
Overlay	
  networking	
  
•  “Old”	
  technology,	
  relaDvely	
  new	
  for	
  data-­‐
centers	
  
•  Physical	
  underlay	
  network	
  
– IP	
  fabric	
  
– No	
  tenant	
  state	
  
•  Virtual	
  overlay	
  network	
  
– Tenant	
  state	
  
– Dynamic	
  tunnels	
  (MPLSoGRE,	
  VXLAN,	
  etc.)	
  
VM	
  migraDon	
  example	
  
VM1	
   VM2	
  
Server	
  1	
  
VM3	
  
VM4	
   VM5	
  
Server	
  2	
  
VM6	
  
VM7	
   VM8	
  
Server	
  3	
  
VM9	
  
Physical	
  switch	
  
Virtual	
  networks:	
  
1	
   2	
  
3	
  
S3	
   VM9	
   Payload	
  
Physical	
  network:	
  
Eth	
  +	
  IP	
  
VM	
  migraDon	
  example	
  
VM1	
   VM2	
  
Server	
  1	
  
VM3	
  
VM4	
   VM5	
  
Server	
  2	
  
VM6	
  
VM7	
   VM8	
  
Server	
  3	
  
VM9	
  Physical	
  switch	
  
Virtual	
  networks:	
  
1	
   2	
  
3	
  
S2	
   VM9	
   Payload	
  
Physical	
  network:	
  
Eth	
  +	
  IP	
  
Advantages	
  
•  “Knowledge”	
  about	
  network	
  only	
  in	
  the	
  
soLware	
  (Controllers,	
  compute	
  nodes)	
  
•  Any	
  switch	
  works	
  for	
  IP	
  fabric	
  network	
  
– No	
  configuraDon	
  
– Only	
  speed	
  maaers	
  
– Lower	
  price	
  
•  In	
  case	
  of	
  OpenContrail	
  standards-­‐based	
  
(MPLS,	
  BGP,	
  VXLAN,	
  etc.)	
  
SDN	
  in	
  cloud	
  orchestraDon	
  
Source:	
  www.opencontrail.org	
  
Architecture	
  overview	
  
Source:	
  www.opencontrail.org	
  
ConfiguraDon	
  node	
  
Source:	
  www.opencontrail.org	
  
Controller	
  node	
  
Source:	
  www.opencontrail.org	
  
Compute	
  node	
  
Nova	
  
Scheduler	
  
Contrail	
  Control	
  
node	
  
Nova	
  vif	
  
driver	
  
bhyve	
  
VM	
   VM	
   VM	
  
Contrail	
  
Agent	
  
Contrail	
  
vRouter	
  
Kernel	
  space	
  
Nova	
  
compute	
  
Libvirt	
  
NetLink	
  
/dev/flow	
  
pkt	
  
TCP	
  
vRouter	
  forwarding	
  plane	
  
Source:	
  www.opencontrail.org	
  
MPLSoGRE	
  example	
  
Source:	
  www.opencontrail.org	
  
OpenContrail	
  summary	
  
•  High-­‐level	
  descripDon	
  of	
  networks	
  
– allow	
  	
  any	
  	
  src-­‐vn	
  -­‐>	
  dst-­‐vn	
  	
  svc-­‐1,	
  svc-­‐2	
  
•  Horizontally	
  scalable	
  
•  Fault	
  tolerant	
  
•  Works	
  with	
  exisDng	
  equipment	
  
•  Open	
  sourced	
  (FreeBSD	
  support	
  included	
  in	
  
official	
  repos)	
  
AnalyDcs	
  node	
  
Source:	
  www.opencontrail.org	
  
FreeBSD	
  development	
  
•  vRouter	
  kernel	
  module	
  
– New	
  module	
  
– Common	
  parts	
  OS	
  agnosDc	
  (/dp-core)
– FreeBSD	
  related	
  code	
  (/freebsd)	
  
•  Agent	
  support	
  for	
  FreeBSD	
  
– Ioctls,	
  tap	
  devices	
  
– Shared	
  memory	
  (/dev/flow)	
  
– Listener	
  
– Lots	
  of	
  refactoring	
  done	
  
TODOs	
  
•  Libvirt	
  improvements	
  
•  OpenStack	
  improvements	
  
–  Support	
  limited	
  by	
  libvirt	
  capabiliDes	
  on	
  FreeBSD	
  
–  Firewal	
  (pf,	
  ipfw,	
  ipfilter)	
  
–  Currently	
  a	
  fork	
  of	
  nova	
  is	
  required	
  
•  Different	
  OpenContrail	
  operaDon	
  modes	
  
–  MPLSoUDP,	
  VXLAN,	
  etc.	
  
•  AutomaDc	
  provisioning	
  
–  Contrail-­‐installer	
  scripts	
  	
  
–  Devstack	
  
 
	
  
	
  
Any	
  quesDons?	
  

Contenu connexe

Tendances

Banv meetup-contrail
Banv meetup-contrailBanv meetup-contrail
Banv meetup-contrail
nvirters
 
NFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrail
NFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrailNFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrail
NFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrail
ozkan01
 

Tendances (20)

Banv meetup-contrail
Banv meetup-contrailBanv meetup-contrail
Banv meetup-contrail
 
OpenContrail Presentation at Openstack Days Tokyo Japan Feb 13 2014
OpenContrail Presentation at Openstack Days Tokyo Japan Feb 13 2014OpenContrail Presentation at Openstack Days Tokyo Japan Feb 13 2014
OpenContrail Presentation at Openstack Days Tokyo Japan Feb 13 2014
 
Contrail Basics
Contrail BasicsContrail Basics
Contrail Basics
 
NFV в сетях операторов связи
NFV в сетях операторов связиNFV в сетях операторов связи
NFV в сетях операторов связи
 
Open contrail slides for BANV meetup
Open contrail slides for BANV meetupOpen contrail slides for BANV meetup
Open contrail slides for BANV meetup
 
Deployment of Juniper Contrail in AVG Technologies
Deployment of Juniper Contrail in AVG TechnologiesDeployment of Juniper Contrail in AVG Technologies
Deployment of Juniper Contrail in AVG Technologies
 
OpenStack: Virtual Routers On Compute Nodes
OpenStack: Virtual Routers On Compute NodesOpenStack: Virtual Routers On Compute Nodes
OpenStack: Virtual Routers On Compute Nodes
 
NFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrail
NFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrailNFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrail
NFV SDN Summit March 2014 D3 03 bruno_rijsman NFV with OpenContrail
 
ONIC Japan 2016 - Contrail アップデート
ONIC Japan 2016 - Contrail アップデートONIC Japan 2016 - Contrail アップデート
ONIC Japan 2016 - Contrail アップデート
 
SDN Controller
SDN ControllerSDN Controller
SDN Controller
 
Advanced Data Retrieval and Analytics with Apache Spark and Openstack Swift
Advanced Data Retrieval and Analytics with Apache Spark and Openstack SwiftAdvanced Data Retrieval and Analytics with Apache Spark and Openstack Swift
Advanced Data Retrieval and Analytics with Apache Spark and Openstack Swift
 
Kubernetes OpenContrail Meetup
Kubernetes OpenContrail MeetupKubernetes OpenContrail Meetup
Kubernetes OpenContrail Meetup
 
Reference design for v mware nsx
Reference design for v mware nsxReference design for v mware nsx
Reference design for v mware nsx
 
[OpenStack 스터디] OpenStack With Contrail
[OpenStack 스터디] OpenStack With Contrail[OpenStack 스터디] OpenStack With Contrail
[OpenStack 스터디] OpenStack With Contrail
 
Network Node is Not Needed Anymore - Completed Distributed Virtual Router / F...
Network Node is Not Needed Anymore - Completed Distributed Virtual Router / F...Network Node is Not Needed Anymore - Completed Distributed Virtual Router / F...
Network Node is Not Needed Anymore - Completed Distributed Virtual Router / F...
 
MidoNet 101
MidoNet 101MidoNet 101
MidoNet 101
 
OpenContrail deployment experience
OpenContrail deployment experienceOpenContrail deployment experience
OpenContrail deployment experience
 
Contrail Enabler for agile cloud services
Contrail Enabler for agile cloud servicesContrail Enabler for agile cloud services
Contrail Enabler for agile cloud services
 
Juniper Contrail VNS A BASIC introduction
Juniper Contrail VNSA BASIC introductionJuniper Contrail VNSA BASIC introduction
Juniper Contrail VNS A BASIC introduction
 
OPNFV Service Function Chaining
OPNFV Service Function ChainingOPNFV Service Function Chaining
OPNFV Service Function Chaining
 

En vedette

[OpenStack Days Korea 2016] Track3 - 방송제작용 UHD 스트로지 구성 및 테스트
[OpenStack Days Korea 2016] Track3 - 방송제작용 UHD 스트로지 구성 및 테스트[OpenStack Days Korea 2016] Track3 - 방송제작용 UHD 스트로지 구성 및 테스트
[OpenStack Days Korea 2016] Track3 - 방송제작용 UHD 스트로지 구성 및 테스트
OpenStack Korea Community
 
[OpenStack Days Korea 2016] Track3 - 오픈스택 환경에서 공유 파일 시스템 구현하기: 마닐라(Manila) 프로젝트
[OpenStack Days Korea 2016] Track3 - 오픈스택 환경에서 공유 파일 시스템 구현하기: 마닐라(Manila) 프로젝트[OpenStack Days Korea 2016] Track3 - 오픈스택 환경에서 공유 파일 시스템 구현하기: 마닐라(Manila) 프로젝트
[OpenStack Days Korea 2016] Track3 - 오픈스택 환경에서 공유 파일 시스템 구현하기: 마닐라(Manila) 프로젝트
OpenStack Korea Community
 
[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기
[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기
[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기
OpenStack Korea Community
 

En vedette (20)

Cloud Computing OpenStack Compute Node
Cloud Computing OpenStack Compute NodeCloud Computing OpenStack Compute Node
Cloud Computing OpenStack Compute Node
 
Engineering Big Data Infra with Openstack
Engineering Big Data Infra with OpenstackEngineering Big Data Infra with Openstack
Engineering Big Data Infra with Openstack
 
Libvirt and bhyve under FreeBSD
Libvirt and bhyve under FreeBSDLibvirt and bhyve under FreeBSD
Libvirt and bhyve under FreeBSD
 
Introduction to Openstack Network
Introduction to Openstack NetworkIntroduction to Openstack Network
Introduction to Openstack Network
 
Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstack
 
Cours d'introduction au Cloud Computing
Cours d'introduction au Cloud ComputingCours d'introduction au Cloud Computing
Cours d'introduction au Cloud Computing
 
Introduction au Cloud Computing
Introduction au Cloud Computing Introduction au Cloud Computing
Introduction au Cloud Computing
 
Open technet openstack
Open technet openstackOpen technet openstack
Open technet openstack
 
오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향
 
Build a PaaS with OpenShift Origin
Build a PaaS with OpenShift OriginBuild a PaaS with OpenShift Origin
Build a PaaS with OpenShift Origin
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Formation libre OpenStack en Français
Formation libre OpenStack en FrançaisFormation libre OpenStack en Français
Formation libre OpenStack en Français
 
[OpenStack Days Korea 2016] Track3 - VDI on OpenStack with LeoStream Connecti...
[OpenStack Days Korea 2016] Track3 - VDI on OpenStack with LeoStream Connecti...[OpenStack Days Korea 2016] Track3 - VDI on OpenStack with LeoStream Connecti...
[OpenStack Days Korea 2016] Track3 - VDI on OpenStack with LeoStream Connecti...
 
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
 
[OpenStack Days Korea 2016] Track3 - Powered by OpenStack, Power to do more w...
[OpenStack Days Korea 2016] Track3 - Powered by OpenStack, Power to do more w...[OpenStack Days Korea 2016] Track3 - Powered by OpenStack, Power to do more w...
[OpenStack Days Korea 2016] Track3 - Powered by OpenStack, Power to do more w...
 
[OpenStack Days Korea 2016] Track3 - 머신러닝과 오픈스택
[OpenStack Days Korea 2016] Track3 - 머신러닝과 오픈스택[OpenStack Days Korea 2016] Track3 - 머신러닝과 오픈스택
[OpenStack Days Korea 2016] Track3 - 머신러닝과 오픈스택
 
[OpenStack Days Korea 2016] Track3 - 방송제작용 UHD 스트로지 구성 및 테스트
[OpenStack Days Korea 2016] Track3 - 방송제작용 UHD 스트로지 구성 및 테스트[OpenStack Days Korea 2016] Track3 - 방송제작용 UHD 스트로지 구성 및 테스트
[OpenStack Days Korea 2016] Track3 - 방송제작용 UHD 스트로지 구성 및 테스트
 
[OpenStack Days Korea 2016] Track2 - 데이터센터에 부는 오픈 소스 하드웨어 바람
[OpenStack Days Korea 2016] Track2 - 데이터센터에 부는 오픈 소스 하드웨어 바람[OpenStack Days Korea 2016] Track2 - 데이터센터에 부는 오픈 소스 하드웨어 바람
[OpenStack Days Korea 2016] Track2 - 데이터센터에 부는 오픈 소스 하드웨어 바람
 
[OpenStack Days Korea 2016] Track3 - 오픈스택 환경에서 공유 파일 시스템 구현하기: 마닐라(Manila) 프로젝트
[OpenStack Days Korea 2016] Track3 - 오픈스택 환경에서 공유 파일 시스템 구현하기: 마닐라(Manila) 프로젝트[OpenStack Days Korea 2016] Track3 - 오픈스택 환경에서 공유 파일 시스템 구현하기: 마닐라(Manila) 프로젝트
[OpenStack Days Korea 2016] Track3 - 오픈스택 환경에서 공유 파일 시스템 구현하기: 마닐라(Manila) 프로젝트
 
[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기
[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기
[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기
 

Similaire à OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel

OpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDNOpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDN
Te-Yen Liu
 
Nvp deep dive_session_cee-day
Nvp deep dive_session_cee-dayNvp deep dive_session_cee-day
Nvp deep dive_session_cee-day
yfauser
 
Openstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewOpenstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overview
rajdeep
 

Similaire à OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel (20)

Software Defined Networks (SDN) na przykładzie rozwiązania OpenContrail.
Software Defined Networks (SDN) na przykładzie rozwiązania OpenContrail.Software Defined Networks (SDN) na przykładzie rozwiązania OpenContrail.
Software Defined Networks (SDN) na przykładzie rozwiązania OpenContrail.
 
Open stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetupsOpen stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetups
 
PLNOG 13: Michał Dubiel: OpenContrail software architecture
PLNOG 13: Michał Dubiel: OpenContrail software architecturePLNOG 13: Michał Dubiel: OpenContrail software architecture
PLNOG 13: Michał Dubiel: OpenContrail software architecture
 
OpenStack Networking and Automation
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and Automation
 
Quantum for Cloud Operators - Folsom Conference
Quantum for Cloud Operators  - Folsom Conference Quantum for Cloud Operators  - Folsom Conference
Quantum for Cloud Operators - Folsom Conference
 
OpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDNOpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDN
 
Understanding network and service virtualization
Understanding network and service virtualizationUnderstanding network and service virtualization
Understanding network and service virtualization
 
State of the OpenDaylight Union
State of the OpenDaylight UnionState of the OpenDaylight Union
State of the OpenDaylight Union
 
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della SicurezzaNSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
 
Network and Service Virtualization tutorial at ONUG Spring 2015
Network and Service Virtualization tutorial at ONUG Spring 2015Network and Service Virtualization tutorial at ONUG Spring 2015
Network and Service Virtualization tutorial at ONUG Spring 2015
 
OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012
 
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions - Cisco Live! US ...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions - Cisco Live! US ...BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions - Cisco Live! US ...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions - Cisco Live! US ...
 
10 sdn-vir-6up
10 sdn-vir-6up10 sdn-vir-6up
10 sdn-vir-6up
 
Nvp deep dive_session_cee-day
Nvp deep dive_session_cee-dayNvp deep dive_session_cee-day
Nvp deep dive_session_cee-day
 
Quantum PTL Update - Grizzly Summit.pptx
Quantum PTL Update - Grizzly Summit.pptxQuantum PTL Update - Grizzly Summit.pptx
Quantum PTL Update - Grizzly Summit.pptx
 
Quantum grizzly summit
Quantum   grizzly summitQuantum   grizzly summit
Quantum grizzly summit
 
Openstack Networking Internals - first part
Openstack Networking Internals - first partOpenstack Networking Internals - first part
Openstack Networking Internals - first part
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014
 
Openstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewOpenstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overview
 
Agile OpenStack Networking with Cisco Solutions
Agile OpenStack Networking with Cisco SolutionsAgile OpenStack Networking with Cisco Solutions
Agile OpenStack Networking with Cisco Solutions
 

Plus de eurobsdcon

Porting NetBSD to the LatticeMico32 open source CPU by Yann Sionneau
Porting NetBSD to the LatticeMico32 open source CPU by Yann SionneauPorting NetBSD to the LatticeMico32 open source CPU by Yann Sionneau
Porting NetBSD to the LatticeMico32 open source CPU by Yann Sionneau
eurobsdcon
 
Bugs Ex Ante by Kristaps Dzonsons
Bugs Ex Ante by Kristaps DzonsonsBugs Ex Ante by Kristaps Dzonsons
Bugs Ex Ante by Kristaps Dzonsons
eurobsdcon
 

Plus de eurobsdcon (20)

EuroBSDCon 2014 Program Front
EuroBSDCon 2014 Program FrontEuroBSDCon 2014 Program Front
EuroBSDCon 2014 Program Front
 
EuroBSDCon 2014 tutorials program Thursday & Friday
EuroBSDCon 2014 tutorials program Thursday & FridayEuroBSDCon 2014 tutorials program Thursday & Friday
EuroBSDCon 2014 tutorials program Thursday & Friday
 
EuroBSDCon 2014 Sofia Welcome
EuroBSDCon 2014 Sofia WelcomeEuroBSDCon 2014 Sofia Welcome
EuroBSDCon 2014 Sofia Welcome
 
EuroBSDCon 2014 Sofia Closing talk
EuroBSDCon 2014 Sofia Closing talkEuroBSDCon 2014 Sofia Closing talk
EuroBSDCon 2014 Sofia Closing talk
 
Submitting documents anonymously by Atanas Chobanov
Submitting documents anonymously by Atanas ChobanovSubmitting documents anonymously by Atanas Chobanov
Submitting documents anonymously by Atanas Chobanov
 
Porting the drm/kms graphic drivers to DragonFlyBSD by Francois Tigeot
Porting the drm/kms graphic drivers to DragonFlyBSD by Francois TigeotPorting the drm/kms graphic drivers to DragonFlyBSD by Francois Tigeot
Porting the drm/kms graphic drivers to DragonFlyBSD by Francois Tigeot
 
University of Oslo's TSD service - storing sensitive & restricted data by D...
  University of Oslo's TSD service - storing sensitive & restricted data by D...  University of Oslo's TSD service - storing sensitive & restricted data by D...
University of Oslo's TSD service - storing sensitive & restricted data by D...
 
secure lazy binding, and the 64bit time_t development process by Philip Guenther
secure lazy binding, and the 64bit time_t development process by Philip Guenthersecure lazy binding, and the 64bit time_t development process by Philip Guenther
secure lazy binding, and the 64bit time_t development process by Philip Guenther
 
The entropic principle: /dev/u?random and NetBSD by Taylor R Campbell
  The entropic principle: /dev/u?random and NetBSD by Taylor R Campbell  The entropic principle: /dev/u?random and NetBSD by Taylor R Campbell
The entropic principle: /dev/u?random and NetBSD by Taylor R Campbell
 
The LLDB Debugger in FreeBSD by Ed Maste
The LLDB Debugger in FreeBSD by Ed MasteThe LLDB Debugger in FreeBSD by Ed Maste
The LLDB Debugger in FreeBSD by Ed Maste
 
Porting Valgrind to NetBSD and OpenBSD by Masao Uebayashi
Porting Valgrind to NetBSD and OpenBSD by Masao UebayashiPorting Valgrind to NetBSD and OpenBSD by Masao Uebayashi
Porting Valgrind to NetBSD and OpenBSD by Masao Uebayashi
 
Multiplatform JIT Code Generator for NetBSD by Alexander Nasonov
Multiplatform JIT Code Generator for NetBSD by Alexander NasonovMultiplatform JIT Code Generator for NetBSD by Alexander Nasonov
Multiplatform JIT Code Generator for NetBSD by Alexander Nasonov
 
Porting NetBSD to the LatticeMico32 open source CPU by Yann Sionneau
Porting NetBSD to the LatticeMico32 open source CPU by Yann SionneauPorting NetBSD to the LatticeMico32 open source CPU by Yann Sionneau
Porting NetBSD to the LatticeMico32 open source CPU by Yann Sionneau
 
Smartcom's control plane software, a customized version of FreeBSD by Boris A...
Smartcom's control plane software, a customized version of FreeBSD by Boris A...Smartcom's control plane software, a customized version of FreeBSD by Boris A...
Smartcom's control plane software, a customized version of FreeBSD by Boris A...
 
Bugs Ex Ante by Kristaps Dzonsons
Bugs Ex Ante by Kristaps DzonsonsBugs Ex Ante by Kristaps Dzonsons
Bugs Ex Ante by Kristaps Dzonsons
 
Cross Building the FreeBSD ports tree by Baptiste Daroussin
Cross Building the FreeBSD ports tree by Baptiste DaroussinCross Building the FreeBSD ports tree by Baptiste Daroussin
Cross Building the FreeBSD ports tree by Baptiste Daroussin
 
Building packages through emulation by Sean Bruno
Building packages through emulation by Sean BrunoBuilding packages through emulation by Sean Bruno
Building packages through emulation by Sean Bruno
 
Making OpenBSD Useful on the Octeon Network Gear by Paul Irofti
Making OpenBSD Useful on the Octeon Network Gear by Paul IroftiMaking OpenBSD Useful on the Octeon Network Gear by Paul Irofti
Making OpenBSD Useful on the Octeon Network Gear by Paul Irofti
 
A Reimplementation of NetBSD Based on a Microkernel by Andrew S. Tanenbaum
A Reimplementation of NetBSD Based on a Microkernel by Andrew S. TanenbaumA Reimplementation of NetBSD Based on a Microkernel by Andrew S. Tanenbaum
A Reimplementation of NetBSD Based on a Microkernel by Andrew S. Tanenbaum
 
Using routing domains / routing tables in a production network by Peter Hessler
Using routing domains / routing tables in a production network by Peter HesslerUsing routing domains / routing tables in a production network by Peter Hessler
Using routing domains / routing tables in a production network by Peter Hessler
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Dernier (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel

  • 1. OpenStack  and  OpenContrail  on   FreeBSD  pla4orm   Michał  Dubiel   EuroBSDCon  2014,  Sofia,  Bulgaria  
  • 2. Outline   •  OpenStack   – IntroducDon   – Nova  Compute  driver   – Nova  Network  driver   •  OpenContrail   – Why?   – Overlay  networks  vs  vlans   – SoLware  architecture   •  Status,  next  steps  
  • 3. Machines  in  a  datacenter   VM  VM  VM  VM   hypervisor   VM  VM  VM  VM   hypervisor   MIGRATIONS   VM  VM  VM  VM   hypervisor   VM  VM  VM  VM   hypervisor   Storage  appliance  
  • 4. Cloud  operaDng  system   source:  openstack.org  
  • 5. OpenStack  introducDon   •  “Massively  scalable  cloud  operaDng  system”   •  Aims  to  manage   – Compute   – Storage   – Network   •  Major  components   – Compute  (Nova)   – Storage  (SwiL,  Cinder)   – Networking  (Neutron)    
  • 6. OpenStack  components   •  There  is  a  lot  of  soLware  components   –  Nova  (compute  manager,  networking  manager,   scheduler,  etc.)   –  Neutron  (controller,  agents)   –  Glance  (image  service)   –  API  servers   –  Message  queues   –  Etc.   •  FreeBSD  support  is  about  the  compute  node   –  Depended  on  underlying  OS  pla4orm   –  Another  hypervisor  (bhyve)  
  • 7. Networking  service  -­‐  OpenContrail   source:  openstack.org  
  • 8. Compute  node   Nova   Scheduler   Nova  network   server   Nova   network   bhyve   VM   VM   VM   Bridge   Kernel  space   Nova   compute   Libvirt  
  • 9. OpenStack  compute  node   •  nova-compute:  manages  compuDng   instances  on  host  machines   –  Run/terminate/reboot  instances   –  Aaach/detach  volumes   –  Console  output   •  nova-network:  manages  networking   resources! –  Responsible  for  sebng  up  networking  between  VMs   –  Simple  soluDons  (bridges,  vlans,  etc.)  
  • 10. Spawning  a  VM   •  Nova  scheduler  choses  a  compute  node  for  a  VM   •  The  nova-­‐compute  fetches  the  VM  image  from   glance  service   •  The  nova-­‐compute  builds  a  libvirt  XML  definiDon   for  the  VM   •  The  nova-­‐network  configures  bridge  for  VM   networking   •  The  nova-­‐compute  invokes  libvirt  and  spawns  the   VM   –  Libvirt  adds  tap  device  to  the  bridge  connecDng  that   way  the  VM  to  the  virtual  network  
  • 11. FreeBSD  Development   •  Libvirt  support  for  bhyve     –  Work  of  Roman  Bogorodskiy   –  Few  new  features  and  fixes! •  nova-compute  adjustments  for  new   hypervisor  type  –  bhyve   •  nova-­‐network  support  for  FreeBSD     –  ifconfig  vs.  brctl,  ip  tool   –  dnsmasq     •  Devstack  support  for  FreeBSD  
  • 12. Networking  service  -­‐  OpenContrail   source:  openstack.org  
  • 13. Rack,  servers,  VMs   VM  VM  VM  VM   hypervisor   VM  VM  VM  VM   hypervisor   VM  VM  VM  VM   hypervisor   Server  rack   To  spine  switch  
  • 15. ObservaDons   •  Majority  of  network  endpoints  are  virtual   •  Network  isolaDon  between  them  has  to   be  available   •  While  using  the  same  physical  network   •  Endpoint  may  migrate  from  one  physical   host  to  another  
  • 16. SoluDons   •  Bridges  +  vlans   – What  nova-­‐network  provides   – Limited,  not  flexible   •  Overlay  networking  (OpenContrail)   – Available  as  a  Neutron  plugin   – Flexible   – Scalable  
  • 17. VLANs   •  VM’s  interfaces  placed  on  bridges   – Each  bridge  for  a  virtual  network   •  4096  VLAN  tags  limit   – Can  be  extended  using  Shortest  Path  Bridging   •  Difficult  to  manage   •  Physical  switches  has  to  contain  the  VN  state  
  • 18. VM  migraDon  example   VM1   VM2   Server  1   VM3   VM4   VM5   Server  2   VM6   VM7   VM8   Server  3   VM9   Physical  switch   Virtual  networks:   1   2   3  
  • 19. VM  migraDon  example   VM1   VM2   Server  1   VM3   VM4   VM5   Server  2   VM6   VM7   VM8   Server  3   VM9   Physical  switch   Virtual  networks:   1   2   3   VM9   Payload   Eth  +  VLAN  tag  +  IP  
  • 20. VM  migraDon  example   VM1   VM2   Server  1   VM3   VM4   VM5   Server  2   VM6   VM7   VM8   Server  3   VM9  Physical  switch   Virtual  networks:   1   2   3   VM9   Payload   Eth  +  VLAN  tag  +  IP  
  • 21. Overlay  networking   •  “Old”  technology,  relaDvely  new  for  data-­‐ centers   •  Physical  underlay  network   – IP  fabric   – No  tenant  state   •  Virtual  overlay  network   – Tenant  state   – Dynamic  tunnels  (MPLSoGRE,  VXLAN,  etc.)  
  • 22. VM  migraDon  example   VM1   VM2   Server  1   VM3   VM4   VM5   Server  2   VM6   VM7   VM8   Server  3   VM9   Physical  switch   Virtual  networks:   1   2   3   S3   VM9   Payload   Physical  network:   Eth  +  IP  
  • 23. VM  migraDon  example   VM1   VM2   Server  1   VM3   VM4   VM5   Server  2   VM6   VM7   VM8   Server  3   VM9  Physical  switch   Virtual  networks:   1   2   3   S2   VM9   Payload   Physical  network:   Eth  +  IP  
  • 24. Advantages   •  “Knowledge”  about  network  only  in  the   soLware  (Controllers,  compute  nodes)   •  Any  switch  works  for  IP  fabric  network   – No  configuraDon   – Only  speed  maaers   – Lower  price   •  In  case  of  OpenContrail  standards-­‐based   (MPLS,  BGP,  VXLAN,  etc.)  
  • 25. SDN  in  cloud  orchestraDon   Source:  www.opencontrail.org  
  • 26. Architecture  overview   Source:  www.opencontrail.org  
  • 27. ConfiguraDon  node   Source:  www.opencontrail.org  
  • 28. Controller  node   Source:  www.opencontrail.org  
  • 29. Compute  node   Nova   Scheduler   Contrail  Control   node   Nova  vif   driver   bhyve   VM   VM   VM   Contrail   Agent   Contrail   vRouter   Kernel  space   Nova   compute   Libvirt   NetLink   /dev/flow   pkt   TCP  
  • 30. vRouter  forwarding  plane   Source:  www.opencontrail.org  
  • 31. MPLSoGRE  example   Source:  www.opencontrail.org  
  • 32. OpenContrail  summary   •  High-­‐level  descripDon  of  networks   – allow    any    src-­‐vn  -­‐>  dst-­‐vn    svc-­‐1,  svc-­‐2   •  Horizontally  scalable   •  Fault  tolerant   •  Works  with  exisDng  equipment   •  Open  sourced  (FreeBSD  support  included  in   official  repos)  
  • 33. AnalyDcs  node   Source:  www.opencontrail.org  
  • 34. FreeBSD  development   •  vRouter  kernel  module   – New  module   – Common  parts  OS  agnosDc  (/dp-core) – FreeBSD  related  code  (/freebsd)   •  Agent  support  for  FreeBSD   – Ioctls,  tap  devices   – Shared  memory  (/dev/flow)   – Listener   – Lots  of  refactoring  done  
  • 35. TODOs   •  Libvirt  improvements   •  OpenStack  improvements   –  Support  limited  by  libvirt  capabiliDes  on  FreeBSD   –  Firewal  (pf,  ipfw,  ipfilter)   –  Currently  a  fork  of  nova  is  required   •  Different  OpenContrail  operaDon  modes   –  MPLSoUDP,  VXLAN,  etc.   •  AutomaDc  provisioning   –  Contrail-­‐installer  scripts     –  Devstack  
  • 36.       Any  quesDons?