4. SDN & NFV Flashcards

1
Q

What is the main idea of software defined networking?

A

Separate the data and control plane:
- Switches: dumb and fast
- Controller: slow and smart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the main components of SDN?

A

From top to bottom:
Application layer (e.g. routing, firewall, traffic engineering)
– Northbound API –
Network OS
– Southbound API –
Data plane (Data forwarding based on forwarding rules)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is OpenFlow?

A

Communication protocol between control- and data plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the packet-handling rules?

A
  • Pattern: match packet header bits
  • Actions: drop, forward, modify, send to controller
  • Priority: disambiguate overlapping patterns
  • Counters: #bytes and #packets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are PISA and P4?

A

PISA = Programming Protocol-independent Packet Processors:
- Concept of a programming language for data plane consisting of:
- Parser -> Match-Action Pipeline -> Deparser
P4: Implementation of PISA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does OpenFlow work?

A
  • OpenFlow controller manipulates the flow tables on the switches.
  • If an entry matches perform that action
  • Otherwise forward to OpenFlow controller
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the structure of a P4 program?

A
  • Header: Structure that defines the specific packet header bits
  • Parser: State machine, which defines how packet headers are extracted
  • Match-Action Pipeline:
    – Action: defines actions to apply (e.g. ip4_forward())
    – Table: defines what actions to apply if certain field matches
    — Match types: Longest prefix match, exact, ternary, range
    – Control: defines control flow (which tables to use in which order)
  • Deparser: Put packet back together
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the motivation for SDN and NFV?

A

NFV: Middleboxes are..
- Expensive
- Inflexible (service deployment takes long)
- Time consuming and error-prone
SDN: Traditional router offer limited functionality and no modularity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly