SlideShare a Scribd company logo
1 of 29
Download to read offline
RINASim
● MECHANISMS AND POLICIES
● Vladimír Veselý and Marcel Marek
Brno University of Technology, Czech Republic
veselyv@fit.vutbr.cz
University of Oslo, Norway
marcelma@ifi.uio.no
@ictpristine Webinar, 27th February 2017 1
Agenda
1) Introduction
2) Mechanism and Policy framework
3) Demonstrations
 Flow Allocator
 EFCP
4) Conclusion
@ictpristine Webinar, 27th February 2017 2
@ictpristine Webinar, 27th February 2017 3
1) Introduction
Current state
Status Quo
 February 2017 release
 GitHub repository
https://github.com/kvetak/RINA/releases/tag/February2017
 CDAP API
 OMNeT++ 5.1 technical candidate compatibility
 Code refactoring
@ictpristine Webinar, 27th February 2017 4
Virtual Machine
 Out-of-the box virtual machine
 OMNeT++ 5.0 with the newest RINASim
 Download from
http://nes.fit.vutbr.cz/ivesely/vm/RINASim.zip
 OVA appliance of MintLinux created on VMWare
Workstation
 …should work also on VirtualBox and Qemu
 Custom highlighter of code syntax
@ictpristine Webinar, 27th February 2017 5
Reporting Issues
 Report on
https://github.com/kvetak/RINA/issues
 Resolution rate will improve…hopefully 
@ictpristine Webinar, 27th February 2017 6
@ictpristine Webinar, 27th February 2017 7
2) Mechanism and Policy
Design notes
A long road from idea/spec towards FSM
Coding conventions
Difference
 Mechanism
 Fixed
 Cannot be changed
 E.g., error checking on
data-link layer
 Policy
 Flexible
 Can be negotiated
 E.g., CRC-32, CRC-
64, Vitrebi
@ictpristine Webinar, 27th February 2017 8
Explicit vs. Implicit Policies
 RINA specs cover explicit policies
 data processing (e.g., how is PDU handled by
EFCP and RMT)
 control processing (e.g., flow allocation and
deallocation procedures)
 Implicit policies
 do not have strict placeholder
 variable inputs and outputs
 E.g., routing or secured enrollment
@ictpristine Webinar, 27th February 2017 9
Defining Policy
 Policy is (a set of) algorithm(s)
 Properties
 Deterministic
 Closed control (beaware of recursion)
 Finite (avoid state explosion)
 Known inputs and outputs
 Description
 Formal: finite-state machines
 Implementation: C++ class
@ictpristine Webinar, 27th February 2017 10
FA
@ictpristine Webinar, 27th February 2017 11
Allocate Request
M_CREATE(flow)
Deallocate Request
NewFlowRequestPolicy
Null
Is malformed? Create FAI
true
/ send negative allocate response
false
FAI successfully created
/ pass allocate request to FAI
Map QoS to
RA s Qos-cubes
Has resources to
honor QoS?
Has access rights?
true true
policy succeeded
/ return positive result
policy failed
/ return negative result
false false
Is dst AP local?
Create FAI
hopCount == 0
FAI successfully created
/ pass allocate request to FAI
false
/ hopCount--
true
false
/ forward M_CREATE(flow)
true
/ send negative M_CREATE_R(flow)
/ pass deallocate request to FAI
policy invoked
FAI
@ictpristine Webinar, 27th February 2017 12
Allocate Request
Degenerate Data Transfer
M_CREATE_R(flow)
AllocateRetryPolicy
AllocateNotifyPolicy
Instantiated
Is dst AP local?
Is policy
acceptable?
Create EFCPI Create bindings
false
/ invoke NewFlowRequestPolicy
true
/ pass allocate request
to dst AP
false
/ invoke AllocateNotifyPolicy
true
bindings successfully created
/ send M_CREATE(flow)
&& invoke AllocateNotifyPolicy
EFCPI successfully created
Is response positive?
Establish IPC
between local APs
Create bindings
false
/ invoke AllocateNotifyPolicy
bindings successfully created
/ invoke AllocateNotifyPolicy
establishment successful
Is response positive? Create bindings
true
false
/ invoke AllocateRetryPolicy
bindings successfully created
/ invoke AllocateNotifyPolicy
Flow Allocation Failed
Flow Allocated
receive allocate response
from dst AP
Is policy
acceptable?
false
/ invoke AllocateNotifyPolicy
true
true
/ invoke NewFlowRequestPolicy
receive M_CREATE_R(flow)
numOfCreReq
<=
MaxCreReqRetries
false
/ invoke AllocateNotifyPolicy
true
/ send M_CREATE(flow)
policy invoked
/ numOfCreReq++
timer expired
/ invoke AllocateRetryPolicy
policy evaluation requested
receive allocate request
waitingforM_CREATE_R(flow)
waitingforM_CREATE_R(flow)
allocation succeeded
allocation failed
false
true
/ send positive allocate response
policy invoked
Is positive
allocate response
criteria met?
false
/ send negative allocate response
allocationfailed
allocationsucceeded
policy evaluation requested
policy evaluation requested
policy evaluation requested
policy evaluation requested
M_CREATE(flow)
Allocation Response
Instantiated
Is policy
acceptable?
receive M_CREATE(flow)
/ invoke NewFlowRequestPolicy
false
/ send negative
M_CREATE_R(flow)
Is response positive? Create EFCPI Create bindings
bindings successfully created
/ send positive
M_CREATE_R(flow)
EFCPI successfully created
Flow Allocated
receive allocate response
true
true
/ pass allocation request
false
/ send negative
M_CREATE_R(flow)
allocationsucceeded
waitingforallocateresponse
allocationfailed
Deallocate Submit
M_DELETE(flow)
M_DELETE_R(flow)
SeqRollOverPolicy
receive deallocate submit
Delete bindings
bindings successfully deleted
/ send M_DELETE(flow)
/ send deallocate deliver
Delete bindings
bindings successfully deleted
/ send M_DELETE_R(flow)
receive M_DELETE_R(flow)
|| timer expired
Deinstantiated
Flow Deallocated
after 2×MPL
/ deinstantiate FAI
Create EFCPI
bindings successfully changed
sequence numbers threshold reached
Change bindings
EFCPI successfully created
Flow Allocated
RINASim Parts
 Core
 folder /src
 static librinasimcore.a
