Programming SDN Flashcards
Openflow consistence problem
- update may disrupt packets along an end to end path. 2. Packets from the same flow might be disrupted.
Examples fo state openflow may read
failures, topology changes, security events, etc.
Compute Policy
decide forwarding behavior
Write Policy
Save the policy back to the swtiches
What makes openflow programming difficult
rules are simple match action rules
size problem
Limits the number of rules. Cannot install all possible patterns
Solution to the size problem
Dynamically unfold rules as traffic arrives. Programmer specifies “GroupBy (srcip)”. Runtime dynamically adds rules as traffic arrives.
Problems when reading state
Extra unexpected events might arrive. 1st packet go to control then decision is made. Solution 1. Programmer specifies “limit(1)”. Runtime hides extra events
3 approaches to help guaranty consistence when reading state
Predicates, unfolding, suppression
Writing policy: Avoiding Disruption
Need atomic updates of the entire configuration.
Solution to writing disruption issue
2 phase commit version numbers in packets
Optimization for 2 phase commit.
Only apply mechanism on switches that involve affected versions of traffic or topology i.e. Keeping the old and new state on routers and switches
What is network virtualization?
Abstraction of physical network. Multiple logical networks share physical substrate
Why use network virtualization
To work around “Ossification” of internet architecture.
Ossification
A tendency toward or state of being molded into a rigid, conventional, sterile or unimaginative condition.