Software Defined Networks Flashcards

1
Q

What is the management plane?

A

Allows the admin to configure other planes. It tunes the parameters of the underlying algorithms

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

What is the control plane?

A

It has rules which frame should go where.

creates and provides lookup tables for the data plane.

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

What is the data plane?

A

Also called forwarding plane.

Uses the lookup tables to forward frames.

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

What problems do exist with the standard approach consisting of mgmt, ctrl & data plane?

A
  • hardware/chip producer lock-in
  • depends on vendor implementation (proprietary)
  • slow updates
  • bad interoperability of vendors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a SDN?

A

It provides an abstraction from the physical network. It has one central control plane which manages data planes of all switches.

In SDNs, every box is considered a switch - (router/firewall/switch) distinciton not necessary since functionality is in software.

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

What are the advantages of SDNs?

A
  • Central view of network (“one big switch”)
  • central configuration (the software defines it for all hardware nodes)
  • no complex protocols (like spanning tree) are not necessary
  • less complexity in ctrl plane
  • simple algos like Dijkstra can be used
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is openflow?

A

It is a protocol upon TCP/SSL that is spoken between ctrl plane and fwd plane.

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

Describe openFlows match + action principle

A

(A bit like iptables).
1 Match (IP/VLAN ID/ETH type)
2 Fwd/Drop/Encapsulate+send/Header rewrite
3 Counters (bytes+packets)

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

Explain this command:

ovs-ofctl add-flow 2 priority=0,actions=controller

A
ovs-ofctl: cli
add-flow: add OF flow (rule)
2: dst of OF flow
priority=0: lowest prio
actions=controller: send maching packets to controller
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Where is openflow used in practice?

A

Mostly on software switches (VMs).
HW is mostly proprietary.
Supports only limited number of protocols (additons would have to be standartized).

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

Is openflow a SDN?

A

No, it enables SDN deployment by allowing programming the ctl plane and modifying the data plane.

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

What is NFV and what is the difference to SDN?

A

NetworkFunctionVirt is a (virtualized) building block performing network tasks instead of specialized hardware.

SDN: dynamically control network
NFV: manage virt of resources for provisioning network functions and composition to higher-layer network services

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

Describe the 3 NFV architectures

A

Traditional: 1 VM/ NF
+strong isolation, trad OS sockets
-high load on vswitch

Non-virt NFC: all functions on host os; allows direct access (e.g. via dpdk)
+no cost for vswitch
-NF framework required

Hybrid/Virt: one VM for entire NFC
+lower load on vSwitch
-NF framework required

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

Distinguish the 3 NFV architectures in perspective of performance, isolation & chaining interface

A

Trad: Perf: + Iso: +++ iface: os sock
Virt: Perf: ++ Iso: ++ iface: Framew

Non-Virt: Perf: +++ Iso: + iface: Framew

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

What is P4?

A

P4 is a domain specific programming language for data plane devices. This allows programming of switches for new protocols

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

P4 vs OpenFlow?

A

Both solve tasks on separate planes. P4 can be used to implement a OpenFlow capable application for switches.

17
Q

What benefits does programming the data plane offer?

A
Control & customization
Reliability
Efficiency
Update
Telemetry
Exclusivity (independent to chip vendor)
Rapid prototyping
Fast Development Cycles
18
Q

What challenges does programming the data plane offer?

A

Performance: huge amount of data
Flexibility: Implementation of various protocols
Hardware independence: Keeping high-level perspective

19
Q

Which platforms does P4 support?

A

Software-based solutions (DPDK)
NPUs - network PUs
FPGAs
P4-Specific ASICs

20
Q

Describe the P4 model architecture

A

parser (describes supported headers and parses them)

  • > Checksum verify/Ingress match action
  • > Traffic manager
  • > Checksum update/Egress match action
  • > Deparser
21
Q

What is the PSA?

A

P4 Portable Switchting Architecture

Reference architecture for switches. Includes:

  • Metadata def
  • hash (CRC) & checksums
  • Counters
  • register
  • random num generators
22
Q

What 3 predefined states exist in P4 parsers?

A

start, accept and reject

programmers may add additional states