library linked to…
 Policies
 folder /policies
 dynamic librinasim.dll
library
@ictpristine Webinar, 27th February 2017 13
Usual Design
1) NED module interface
2) Base class
 optionally with implicit policy action
3) Policy implementation
 inheriting all necessary things from base
4) Policy binding
 with scenario setup in omnetpp.ini file
@ictpristine Webinar, 27th February 2017 14
1) NED Module Interface
@ictpristine Webinar, 27th February 2017 15
2) Base class
 Optionally may
contain default
policy action
 Not an C++
abstract class in
that case
 Every policy has
bool run()
method
@ictpristine Webinar, 27th February 2017 16
3) Policy Implementation
NED file
header file C++ file
@ictpristine Webinar, 27th February 2017 17
4) Policy Binding
 Default value somewhere in parent NED file
 Override in omnetpp.ini
@ictpristine Webinar, 27th February 2017 18
@ictpristine Webinar, 27th February 2017 19
3) Demonstrations
FA
EFCP
Flow Object
@ictpristine Webinar, 27th February 2017 20
FA: Demo
 /examples/Webinars/FAPolicyTest
@ictpristine Webinar, 27th February 2017 21
EFCP: Congestion Demo 
@ictpristine Webinar, 27th February 2017 22
 /examples/Webinars/EFCPPolicyTest
EFCP: Congestion Demo 
@ictpristine Webinar, 27th February 2017 23
@ictpristine Webinar, 27th February 2017 24
4) Conclusion
Final remarks
Open call
Need Help?
 Check the official webpage
 Visit https://rinasim.omnetpp.org
 Skype group chat
 skype:?chat&blob=-bdq6qH_uDXIlbRk_4_XwqZyplfXPl4IzCq4P-
S0BrsttjgPR8CNJKV9-Yyn1TYopaYZD2g3bIC_Yv0C
 https://join.skype.com/B9Tt5aTPd0nC
 Sign to mailing-list rinasim@fit.vutbr.cz
 Use http://www.fit.vutbr.cz/mailman/listinfo/rinasim
@ictpristine Webinar, 27th February 2017 25
Team
 RINASim is a joint work of following people
 Vladimír Veselý (@kvetak)
 Marcel Marek (@screw)
 Kamil Jeřábek (@kjerabek)
 Tomáš Hykel (@thykel)
 Sergio Leon Gaixas (@gaixas1)
 Peyman Teymoori (@peyman-t)
 Ehsan Elahi (@ehsanzahoor)
 Kewin Rausch (@kewinrausch)
 Fatma Hrizi (@fatmahrizi)
 Kleber Leal (@kaleal)
 Green marked individual are usually willing to
