SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
OpenDaylight and OpFlex
Scott Mann
The Open Source Policy “Stack”
OpFlex Policy Agent with northbound OpFlex protocol interface and
southbound interface for device (OVS is the reference implementation).
OpFlex protocol defined through IETF
(OpFlex Control Protocol draft-smith-opflex-00)
Group Policy as defined by OpenDaylight/OpenStack
OpenDaylight and OpenStack provide northbound API for Group
Policy and southbound interface for OpFlex protocol.
Linux
(Netlink)
OVS
(OpenFlow,
OVSDB)
libvirt API
ODL Group-Based Policy Project
The group-based policy project defines an application-
centric policy model for OpenDaylight that separates
information about application connectivity requirements
from information about the underlying details of the network
infrastructure.
Group Policy Elements
• Policy Repository
• A database of policies
• A policy consists of
• Endpoint Groups (EPGs) described below
• Contracts, which describe how/if EPGs communicate with each other
• Endpoint Repository
• Database of endpoints and their meta-data
• Endpoints are things that can communicate like virtual/physical ports
• Includes mapping of endpoints into of Endpoint Groups (EPG)
• EPGs are the smallest entity that can be specified in a policy
• Observer
• A repository that maintains a database of status updates and exceptions
The Policy Agent’s Role
The policy agent’s function is to exchange and enforce
policy, acting as a participant in a larger policy
management system.
End Point
Registry
The Policy Agent in the Policy System
Observer
Policy
Agent
Policy Agent
(on another
device)
Policy
Resolution
Policy
Repository
Policy
Update
End Point
Declaratio
n
End Point
Policy Update
Status
Policy
Peering via
Triggers
Policy Agent in the Policy System Explained
• The policy agent (PA)
• Requests policy resolution from a Policy Repository (PR)
• Receives policy updates from a PR
• Indicate end points to an End Point Registry (EPR)
• Receive policy resolutions
• Receive updates for the End Points
• Trigger behaviors in peering Policy Elements (PEs), using the Policy
Trigger OpFlex messaging
• Status information is sent to an Observer
• Collects and archives status
• Observer may communicate status to other PEs
• PRs, EPRs, PAs, and Observers may be referred to as PEs
Policy Resolution within the Agent
Policy
Agent
Policy Manager
Inbound/Outbound TCP/IP
Managed Object Database
Policy Enforcer
In/Out to “device” (e.g., OVS,
vSwitches, HW switches, etc.)
Agent Policy Resolution Explained
• Policy Manager
• “Speaks” OpFlex
• Converts OpFlex into format useful to Managed Object Database
• Manages TCP connections with PR, EPR, and Observer
• Managed Object Database (MODB)
• Maintains hierarchical tree model of physical/virtual devices under management
• Updates are propagated appropriately via northbound and southbound APIs
• Policy Enforcer
• Conceptually similar to a device driver
• Translates data from MODB into sets of appropriate commands/communications to physical
and/or virtual devices
• Monitors devices for updates, which are propagated to MODB via API
Reference/OVS Implementation
OpFlex
Agent
Open
vSwitch
Datapath
Flow Table
OpenFlow
OVSDB
Managed Objects Store
(MODB)
OVS Render Plugin
(Policy Enforcement)
SW/HW Datapath
OpFlex (Policy Manager)
Reference/OVS Implementation
• Written in C using standard libraries
• Developed with the OpenDaylight project
• Eclipse and Apache licensing
• Runs on common Linux distributions
• Policy Manager
• Supports the OpFlex protocol with JSON at L-6
• Support at least 3 PRs
• Managed Object Database
• Queries by class, object ID, or URIs
• Updates generate notifications to Policy Manager and/or Policy Enforcer as appropriate
• DB persistence with crash recovery
• Policy Enforcer
• Policy enforcement between containers and/or virtual machines
• Interface to libvirt API (supporting many hypervisors) and OVSDB
• OVS management via ovs-vsctl, ovs-ofctl, etc
• Network management via ip commands
Policy Agent Southbound Path (OVS Implementation)
MODB
Update database
Inform policy enforcer
Policy/End Point
Repository
JSON
Policy Manager
Receive update
Convert JSON to internal form
Policy Enforcer
Translate managed object
Issue appropriate commands
ovs-vsctl
...
ovs-ofctl ...
ip addr ...
ip link ...
etc ….
OVS Policy Agent Southbound Path Explained
• A policy or policy update arrives at the port of the Policy Manager
• JSON is translated into internal form
• Internal data is passed to Managed Object module
• Data inserted into database
• Notification of database change goes out to subscribers
• Policy enforcer receives update
• New or modified data is passed to translator
• Translator produces list of commands suitable for underlying virtual/physical device
• Dependencies are identified
• Commands are executed asynchronously
• Pass/Fail of command execution is recorded
• Failure may cause roll back of successful commands
• Since all commands are issued asynchronously, determination of successful implementation
follows the northbound path described next
Policy Agent Northbound Path (OVS Implementation)
Observer
Policy/End Point
Repository
Initial Scan
Policy Manager
Receive update
Convert MODB to JSON
MODB
Update database
Inform policy manager
Policy Enforcer
Monitor runs continuously
Translate received data into MODB
OVSDB
Asynchronous
OVS updates
libvirt
JSON JSON
OVS Policy Agent Northbound Path Explained
• Policy Enforcer receives update and/or asynchronous responses
• Translates responses into managed object as appropriate
• Notifies Managed Object module of changes
• Managed Object module
• Notifies Policy Manager of changes
• Policy Manager
• Converts MO data into JSON
• Sends data to appropriate elements (Policy Repository, Endpoint
Repository, Observer)
Start Up
• Start Up
• PE initializes communication with OVS and libvirt
• Essentially collects current state
• MO module
• Reads in crash recovery file, if it exists
• Populates MODB with recovery data and/or PE scan data
• Policy Manager
• Initializes connections with know PEs
• Sends current policy (or state) to appropriate PEs
Summary
• Currently working on reference policy agent
• Implementation: C, Linux, JSON, OVS, libvirt
• More detail about the reference architecture may be found at https://wiki.
opendaylight.org/view/Opflex_Architecture
• The OpFlex IETF draft specification may be found at http://tools.ietf.
org/html/draft-smith-opflex-00
• More detail about ODL group policy may be found at https://wiki.
opendaylight.org/view/Group_Policy:Main
• ODL group policy architecture
https://wiki.opendaylight.org/view/Group_Policy:Architecture

