Uppaal based software defined network verification
This presentation is the property of its rightful owner.
Sponsored Links
1 / 19

UPPAAL-based Software-Defined Network Verification PowerPoint PPT Presentation


  • 71 Views
  • Uploaded on
  • Presentation posted in: General

UPPAAL-based Software-Defined Network Verification. Uliana Popesko Lomonosov Moscow State University 2014. Plan. SDN Timed automata TCTL Translation UPPAAL Experiments. Computer network. Switch 3. Switch 1. 2. Switch 2. 1. Software-Defined Network. Controller. Switch 3.

Download Presentation

UPPAAL-based Software-Defined Network Verification

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Uppaal based software defined network verification

UPPAAL-based Software-Defined Network Verification

UlianaPopesko

Lomonosov Moscow State University

2014


Uppaal based software defined network verification

Plan

  • SDN

  • Timed automata

  • TCTL

  • Translation

  • UPPAAL

  • Experiments


Computer network

Computer network

Switch3

Switch1

2

Switch2

1


Software defined network

Software-Defined Network

Controller

Switch3

Switch1

Switch2

1


Software defined network1

Software-Defined Network

Controller

2

Switch3

Switch1

Switch2

1


Software defined network2

Software-Defined Network

Controller

2

Switch3

Switch1

3

Switch2

1


Software defined network3

Software-Defined Network

Controller

2

Switch3

Switch1

3

4

Switch2

1


Sdn features

SDN features

  • Control level is separated from communication devices

  • Network management is programmable

  • OpenFlowstandart


Flow table rule

Flow table. Rule

Pattern

Timeout

Actions

Priority

  • output(op)

  • modify(h,n)


Sdn invariants

SDN invariants

  • No loop

  • No packet loss

  • OpenFlow rule consistency

  • Consistency with protocols


Timed automata

Timed Automata


Timed automata definition

Timed Automata. Definition

(Σ, S, S0, X, T)

  • Σ – a finite alphabet,

  • S – a finite set of states,

  • S0 S – a set of start states,

  • Х – a finite set of clocks,

  • T: S × Σ × C(X) × 2X × S – gives the set of transition


Timed computation tree logic tctl

Timed Computation Tree Logic, TCTL

::= p |||| E[1UJ2]|A[1UJ2]

p – a propositional variable, – clock constraints,

J – time interval,

A and E are the path operators (“for all” and “exists”),

U – step operators (“until”)


Tctl examples

TCTL, examples

  • AG(request -> AFresponse)

  • A[offUon]

  • EG[send(m) -> EFrecover(rm)]


Formal model uml diagram

Formal model, UML diagram

Switch

Controller


Translation algorithm

Translation algorithm

  • Input: UML-diagram

  • Output: UPPAAL network of timed automata


Algorithm correctness

Algorithm correctness

  • Correct iff UPPAAL formulae are equisatisfiable for an SDN and an NTA

  • Formalization for SDN behavior with rewriting

  • Stuttering equivalence for labeled transition systems


Experiment

Experiment

  • The system contains no deadlocks:

    A[] not deadlock

  • The environment constantly generates new packets:

    A <> forall(num : int[0; 2]) (channel_h[stream:align[num]])

  • The switch does not process any packet:

    E[] com1:start

  • At least one packet is sent to the controller:

    E <> !con:idle

  • The switch successfully processes at least one packet:

    E <> com1:hit


Results

Results

  • A formal description of SDNs

  • A translation algorithm which converts a given SDN description into an NTA

  • We proposed and implemented an approach to verification of software-defined networks considered as real-time systems against temporal property


  • Login