SDN Programming Flashcards
SDN Workflow
Read/Monitor State
Compute Policy (decision plane)
Write Policy
SDN Read problem solutions
Predicates (and/not primitives to build complex rules)
Rule unfolding
Packet suppression (Limit (1) )
SDN Write problem solutions
Atomic Commits
Copy packets, only apply updated policy once all old policies are removed
Virtual Networking Benefits
Allows implementation of different networks without having to replace physical infrastructure
SDN vs Network Virtualization
SDNs seperate control and data planes
NV seperates logical and physical planes
(SDN does not abstract underlying network)
Frenetic Language
SQL like language to select packets
SDN Policy Composition
Parallel
Count and Forward
Sequence
Firewall then Switch
Why use API
high level abstraction
Pyretic function - flood()
return one packet per local port
Pyretic function match(f=v)
match any packet where key f is assigned value v
Pyretic sequential composition
match(a)»_space; fwd(12)
» operator
execute left side, then right side