deal with your RINASim troubles
@ictpristine Webinar, 27th February 2017 26
Problems for Today and Tomorrow
1) Add more source code
comments
2) Improve Doxygen
documentation
3) Create real data-link
layer simulation
modules
4) Extend RIB
functionality
@ictpristine Webinar, 27th February 2017 27
Topics for Other Webinars
 What did we not covered?
 Results gathering and analysis
 Are you interested about work of others?
 Suggest your topic…
@ictpristine Webinar, 27th February 2017 28
RINASim
● Thank you!
Good morning / Good night 
@ictpristine Webinar, 27th February 2017 29

More Related Content

Similar to 2nd RINASim Webinar

Apricot2017 Request tracing in distributed environment
Apricot2017 Request tracing in distributed environmentApricot2017 Request tracing in distributed environment
Apricot2017 Request tracing in distributed environmentHieu LE ☁
 
Logging/Request Tracing in Distributed Environment
Logging/Request Tracing in Distributed EnvironmentLogging/Request Tracing in Distributed Environment
Logging/Request Tracing in Distributed EnvironmentAPNIC
 
Summit 2017 cyber delivery v4 long version
Summit 2017 cyber delivery v4 long versionSummit 2017 cyber delivery v4 long version
Summit 2017 cyber delivery v4 long versionPini Cohen
 
React HOCs, Context and Observables
React HOCs, Context and ObservablesReact HOCs, Context and Observables
React HOCs, Context and ObservablesTrayan Iliev
 
HNSciCloud update @ the World LHC Computing Grid deployment board
HNSciCloud update @ the World LHC Computing Grid deployment board  HNSciCloud update @ the World LHC Computing Grid deployment board
HNSciCloud update @ the World LHC Computing Grid deployment board Helix Nebula The Science Cloud
 
Parallel computing diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami
Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md SamiParallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami
Parallel computing diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md SamiMD Sami
 
CNNIC update
CNNIC updateCNNIC update
CNNIC updateAPNIC
 
Better Hackathon 2020 - Fraunhofer IAIS - Semantic geo-clustering with SANSA
Better Hackathon 2020 - Fraunhofer IAIS - Semantic geo-clustering with SANSABetter Hackathon 2020 - Fraunhofer IAIS - Semantic geo-clustering with SANSA
Better Hackathon 2020 - Fraunhofer IAIS - Semantic geo-clustering with SANSAPRBETTER
 
Whowas: History of resources at APNIC
Whowas: History of resources at APNICWhowas: History of resources at APNIC
Whowas: History of resources at APNICAPNIC
 
Data Preservation Service Area
Data Preservation Service AreaData Preservation Service Area
Data Preservation Service AreaEUDAT
 
GitHub Actions - using Free Oracle Cloud Infrastructure (OCI)
GitHub Actions - using Free Oracle Cloud Infrastructure (OCI)GitHub Actions - using Free Oracle Cloud Infrastructure (OCI)
GitHub Actions - using Free Oracle Cloud Infrastructure (OCI)Phil Wilkins
 
Migrating from VBA to .NET Desktop Add-Ins
Migrating from VBA to .NET Desktop Add-Ins Migrating from VBA to .NET Desktop Add-Ins
Migrating from VBA to .NET Desktop Add-Ins lbross
 
Process Flow Tech
Process Flow TechProcess Flow Tech
Process Flow TechFloydBement
 
Combinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificadaCombinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificadaElasticsearch
 
CPaaS.io Y1 Review Meeting - Use Cases
CPaaS.io Y1 Review Meeting - Use CasesCPaaS.io Y1 Review Meeting - Use Cases
CPaaS.io Y1 Review Meeting - Use CasesStephan Haller
 
Spark Pipelines in the Cloud with Alluxio with Gene Pang
Spark Pipelines in the Cloud with Alluxio with Gene PangSpark Pipelines in the Cloud with Alluxio with Gene Pang
Spark Pipelines in the Cloud with Alluxio with Gene PangSpark Summit
 
Vue and Firebase Experiences
Vue and Firebase ExperiencesVue and Firebase Experiences
Vue and Firebase ExperiencesIsatu Conteh
 
YouTube Trending Video Dashboard
YouTube Trending Video DashboardYouTube Trending Video Dashboard
YouTube Trending Video DashboardIRJET Journal
 

Similar to 2nd RINASim Webinar (20)