Weitere ähnliche Inhalte

Was ist angesagt?

Data monstersrealtimeetl new
Data monstersrealtimeetl newData monstersrealtimeetl new
Data monstersrealtimeetl newGreenM
 
ERP and E-commerce Integration – 4 Ways to Synchronize Data between the two S...
ERP and E-commerce Integration – 4 Ways to Synchronize Data between the two S...ERP and E-commerce Integration – 4 Ways to Synchronize Data between the two S...
ERP and E-commerce Integration – 4 Ways to Synchronize Data between the two S...i95Dev
 
IPv4 transfer presentation, SGNOG4
IPv4 transfer presentation, SGNOG4IPv4 transfer presentation, SGNOG4
IPv4 transfer presentation, SGNOG4APNIC
 
Acceleration Technology: Taking Media File Transfers From Days to Minutes
Acceleration Technology: Taking Media File Transfers From Days to MinutesAcceleration Technology: Taking Media File Transfers From Days to Minutes
Acceleration Technology: Taking Media File Transfers From Days to MinutesFileCatalyst
 
IRUS R5: open and flexible access to standardised repository usage data
IRUS R5: open and flexible access to standardised repository usage dataIRUS R5: open and flexible access to standardised repository usage data
IRUS R5: open and flexible access to standardised repository usage dataJisc
 
SC15 PMIx Birds-of-a-Feather
SC15 PMIx Birds-of-a-FeatherSC15 PMIx Birds-of-a-Feather
SC15 PMIx Birds-of-a-Featherrcastain
 
HPC Controls Future
HPC Controls FutureHPC Controls Future
HPC Controls Futurercastain
 
Exascale Process Management Interface
Exascale Process Management InterfaceExascale Process Management Interface
Exascale Process Management Interfacercastain
 
RPKI Trust Anchor
RPKI Trust AnchorRPKI Trust Anchor
RPKI Trust AnchorAPNIC
 
A proposal for Modify 103 IPv4 transfer policy
A proposal for Modify 103 IPv4 transfer policyA proposal for Modify 103 IPv4 transfer policy
A proposal for Modify 103 IPv4 transfer policyAPNIC
 
