P4 Flashcards

1
Q

Why were switches itself originally not programmable (in SDNs)?

A

In the past, programable switches were very slow. The speed difference in the modern age is now very small.

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

How high is the visibility of events at the data plane in SDNs?

A

Low

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

How high is the visibility of events at the data plane in P4?

A

high

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

Is P4 runtime reprogrammable?

A

yes

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

What are the advantages of a programmable DP?

A
  • Flexible data plane (DP)
    – Optimizable to specific network
    – Quick updates
  • Hardware independent
  • Potentially more robust
    – Only add the features you need
  • Improved telemetry
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the disadvantages of programmable DP?

A
  • Robustness/security
    – Introduce own bugs/security flaws in data plane
  • More responsibilities for network operator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which component in P4 is responsible for QoS and telemetry?

A

Egress controller

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

When is the checksum verified in P4?

A

After the parser

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

In P4, which component populates the match tables?

A

The controller

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

In P4, Which component defines the possible actions?

A

ingress & egress

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

Can counters be read from the data plane?

A

No, only the control plane

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