Apricot2017 Request tracing in distributed environment
Apricot2017 Request tracing in distributed environmentApricot2017 Request tracing in distributed environment
Apricot2017 Request tracing in distributed environment
 
Logging/Request Tracing in Distributed Environment
Logging/Request Tracing in Distributed EnvironmentLogging/Request Tracing in Distributed Environment
Logging/Request Tracing in Distributed Environment
 
Summit 2017 cyber delivery v4 long version
Summit 2017 cyber delivery v4 long versionSummit 2017 cyber delivery v4 long version
Summit 2017 cyber delivery v4 long version
 
React HOCs, Context and Observables
React HOCs, Context and ObservablesReact HOCs, Context and Observables
React HOCs, Context and Observables
 
HNSciCloud update @ the World LHC Computing Grid deployment board
HNSciCloud update @ the World LHC Computing Grid deployment board  HNSciCloud update @ the World LHC Computing Grid deployment board
HNSciCloud update @ the World LHC Computing Grid deployment board
 
Parallel computing diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami
Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md SamiParallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami
Parallel computing diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami
 
CNNIC update
CNNIC updateCNNIC update
CNNIC update
 
Intro to JavaScript
Intro to JavaScriptIntro to JavaScript
Intro to JavaScript
 
Better Hackathon 2020 - Fraunhofer IAIS - Semantic geo-clustering with SANSA
Better Hackathon 2020 - Fraunhofer IAIS - Semantic geo-clustering with SANSABetter Hackathon 2020 - Fraunhofer IAIS - Semantic geo-clustering with SANSA
Better Hackathon 2020 - Fraunhofer IAIS - Semantic geo-clustering with SANSA
 
Whowas: History of resources at APNIC
Whowas: History of resources at APNICWhowas: History of resources at APNIC
Whowas: History of resources at APNIC
 
Data Preservation Service Area
Data Preservation Service AreaData Preservation Service Area
Data Preservation Service Area
 
GitHub Actions - using Free Oracle Cloud Infrastructure (OCI)
GitHub Actions - using Free Oracle Cloud Infrastructure (OCI)GitHub Actions - using Free Oracle Cloud Infrastructure (OCI)
GitHub Actions - using Free Oracle Cloud Infrastructure (OCI)
 
Migrating from VBA to .NET Desktop Add-Ins
Migrating from VBA to .NET Desktop Add-Ins Migrating from VBA to .NET Desktop Add-Ins
Migrating from VBA to .NET Desktop Add-Ins
 
Process Flow Tech
Process Flow TechProcess Flow Tech
Process Flow Tech
 
Combinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificadaCombinação de logs, métricas e rastreamentos para observabilidade unificada
Combinação de logs, métricas e rastreamentos para observabilidade unificada
 
CPaaS.io Y1 Review Meeting - Use Cases
CPaaS.io Y1 Review Meeting - Use CasesCPaaS.io Y1 Review Meeting - Use Cases
CPaaS.io Y1 Review Meeting - Use Cases
 
Spark Pipelines in the Cloud with Alluxio with Gene Pang
Spark Pipelines in the Cloud with Alluxio with Gene PangSpark Pipelines in the Cloud with Alluxio with Gene Pang
Spark Pipelines in the Cloud with Alluxio with Gene Pang
 
Vue and Firebase Experiences
Vue and Firebase ExperiencesVue and Firebase Experiences
Vue and Firebase Experiences
 
[TestWarez 2017] Automated Testing for Common Errors and Difference Recogniti...
[TestWarez 2017] Automated Testing for Common Errors and Difference Recogniti...[TestWarez 2017] Automated Testing for Common Errors and Difference Recogniti...
[TestWarez 2017] Automated Testing for Common Errors and Difference Recogniti...
 
YouTube Trending Video Dashboard
YouTube Trending Video DashboardYouTube Trending Video Dashboard
YouTube Trending Video Dashboard
 

Recently uploaded