[WSO2Con EU 2017] How a Large Organization Weighted on a WSO2 Integration Pla...
[WSO2Con EU 2017] How a Large Organization Weighted on a WSO2 Integration Pla...[WSO2Con EU 2017] How a Large Organization Weighted on a WSO2 Integration Pla...
[WSO2Con EU 2017] How a Large Organization Weighted on a WSO2 Integration Pla...WSO2
 
PacNOG 21: APNIC Update
PacNOG 21: APNIC UpdatePacNOG 21: APNIC Update
PacNOG 21: APNIC UpdateAPNIC
 
Implementing oracle primavera_analytics
Implementing oracle primavera_analyticsImplementing oracle primavera_analytics
Implementing oracle primavera_analyticsVolantic, Inc
 

Was ist angesagt? (18)

Data monstersrealtimeetl new
Data monstersrealtimeetl newData monstersrealtimeetl new
Data monstersrealtimeetl new
 
ERP and E-commerce Integration – 4 Ways to Synchronize Data between the two S...
ERP and E-commerce Integration – 4 Ways to Synchronize Data between the two S...ERP and E-commerce Integration – 4 Ways to Synchronize Data between the two S...
ERP and E-commerce Integration – 4 Ways to Synchronize Data between the two S...
 
ABIT SFTP
ABIT SFTPABIT SFTP
ABIT SFTP
 
Bluetooth 5
Bluetooth 5Bluetooth 5
Bluetooth 5
 
IPv4 transfer presentation, SGNOG4
IPv4 transfer presentation, SGNOG4IPv4 transfer presentation, SGNOG4
IPv4 transfer presentation, SGNOG4
 
Performance tools developments
Performance tools developmentsPerformance tools developments
Performance tools developments
 
Acceleration Technology: Taking Media File Transfers From Days to Minutes
Acceleration Technology: Taking Media File Transfers From Days to MinutesAcceleration Technology: Taking Media File Transfers From Days to Minutes
Acceleration Technology: Taking Media File Transfers From Days to Minutes
 
IRUS R5: open and flexible access to standardised repository usage data
IRUS R5: open and flexible access to standardised repository usage dataIRUS R5: open and flexible access to standardised repository usage data
IRUS R5: open and flexible access to standardised repository usage data
 
SC15 PMIx Birds-of-a-Feather
SC15 PMIx Birds-of-a-FeatherSC15 PMIx Birds-of-a-Feather
SC15 PMIx Birds-of-a-Feather
 
HPC Controls Future
HPC Controls FutureHPC Controls Future
HPC Controls Future
 
Near rt ric tc
Near rt ric tcNear rt ric tc
Near rt ric tc
 
Exascale Process Management Interface
Exascale Process Management InterfaceExascale Process Management Interface
Exascale Process Management Interface
 
Near rt ric tc
Near rt ric tcNear rt ric tc
Near rt ric tc
 
RPKI Trust Anchor
RPKI Trust AnchorRPKI Trust Anchor
RPKI Trust Anchor
 
A proposal for Modify 103 IPv4 transfer policy
A proposal for Modify 103 IPv4 transfer policyA proposal for Modify 103 IPv4 transfer policy
A proposal for Modify 103 IPv4 transfer policy
 
[WSO2Con EU 2017] How a Large Organization Weighted on a WSO2 Integration Pla...
[WSO2Con EU 2017] How a Large Organization Weighted on a WSO2 Integration Pla...[WSO2Con EU 2017] How a Large Organization Weighted on a WSO2 Integration Pla...
[WSO2Con EU 2017] How a Large Organization Weighted on a WSO2 Integration Pla...
 
PacNOG 21: APNIC Update
PacNOG 21: APNIC UpdatePacNOG 21: APNIC Update
PacNOG 21: APNIC Update
 
Implementing oracle primavera_analytics
Implementing oracle primavera_analyticsImplementing oracle primavera_analytics
Implementing oracle primavera_analytics
 

Ähnlich wie Open source policy open daylight and opflex

Define enterprise integration strategy by industry leader bhawani nandanprasad
Define enterprise integration strategy by industry leader bhawani nandanprasadDefine enterprise integration strategy by industry leader bhawani nandanprasad
Define enterprise integration strategy by industry leader bhawani nandanprasadBhawani N Prasad
 
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20CodeValue
 
Bluetooth and Raspberry Pi
Bluetooth and Raspberry PiBluetooth and Raspberry Pi
Bluetooth and Raspberry PiDamien Magoni
 
DEVNET-1175 OpenDaylight Service Function Chaining
DEVNET-1175	OpenDaylight Service Function ChainingDEVNET-1175	OpenDaylight Service Function Chaining
DEVNET-1175 OpenDaylight Service Function ChainingCisco DevNet
 
A Model-Based Systems Engineering Approach to Portfolio Management
A Model-Based Systems Engineering Approach to Portfolio ManagementA Model-Based Systems Engineering Approach to Portfolio Management
A Model-Based Systems Engineering Approach to Portfolio ManagementElizabeth Steiner
 
Data Con LA 2018 - Streaming and IoT by Pat Alwell
Data Con LA 2018 - Streaming and IoT by Pat AlwellData Con LA 2018 - Streaming and IoT by Pat Alwell
Data Con LA 2018 - Streaming and IoT by Pat AlwellData Con LA
 
OpenDaylight Openflow & OVSDB use cases ODL summit 2016
OpenDaylight Openflow & OVSDB use cases ODL summit 2016OpenDaylight Openflow & OVSDB use cases ODL summit 2016
OpenDaylight Openflow & OVSDB use cases ODL summit 2016abhijit2511
 
Big Data Day LA 2016/ Big Data Track - Building scalable enterprise data flow...
Big Data Day LA 2016/ Big Data Track - Building scalable enterprise data flow...Big Data Day LA 2016/ Big Data Track - Building scalable enterprise data flow...
Big Data Day LA 2016/ Big Data Track - Building scalable enterprise data flow...Data Con LA
 
data warehousing need and characteristics. types of data w data warehouse arc...
data warehousing need and characteristics. types of data w data warehouse arc...data warehousing need and characteristics. types of data w data warehouse arc...
data warehousing need and characteristics. types of data w data warehouse arc...aasifkuchey85
 
Where Should You Deliver Database Services From?
Where Should You Deliver Database Services From?Where Should You Deliver Database Services From?
Where Should You Deliver Database Services From?EDB
 
Data Vault Automation at the Bijenkorf
Data Vault Automation at the BijenkorfData Vault Automation at the Bijenkorf
Data Vault Automation at the BijenkorfRob Winters
 
Apache NiFi - Flow Based Programming Meetup
Apache NiFi - Flow Based Programming MeetupApache NiFi - Flow Based Programming Meetup
Apache NiFi - Flow Based Programming MeetupJoseph Witt
 
Erp and E-Commerce Integration - 4 ways to synchronize data between the two s...
Erp and E-Commerce Integration - 4 ways to synchronize data between the two s...Erp and E-Commerce Integration - 4 ways to synchronize data between the two s...
Erp and E-Commerce Integration - 4 ways to synchronize data between the two s...i95Dev
 

Ähnlich wie Open source policy open daylight and opflex (20)

Define enterprise integration strategy by industry leader bhawani nandanprasad
Define enterprise integration strategy by industry leader bhawani nandanprasadDefine enterprise integration strategy by industry leader bhawani nandanprasad
Define enterprise integration strategy by industry leader bhawani nandanprasad
 
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
 
Bluetooth and Raspberry Pi
Bluetooth and Raspberry PiBluetooth and Raspberry Pi
Bluetooth and Raspberry Pi
 
SDN Project PPT
SDN Project PPTSDN Project PPT
SDN Project PPT
 
DEVNET-1175 OpenDaylight Service Function Chaining
DEVNET-1175	OpenDaylight Service Function ChainingDEVNET-1175	OpenDaylight Service Function Chaining
DEVNET-1175 OpenDaylight Service Function Chaining
 
A Model-Based Systems Engineering Approach to Portfolio Management
A Model-Based Systems Engineering Approach to Portfolio ManagementA Model-Based Systems Engineering Approach to Portfolio Management
A Model-Based Systems Engineering Approach to Portfolio Management
 
SDN Introduction
SDN IntroductionSDN Introduction
SDN Introduction
 
Ods
OdsOds
Ods
 
