SlideShare une entreprise Scribd logo
1  sur  11
ONAP MultiCloud/K8s
Casablanca
Victor Morales
https://about.me/electrocucaracha
Casablanca’s Accomplishments
ONAP
Test Service (SDC, AAI, SO)
Multi Cloud Service
VIO Plugin K8S Plugin
apiserver
ovn-central
Kubernetes
1
2
ovn4nfvk8s-cni
3
1. MultiCloud/K8S plugin (https://github.com/onap/multicloud-
k8s/tree/master/src/k8splugin )
2. Kubernetes Reference Deployment
(https://github.com/onap/multicloud-k8s/tree/master/vagrant )
3. OVN4NFVK8S (https://github.com/opnfv/ovn4nfv-k8s-plugin )
4. vFirewall Use case:
a. Hybrid (https://github.com/onap/multicloud-
k8s/blob/master/vagrant/tests/integration_vcFW.sh )
b. VMs (https://github.com/onap/multicloud-
k8s/blob/master/vagrant/tests/integration_vFW.sh )
c. Containers (https://github.com/onap/multicloud-
k8s/blob/master/vagrant/tests/integration_cFW.sh )
Titanium Plugin
vFW
OpenStack Plugin
sinkfirewall
4a
packetgen
vFW
sinkfirewall
4b
packetgen
vFW
sinkfirewall
4c
packetgen
MultiCloud/K8S plugin
ONAP Multi-Cloud plugin written in Go
programming language which offers an API for
interacting with Cloud regions supporting
Kubernetes.
Requirements:
• Go 1.11
• Docker
• docker-compose
Installation:
$ mkdir -p /opt/{kubeconfig,consul/config}
$ cp $HOME/.kube/config /opt/kubeconfig/krd
$ export KUBE_CONFIG_DIR=/opt/kubeconfig
$ git clone https://git.onap.org/multicloud/k8s/
$ cd deployments
$ ./build.sh
$ docker-compose up -d
API
POST - /v1/vnf_instances/
GET - /v1/vnf_instances/{cloudRegionID}/{namespace}
DELETE - /v1/vnf_instances/{cloudRegionID}/{namespace}/{externalVNFID}
GET - /v1/vnf_instances/{cloudRegionID}/{namespace}/{externalVNFID}
POST - /v1/vnf_instances/
Kubernetes Reference Deployment (KRD)
Offers a reference for deploying a
Kubernetes cluster that satisfies the
requirements of ONAP multicloud/k8s
plugin. Its ansible playbooks allow to
provision a deployment on Bare-metal
or Virtual Machines.
KRD provisioning process
install_k8s
vagrant up installer
get kubespray source code
_install_ansible
ansible-playbook cluster.yml
generate host.ini
libvirt VM creation
install_addons
configure-virtlet.yml
configure-ovn4nfv.yml
install_plugin
_print_kubernetes_info
vagrant up
swapoff
Enable nested-virtualization
mount_external_partition
swapoff
Enable nested-virtualization
mount_external_partition
swapoff
Enable nested-virtualization
mount_external_partition
vFirewall ONAP Use Case
It is composed of three virtual functions (VFs):
• Packet generator: Sends packets to the traffic sink through the firewall. This includes a script that
periodically generates different volumes of traffic.
• Firewall: Reports the volume of traffic passing though to the ONAP DCAE collector.
• Traffic sink: Displays the traffic volume that lands at the sink using the link http://192.168.20.250:667
through your browser and enable automatic page refresh by clicking the "Off" button. You can see the
traffic volume in the charts.
packetgen
eth1
eth2
firewall
eth1
eth3
eth2
sink
eth1eth2
vppvpacketgen
honeycomb
vppvfirewall
honeycomb
vpp_measurement_reporter
darkstat sink
kubernetes.io/target-runtime: virtlet.cloud
packetgen
VMs
Provisioning
libvirt VM creation
Ubuntu
image?
pull image
cloud-init execution
packetgen script execution
install dependencies
download ONAP artifacts
start honeycombstart vpp
kubernetes.io/target-runtime: virtlet.cloud
firewall
libvirt VM creation
Ubuntu
image?
pull image
cloud-init execution
firewall script execution
install dependencies
download ONAP artifacts
start honeycomb
start vpp
start vpp_measurement_reporterhttps://github.com/electrocucaracha/vFW-demo
sink
dockershim creation
Sink
image?
pull image
dockershim creation
Darkstat
image?
pull image
Containers
Provisioning
add route start darkstat
Prebaked Images
https://github.com/electrocucaracha/cFW-demo
172.25.103.9
kubernetes
10.10.10.3
packetgen
eth1
eth2
firewall
eth1
eth3
eth2
sink
eth1
eth2
667
30667
8067
localhost
x.x.x.x
Q & A

Contenu connexe

Tendances

Tendances (20)

Setup Hybrid Clusters Using Kubernetes Federation
Setup Hybrid Clusters Using Kubernetes FederationSetup Hybrid Clusters Using Kubernetes Federation
Setup Hybrid Clusters Using Kubernetes Federation
 
Spinnaker Chadev
Spinnaker ChadevSpinnaker Chadev
Spinnaker Chadev
 
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES HAS NEVER BEEN SO EASY
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES HAS NEVER BEEN SO EASYKUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES HAS NEVER BEEN SO EASY
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES HAS NEVER BEEN SO EASY
 
Spinnaker at DevOpsDays Montreal
Spinnaker at DevOpsDays MontrealSpinnaker at DevOpsDays Montreal
Spinnaker at DevOpsDays Montreal
 
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
"Using Automation Tools To Deploy And Operate Applications In Real World Scen..."Using Automation Tools To Deploy And Operate Applications In Real World Scen...
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
 
Spinnaker for Azure
Spinnaker for AzureSpinnaker for Azure
Spinnaker for Azure
 
Machine learning with Apache Spark on Kubernetes | DevNation Tech Talk
Machine learning with Apache Spark on Kubernetes | DevNation Tech TalkMachine learning with Apache Spark on Kubernetes | DevNation Tech Talk
Machine learning with Apache Spark on Kubernetes | DevNation Tech Talk
 
Crafting Kubernetes Operators
Crafting Kubernetes OperatorsCrafting Kubernetes Operators
Crafting Kubernetes Operators
 
Shaker
ShakerShaker
Shaker
 
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
 
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with SpinnakerSpinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
 
Kubernetes extensibility: crd & operators
Kubernetes extensibility: crd & operators Kubernetes extensibility: crd & operators
Kubernetes extensibility: crd & operators
 
OpenStack reliability metrics
OpenStack reliability metricsOpenStack reliability metrics
OpenStack reliability metrics
 
AWS re:Invent re:Cap 2019: My ElasticSearch Journey on AWS
AWS re:Invent re:Cap 2019: My ElasticSearch Journey on AWSAWS re:Invent re:Cap 2019: My ElasticSearch Journey on AWS
AWS re:Invent re:Cap 2019: My ElasticSearch Journey on AWS
 
OSDC 2018 | Self Hosted bare Metal Kubernetes for SMEs by Thomas Hoppe
OSDC 2018 | Self Hosted bare Metal Kubernetes for SMEs by Thomas HoppeOSDC 2018 | Self Hosted bare Metal Kubernetes for SMEs by Thomas Hoppe
OSDC 2018 | Self Hosted bare Metal Kubernetes for SMEs by Thomas Hoppe
 
KubeCon EU 2016: Heroku to Kubernetes
KubeCon EU 2016: Heroku to KubernetesKubeCon EU 2016: Heroku to Kubernetes
KubeCon EU 2016: Heroku to Kubernetes
 
Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015
 
Gatekeeper: API gateway
Gatekeeper: API gatewayGatekeeper: API gateway
Gatekeeper: API gateway
 
Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNat...
Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNat...Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNat...
Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNat...
 
How to Prepare for CKA Exam
How to Prepare for CKA ExamHow to Prepare for CKA Exam
How to Prepare for CKA Exam
 

Similaire à ONAP MultiCloud/K8s Casablanca

Web scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannelWeb scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannel
purpleocean
 
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
OpenNebulaconf2017US:  Paying down technical debt with "one" dollar bills by ...OpenNebulaconf2017US:  Paying down technical debt with "one" dollar bills by ...
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
OpenNebula Project
 
What_s_New_in_OpenShift_Container_Platform_4.6.pdf
What_s_New_in_OpenShift_Container_Platform_4.6.pdfWhat_s_New_in_OpenShift_Container_Platform_4.6.pdf
What_s_New_in_OpenShift_Container_Platform_4.6.pdf
chalermpany
 

Similaire à ONAP MultiCloud/K8s Casablanca (20)

Queens release updates
Queens release updatesQueens release updates
Queens release updates
 
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
 
Understanding kube proxy in ipvs mode
Understanding kube proxy in ipvs modeUnderstanding kube proxy in ipvs mode
Understanding kube proxy in ipvs mode
 
Kubernetes for Java Developers
Kubernetes for Java DevelopersKubernetes for Java Developers
Kubernetes for Java Developers
 
Managing Container Clusters in OpenStack Native Way
Managing Container Clusters in OpenStack Native WayManaging Container Clusters in OpenStack Native Way
Managing Container Clusters in OpenStack Native Way
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Cloud Native Okteto Cloud
Cloud Native Okteto Cloud Cloud Native Okteto Cloud
Cloud Native Okteto Cloud
 
OpenStack & OpenContrail in Production
OpenStack & OpenContrail in ProductionOpenStack & OpenContrail in Production
OpenStack & OpenContrail in Production
 
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupKubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
 
Web scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannelWeb scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannel
 
Kubernetes Java Operator
Kubernetes Java OperatorKubernetes Java Operator
Kubernetes Java Operator
 
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
OpenNebulaconf2017US:  Paying down technical debt with "one" dollar bills by ...OpenNebulaconf2017US:  Paying down technical debt with "one" dollar bills by ...
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
 
Partir à la découverte du serverless avec openfaas
Partir à la découverte du serverless avec openfaasPartir à la découverte du serverless avec openfaas
Partir à la découverte du serverless avec openfaas
 
Java Stammtisch Würzburg - CONAIR
Java Stammtisch Würzburg - CONAIRJava Stammtisch Würzburg - CONAIR
Java Stammtisch Würzburg - CONAIR
 
Backend frx for movmi
Backend frx for movmiBackend frx for movmi
Backend frx for movmi
 
Containerising bootiful microservices javaeeconf
Containerising bootiful microservices javaeeconfContainerising bootiful microservices javaeeconf
Containerising bootiful microservices javaeeconf
 
Build Your Own CaaS (Container as a Service)
Build Your Own CaaS (Container as a Service)Build Your Own CaaS (Container as a Service)
Build Your Own CaaS (Container as a Service)
 
Docker for Java Developers
Docker for Java DevelopersDocker for Java Developers
Docker for Java Developers
 
What_s_New_in_OpenShift_Container_Platform_4.6.pdf
What_s_New_in_OpenShift_Container_Platform_4.6.pdfWhat_s_New_in_OpenShift_Container_Platform_4.6.pdf
What_s_New_in_OpenShift_Container_Platform_4.6.pdf
 
Kubernetes for the PHP developer
Kubernetes for the PHP developerKubernetes for the PHP developer
Kubernetes for the PHP developer
 

Plus de Victor Morales

Plus de Victor Morales (20)

Open Discussion: Nephio Test-infra project
Open Discussion: Nephio Test-infra projectOpen Discussion: Nephio Test-infra project
Open Discussion: Nephio Test-infra project
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitos
 
CCOSS + KCD Mexico 2024 - Embracing GitOps in Telecom with Nephio
CCOSS + KCD Mexico 2024 - Embracing GitOps in Telecom with NephioCCOSS + KCD Mexico 2024 - Embracing GitOps in Telecom with Nephio
CCOSS + KCD Mexico 2024 - Embracing GitOps in Telecom with Nephio
 
Nephio 101
Nephio 101Nephio 101
Nephio 101
 
Tips and tricks for contributing to an Open Source project.pptx
Tips and tricks for contributing to an Open Source project.pptxTips and tricks for contributing to an Open Source project.pptx
Tips and tricks for contributing to an Open Source project.pptx
 
Understanding the Cloud-Native origins.pptx
Understanding the Cloud-Native origins.pptxUnderstanding the Cloud-Native origins.pptx
Understanding the Cloud-Native origins.pptx
 
My OPNFV journey
My OPNFV journeyMy OPNFV journey
My OPNFV journey
 
Deciphering Kubernetes Networking
Deciphering Kubernetes NetworkingDeciphering Kubernetes Networking
Deciphering Kubernetes Networking
 
Removing Language Barriers for Spanish-speaking Professionals
Removing Language Barriers for Spanish-speaking ProfessionalsRemoving Language Barriers for Spanish-speaking Professionals
Removing Language Barriers for Spanish-speaking Professionals
 
How to contribute to an open source project and don’t die during the Code Rev...
How to contribute to an open source project and don’t die during the Code Rev...How to contribute to an open source project and don’t die during the Code Rev...
How to contribute to an open source project and don’t die during the Code Rev...
 
Deep dive networking
Deep dive networkingDeep dive networking
Deep dive networking
 
GW Tester
GW TesterGW Tester
GW Tester
 
Pod Sandbox workflow creation from Dockershim
Pod Sandbox workflow creation from DockershimPod Sandbox workflow creation from Dockershim
Pod Sandbox workflow creation from Dockershim
 
Kubernetes fundamentals
Kubernetes fundamentalsKubernetes fundamentals
Kubernetes fundamentals
 
Cloud native fundamentals
Cloud native fundamentalsCloud native fundamentals
Cloud native fundamentals
 
Building cloud native network functions - outcomes from the gw-tester nsm imp...
Building cloud native network functions - outcomes from the gw-tester nsm imp...Building cloud native network functions - outcomes from the gw-tester nsm imp...
Building cloud native network functions - outcomes from the gw-tester nsm imp...
 
Reference CNF development journey and outcomes
Reference CNF development journey and outcomesReference CNF development journey and outcomes
Reference CNF development journey and outcomes
 
Kubernetes Resources Allocation
Kubernetes Resources AllocationKubernetes Resources Allocation
Kubernetes Resources Allocation
 
Hybrid vFirewall ONAP use case
Hybrid vFirewall ONAP use caseHybrid vFirewall ONAP use case
Hybrid vFirewall ONAP use case
 
Validating latest changes with XCI
Validating latest changes with XCIValidating latest changes with XCI
Validating latest changes with XCI
 

Dernier

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Dernier (20)

GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 

ONAP MultiCloud/K8s Casablanca

  • 2. Casablanca’s Accomplishments ONAP Test Service (SDC, AAI, SO) Multi Cloud Service VIO Plugin K8S Plugin apiserver ovn-central Kubernetes 1 2 ovn4nfvk8s-cni 3 1. MultiCloud/K8S plugin (https://github.com/onap/multicloud- k8s/tree/master/src/k8splugin ) 2. Kubernetes Reference Deployment (https://github.com/onap/multicloud-k8s/tree/master/vagrant ) 3. OVN4NFVK8S (https://github.com/opnfv/ovn4nfv-k8s-plugin ) 4. vFirewall Use case: a. Hybrid (https://github.com/onap/multicloud- k8s/blob/master/vagrant/tests/integration_vcFW.sh ) b. VMs (https://github.com/onap/multicloud- k8s/blob/master/vagrant/tests/integration_vFW.sh ) c. Containers (https://github.com/onap/multicloud- k8s/blob/master/vagrant/tests/integration_cFW.sh ) Titanium Plugin vFW OpenStack Plugin sinkfirewall 4a packetgen vFW sinkfirewall 4b packetgen vFW sinkfirewall 4c packetgen
  • 3. MultiCloud/K8S plugin ONAP Multi-Cloud plugin written in Go programming language which offers an API for interacting with Cloud regions supporting Kubernetes. Requirements: • Go 1.11 • Docker • docker-compose Installation: $ mkdir -p /opt/{kubeconfig,consul/config} $ cp $HOME/.kube/config /opt/kubeconfig/krd $ export KUBE_CONFIG_DIR=/opt/kubeconfig $ git clone https://git.onap.org/multicloud/k8s/ $ cd deployments $ ./build.sh $ docker-compose up -d API POST - /v1/vnf_instances/ GET - /v1/vnf_instances/{cloudRegionID}/{namespace} DELETE - /v1/vnf_instances/{cloudRegionID}/{namespace}/{externalVNFID} GET - /v1/vnf_instances/{cloudRegionID}/{namespace}/{externalVNFID}
  • 5. Kubernetes Reference Deployment (KRD) Offers a reference for deploying a Kubernetes cluster that satisfies the requirements of ONAP multicloud/k8s plugin. Its ansible playbooks allow to provision a deployment on Bare-metal or Virtual Machines.
  • 6. KRD provisioning process install_k8s vagrant up installer get kubespray source code _install_ansible ansible-playbook cluster.yml generate host.ini libvirt VM creation install_addons configure-virtlet.yml configure-ovn4nfv.yml install_plugin _print_kubernetes_info vagrant up swapoff Enable nested-virtualization mount_external_partition swapoff Enable nested-virtualization mount_external_partition swapoff Enable nested-virtualization mount_external_partition
  • 7. vFirewall ONAP Use Case It is composed of three virtual functions (VFs): • Packet generator: Sends packets to the traffic sink through the firewall. This includes a script that periodically generates different volumes of traffic. • Firewall: Reports the volume of traffic passing though to the ONAP DCAE collector. • Traffic sink: Displays the traffic volume that lands at the sink using the link http://192.168.20.250:667 through your browser and enable automatic page refresh by clicking the "Off" button. You can see the traffic volume in the charts. packetgen eth1 eth2 firewall eth1 eth3 eth2 sink eth1eth2 vppvpacketgen honeycomb vppvfirewall honeycomb vpp_measurement_reporter darkstat sink
  • 8. kubernetes.io/target-runtime: virtlet.cloud packetgen VMs Provisioning libvirt VM creation Ubuntu image? pull image cloud-init execution packetgen script execution install dependencies download ONAP artifacts start honeycombstart vpp kubernetes.io/target-runtime: virtlet.cloud firewall libvirt VM creation Ubuntu image? pull image cloud-init execution firewall script execution install dependencies download ONAP artifacts start honeycomb start vpp start vpp_measurement_reporterhttps://github.com/electrocucaracha/vFW-demo
  • 9. sink dockershim creation Sink image? pull image dockershim creation Darkstat image? pull image Containers Provisioning add route start darkstat Prebaked Images https://github.com/electrocucaracha/cFW-demo
  • 11. Q & A