(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdfMatthew Sinclair
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceDelhi Call girls
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdfMatthew Sinclair
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls DubaiEscorts Call Girls
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...SUHANI PANDEY
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceReal Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceEscorts Call Girls
 
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...nilamkumrai
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...SUHANI PANDEY
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋nirzagarg
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdfMatthew Sinclair
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...SUHANI PANDEY
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubaikojalkojal131
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...tanu pandey
 

Recently uploaded (20)

(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceReal Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
 
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 

2nd RINASim Webinar

  • 1. RINASim ● MECHANISMS AND POLICIES ● Vladimír Veselý and Marcel Marek Brno University of Technology, Czech Republic veselyv@fit.vutbr.cz University of Oslo, Norway marcelma@ifi.uio.no @ictpristine Webinar, 27th February 2017 1
  • 2. Agenda 1) Introduction 2) Mechanism and Policy framework 3) Demonstrations  Flow Allocator  EFCP 4) Conclusion @ictpristine Webinar, 27th February 2017 2
  • 3. @ictpristine Webinar, 27th February 2017 3 1) Introduction Current state
  • 4. Status Quo  February 2017 release  GitHub repository https://github.com/kvetak/RINA/releases/tag/February2017  CDAP API  OMNeT++ 5.1 technical candidate compatibility  Code refactoring @ictpristine Webinar, 27th February 2017 4
  • 5. Virtual Machine  Out-of-the box virtual machine  OMNeT++ 5.0 with the newest RINASim  Download from http://nes.fit.vutbr.cz/ivesely/vm/RINASim.zip  OVA appliance of MintLinux created on VMWare Workstation  …should work also on VirtualBox and Qemu  Custom highlighter of code syntax @ictpristine Webinar, 27th February 2017 5
  • 6. Reporting Issues  Report on https://github.com/kvetak/RINA/issues  Resolution rate will improve…hopefully  @ictpristine Webinar, 27th February 2017 6
  • 7. @ictpristine Webinar, 27th February 2017 7 2) Mechanism and Policy Design notes A long road from idea/spec towards FSM Coding conventions
  • 8. Difference  Mechanism  Fixed  Cannot be changed  E.g., error checking on data-link layer  Policy  Flexible  Can be negotiated  E.g., CRC-32, CRC- 64, Vitrebi @ictpristine Webinar, 27th February 2017 8
  • 9. Explicit vs. Implicit Policies  RINA specs cover explicit policies  data processing (e.g., how is PDU handled by EFCP and RMT)  control processing (e.g., flow allocation and deallocation procedures)  Implicit policies  do not have strict placeholder  variable inputs and outputs  E.g., routing or secured enrollment @ictpristine Webinar, 27th February 2017 9
  • 10. Defining Policy  Policy is (a set of) algorithm(s)  Properties  Deterministic  Closed control (beaware of recursion)  Finite (avoid state explosion)  Known inputs and outputs  Description  Formal: finite-state machines  Implementation: C++ class @ictpristine Webinar, 27th February 2017 10
  • 11. FA @ictpristine Webinar, 27th February 2017 11 Allocate Request M_CREATE(flow) Deallocate Request NewFlowRequestPolicy Null Is malformed? Create FAI true / send negative allocate response false FAI successfully created / pass allocate request to FAI Map QoS to RA s Qos-cubes Has resources to honor QoS? Has access rights? true true policy succeeded / return positive result policy failed / return negative result false false Is dst AP local? Create FAI hopCount == 0 FAI successfully created / pass allocate request to FAI false / hopCount-- true false / forward M_CREATE(flow) true / send negative M_CREATE_R(flow) / pass deallocate request to FAI policy invoked
  • 12. FAI @ictpristine Webinar, 27th February 2017 12 Allocate Request Degenerate Data Transfer M_CREATE_R(flow) AllocateRetryPolicy AllocateNotifyPolicy Instantiated Is dst AP local? Is policy acceptable? Create EFCPI Create bindings false / invoke NewFlowRequestPolicy true / pass allocate request to dst AP false / invoke AllocateNotifyPolicy true bindings successfully created / send M_CREATE(flow) && invoke AllocateNotifyPolicy EFCPI successfully created Is response positive? Establish IPC between local APs Create bindings false / invoke AllocateNotifyPolicy bindings successfully created / invoke AllocateNotifyPolicy establishment successful Is response positive? Create bindings true false / invoke AllocateRetryPolicy bindings successfully created / invoke AllocateNotifyPolicy Flow Allocation Failed Flow Allocated receive allocate response from dst AP Is policy acceptable? false / invoke AllocateNotifyPolicy true true / invoke NewFlowRequestPolicy receive M_CREATE_R(flow) numOfCreReq <= MaxCreReqRetries false / invoke AllocateNotifyPolicy true / send M_CREATE(flow) policy invoked / numOfCreReq++ timer expired / invoke AllocateRetryPolicy policy evaluation requested receive allocate request waitingforM_CREATE_R(flow) waitingforM_CREATE_R(flow) allocation succeeded allocation failed false true / send positive allocate response policy invoked Is positive allocate response criteria met? false / send negative allocate response allocationfailed allocationsucceeded policy evaluation requested policy evaluation requested policy evaluation requested policy evaluation requested M_CREATE(flow) Allocation Response Instantiated Is policy acceptable? receive M_CREATE(flow) / invoke NewFlowRequestPolicy false / send negative M_CREATE_R(flow) Is response positive? Create EFCPI Create bindings bindings successfully created / send positive M_CREATE_R(flow) EFCPI successfully created Flow Allocated receive allocate response true true / pass allocation request false / send negative M_CREATE_R(flow) allocationsucceeded waitingforallocateresponse allocationfailed Deallocate Submit M_DELETE(flow) M_DELETE_R(flow) SeqRollOverPolicy receive deallocate submit Delete bindings bindings successfully deleted / send M_DELETE(flow) / send deallocate deliver Delete bindings bindings successfully deleted / send M_DELETE_R(flow) receive M_DELETE_R(flow) || timer expired Deinstantiated Flow Deallocated after 2×MPL / deinstantiate FAI Create EFCPI bindings successfully changed sequence numbers threshold reached Change bindings EFCPI successfully created Flow Allocated
  • 13. RINASim Parts  Core  folder /src  static librinasimcore.a library linked to…  Policies  folder /policies  dynamic librinasim.dll library @ictpristine Webinar, 27th February 2017 13
  • 14. Usual Design 1) NED module interface 2) Base class  optionally with implicit policy action 3) Policy implementation  inheriting all necessary things from base 4) Policy binding  with scenario setup in omnetpp.ini file @ictpristine Webinar, 27th February 2017 14
  • 15. 1) NED Module Interface @ictpristine Webinar, 27th February 2017 15
  • 16. 2) Base class  Optionally may contain default policy action  Not an C++ abstract class in that case  Every policy has bool run() method @ictpristine Webinar, 27th February 2017 16
  • 17. 3) Policy Implementation NED file header file C++ file @ictpristine Webinar, 27th February 2017 17
  • 18. 4) Policy Binding  Default value somewhere in parent NED file  Override in omnetpp.ini @ictpristine Webinar, 27th February 2017 18
  • 19. @ictpristine Webinar, 27th February 2017 19 3) Demonstrations FA EFCP
  • 20. Flow Object @ictpristine Webinar, 27th February 2017 20
  • 22. EFCP: Congestion Demo  @ictpristine Webinar, 27th February 2017 22  /examples/Webinars/EFCPPolicyTest
  • 23. EFCP: Congestion Demo  @ictpristine Webinar, 27th February 2017 23
  • 24. @ictpristine Webinar, 27th February 2017 24 4) Conclusion Final remarks Open call
  • 25. Need Help?  Check the official webpage  Visit https://rinasim.omnetpp.org  Skype group chat  skype:?chat&blob=-bdq6qH_uDXIlbRk_4_XwqZyplfXPl4IzCq4P- S0BrsttjgPR8CNJKV9-Yyn1TYopaYZD2g3bIC_Yv0C  https://join.skype.com/B9Tt5aTPd0nC  Sign to mailing-list rinasim@fit.vutbr.cz  Use http://www.fit.vutbr.cz/mailman/listinfo/rinasim @ictpristine Webinar, 27th February 2017 25
  • 26. Team  RINASim is a joint work of following people  Vladimír Veselý (@kvetak)  Marcel Marek (@screw)  Kamil Jeřábek (@kjerabek)  Tomáš Hykel (@thykel)  Sergio Leon Gaixas (@gaixas1)  Peyman Teymoori (@peyman-t)  Ehsan Elahi (@ehsanzahoor)  Kewin Rausch (@kewinrausch)  Fatma Hrizi (@fatmahrizi)  Kleber Leal (@kaleal)  Green marked individual are usually willing to deal with your RINASim troubles @ictpristine Webinar, 27th February 2017 26
  • 27. Problems for Today and Tomorrow 1) Add more source code comments 2) Improve Doxygen documentation 3) Create real data-link layer simulation modules 4) Extend RIB functionality @ictpristine Webinar, 27th February 2017 27
  • 28. Topics for Other Webinars  What did we not covered?  Results gathering and analysis  Are you interested about work of others?  Suggest your topic… @ictpristine Webinar, 27th February 2017 28
  • 29. RINASim ● Thank you! Good morning / Good night  @ictpristine Webinar, 27th February 2017 29