Data Con LA 2018 - Streaming and IoT by Pat Alwell
Data Con LA 2018 - Streaming and IoT by Pat AlwellData Con LA 2018 - Streaming and IoT by Pat Alwell
Data Con LA 2018 - Streaming and IoT by Pat Alwell
 
OpenDaylight Openflow & OVSDB use cases ODL summit 2016
OpenDaylight Openflow & OVSDB use cases ODL summit 2016OpenDaylight Openflow & OVSDB use cases ODL summit 2016
OpenDaylight Openflow & OVSDB use cases ODL summit 2016
 
Big Data Day LA 2016/ Big Data Track - Building scalable enterprise data flow...
Big Data Day LA 2016/ Big Data Track - Building scalable enterprise data flow...Big Data Day LA 2016/ Big Data Track - Building scalable enterprise data flow...
Big Data Day LA 2016/ Big Data Track - Building scalable enterprise data flow...
 
Vip2p
Vip2pVip2p
Vip2p
 
Overview of Function Points Analysis
Overview of Function Points Analysis Overview of Function Points Analysis
Overview of Function Points Analysis
 
Function Points
Function PointsFunction Points
Function Points
 
data warehousing need and characteristics. types of data w data warehouse arc...
data warehousing need and characteristics. types of data w data warehouse arc...data warehousing need and characteristics. types of data w data warehouse arc...
data warehousing need and characteristics. types of data w data warehouse arc...
 
Where Should You Deliver Database Services From?
Where Should You Deliver Database Services From?Where Should You Deliver Database Services From?
Where Should You Deliver Database Services From?
 
Data Vault Automation at the Bijenkorf
Data Vault Automation at the BijenkorfData Vault Automation at the Bijenkorf
Data Vault Automation at the Bijenkorf
 
Apache NiFi - Flow Based Programming Meetup
Apache NiFi - Flow Based Programming MeetupApache NiFi - Flow Based Programming Meetup
Apache NiFi - Flow Based Programming Meetup
 
Erp and E-Commerce Integration - 4 ways to synchronize data between the two s...
Erp and E-Commerce Integration - 4 ways to synchronize data between the two s...Erp and E-Commerce Integration - 4 ways to synchronize data between the two s...
Erp and E-Commerce Integration - 4 ways to synchronize data between the two s...
 
Design patternsforiot
Design patternsforiotDesign patternsforiot
Design patternsforiot
 

Kürzlich hochgeladen

Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 

Kürzlich hochgeladen (20)

Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 

Open source policy open daylight and opflex

  • 2. The Open Source Policy “Stack” OpFlex Policy Agent with northbound OpFlex protocol interface and southbound interface for device (OVS is the reference implementation). OpFlex protocol defined through IETF (OpFlex Control Protocol draft-smith-opflex-00) Group Policy as defined by OpenDaylight/OpenStack OpenDaylight and OpenStack provide northbound API for Group Policy and southbound interface for OpFlex protocol. Linux (Netlink) OVS (OpenFlow, OVSDB) libvirt API
  • 3. ODL Group-Based Policy Project The group-based policy project defines an application- centric policy model for OpenDaylight that separates information about application connectivity requirements from information about the underlying details of the network infrastructure.
  • 4. Group Policy Elements • Policy Repository • A database of policies • A policy consists of • Endpoint Groups (EPGs) described below • Contracts, which describe how/if EPGs communicate with each other • Endpoint Repository • Database of endpoints and their meta-data • Endpoints are things that can communicate like virtual/physical ports • Includes mapping of endpoints into of Endpoint Groups (EPG) • EPGs are the smallest entity that can be specified in a policy • Observer • A repository that maintains a database of status updates and exceptions
  • 5. The Policy Agent’s Role The policy agent’s function is to exchange and enforce policy, acting as a participant in a larger policy management system.
  • 6. End Point Registry The Policy Agent in the Policy System Observer Policy Agent Policy Agent (on another device) Policy Resolution Policy Repository Policy Update End Point Declaratio n End Point Policy Update Status Policy Peering via Triggers
  • 7. Policy Agent in the Policy System Explained • The policy agent (PA) • Requests policy resolution from a Policy Repository (PR) • Receives policy updates from a PR • Indicate end points to an End Point Registry (EPR) • Receive policy resolutions • Receive updates for the End Points • Trigger behaviors in peering Policy Elements (PEs), using the Policy Trigger OpFlex messaging • Status information is sent to an Observer • Collects and archives status • Observer may communicate status to other PEs • PRs, EPRs, PAs, and Observers may be referred to as PEs
  • 8. Policy Resolution within the Agent Policy Agent Policy Manager Inbound/Outbound TCP/IP Managed Object Database Policy Enforcer In/Out to “device” (e.g., OVS, vSwitches, HW switches, etc.)
  • 9. Agent Policy Resolution Explained • Policy Manager • “Speaks” OpFlex • Converts OpFlex into format useful to Managed Object Database • Manages TCP connections with PR, EPR, and Observer • Managed Object Database (MODB) • Maintains hierarchical tree model of physical/virtual devices under management • Updates are propagated appropriately via northbound and southbound APIs • Policy Enforcer • Conceptually similar to a device driver • Translates data from MODB into sets of appropriate commands/communications to physical and/or virtual devices • Monitors devices for updates, which are propagated to MODB via API
  • 10. Reference/OVS Implementation OpFlex Agent Open vSwitch Datapath Flow Table OpenFlow OVSDB Managed Objects Store (MODB) OVS Render Plugin (Policy Enforcement) SW/HW Datapath OpFlex (Policy Manager)
  • 11. Reference/OVS Implementation • Written in C using standard libraries • Developed with the OpenDaylight project • Eclipse and Apache licensing • Runs on common Linux distributions • Policy Manager • Supports the OpFlex protocol with JSON at L-6 • Support at least 3 PRs • Managed Object Database • Queries by class, object ID, or URIs • Updates generate notifications to Policy Manager and/or Policy Enforcer as appropriate • DB persistence with crash recovery • Policy Enforcer • Policy enforcement between containers and/or virtual machines • Interface to libvirt API (supporting many hypervisors) and OVSDB • OVS management via ovs-vsctl, ovs-ofctl, etc • Network management via ip commands
  • 12. Policy Agent Southbound Path (OVS Implementation) MODB Update database Inform policy enforcer Policy/End Point Repository JSON Policy Manager Receive update Convert JSON to internal form Policy Enforcer Translate managed object Issue appropriate commands ovs-vsctl ... ovs-ofctl ... ip addr ... ip link ... etc ….
  • 13. OVS Policy Agent Southbound Path Explained • A policy or policy update arrives at the port of the Policy Manager • JSON is translated into internal form • Internal data is passed to Managed Object module • Data inserted into database • Notification of database change goes out to subscribers • Policy enforcer receives update • New or modified data is passed to translator • Translator produces list of commands suitable for underlying virtual/physical device • Dependencies are identified • Commands are executed asynchronously • Pass/Fail of command execution is recorded • Failure may cause roll back of successful commands • Since all commands are issued asynchronously, determination of successful implementation follows the northbound path described next
  • 14. Policy Agent Northbound Path (OVS Implementation) Observer Policy/End Point Repository Initial Scan Policy Manager Receive update Convert MODB to JSON MODB Update database Inform policy manager Policy Enforcer Monitor runs continuously Translate received data into MODB OVSDB Asynchronous OVS updates libvirt JSON JSON
  • 15. OVS Policy Agent Northbound Path Explained • Policy Enforcer receives update and/or asynchronous responses • Translates responses into managed object as appropriate • Notifies Managed Object module of changes • Managed Object module • Notifies Policy Manager of changes • Policy Manager • Converts MO data into JSON • Sends data to appropriate elements (Policy Repository, Endpoint Repository, Observer)
  • 16. Start Up • Start Up • PE initializes communication with OVS and libvirt • Essentially collects current state • MO module • Reads in crash recovery file, if it exists • Populates MODB with recovery data and/or PE scan data • Policy Manager • Initializes connections with know PEs • Sends current policy (or state) to appropriate PEs
  • 17. Summary • Currently working on reference policy agent • Implementation: C, Linux, JSON, OVS, libvirt • More detail about the reference architecture may be found at https://wiki. opendaylight.org/view/Opflex_Architecture • The OpFlex IETF draft specification may be found at http://tools.ietf. org/html/draft-smith-opflex-00 • More detail about ODL group policy may be found at https://wiki. opendaylight.org/view/Group_Policy:Main • ODL group policy architecture https://wiki.opendaylight.org/view/Group_Policy:Architecture