Lesson 8: SDN 2 Flashcards

1
Q

Describe the three perspectives of the SDN landscape

A
  1. A plane oriented view: consists of the 3 planes: management plane, control plane and the data plane
  2. SDN Layer perspective: network applications, controller layer and the infrastructure layer
  3. System design perspective: network applications, network operating systems and hypervisors, and the network elements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the responsibility of each layer in the SDN layer perspective.

A

From the top down:

  1. Network Applications: functionalities that implement control plane logic and translate to commands in the data plane. eg. routing, load balancing, security enforcement
  2. Network Programming Languages: high level PL enabling better abstractions than lower level ones eg. pyretic, frenetic
  3. Language-based virtualization: some kind of runtime virtualization for the languages enabling modularity and different levels of abstraction
  4. Northbound interfaces: the software ecosystem enabling communication between the NA and the controller layers. eg. NOX, Floodlight
  5. Network operating systems: provides abstractions, essential services and common APIs to developers. eg. OpenDayLight, Onix
  6. Network virtualization: provides support for arbitrary network topologies and addressing schemes, similar to the computing layer. eg. VxLAN, FlowVisor
  7. Southbound interfaces: interfaces acting as connecting bridges between control and forwarding elements. eg. OpenFlow, OpenState
  8. Infrastructure: networking equipments such as routers, switches and other middlebox hardware. These now merely do forwarding tasks and all the complex logic is in the other layers. eg. SwitchLight, OpenvSwitch
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe a pipeline of flow tables in OpenFlow.

A
  • a matching rule
  • actions to be executed on matching packets
  • counters that keep statistics of matching packets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What’s the main purpose of southbound interfaces?

A

Provide a communication channel between the control and the data planes.

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

What are three information sources provided by the OpenFlow protocol?

A
  1. event-based messages that are sent by forwarding devices to the controller when there is a link or port change
  2. flow statistics are generated by forwarding devices and collected by the controller
  3. packet messages are sent by forwarding devices to the controller when they do not know what to do with a new incoming flow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the core functions of an SDN controller?

A

topology, statistics, notifications, device management, shortest path forwarding and security mechanisms

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

What are the differences between centralized and distributed architectures of SDN controllers?

A

centralized: single entity that manages all the forwarding devices
distributed: a centralized cluster of nodes or physically distributed set of elements manages the forwarding devices

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

When would a distributed controller be preferred to a centralized controller?

A

When scaling and fault tolerance is highly desirable

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

Describe the purpose of each component of ONOS (Open Networking Operating System) is a distributed SDN control platform.

A
  • network view: management and sharing of state across instances. It’s built by using the network topology and state information that is discovered by each instance. Consists of a graph database and a distributed key-value store
  • blueprints graph API: applications interact with the network
  • zookeeper: maintains the mastership between the switch and the controller
  • of-manager: floodlight → manages the network elements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does ONOS achieve fault tolerance?

A

ONOS achieves this by redistributing the work of a failed instance to the other remaining instances. Each ONOS instance acts as a master for a subset of switches. Upon failure of an instance, an election is held on a consensus basis to choose a master for each of the switches that were controlled by that failed instance. For each switch, a master is selected among the remaining instances with which the switch had established a connection. At the end of election for all switches, each switch would have at most one new master instance

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

What is P4?

A

Programming protocol-independent packet processors. A language developed to offer the programmability of the data plane.

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

What are the primary goals of P4?

A
  1. reconfigurability: the way parsing and processing of packets take place in the switches should be modifiable by the controller
  2. protocol independence: to enable the switches to be independent of any particular protocol
  3. target independence: the packet processing programs should be programmed independent of the underlying target devices. The generalized programs written in P4 should be converted into target-dependent programs by a compiler which are then used to configure the switch.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the two main operations of P4 forwarding model?

A
  1. Configure: sets of operations used to program the parser
  2. Populate: decide the policies to be applied to the packets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the applications of SDN? Provide examples of each application.

A
  1. Traffic engineering: can provide features such as load balancing, network resource optimization etc. eg. ElasticTree
  2. Mobility and wireless: SDN enables the deployment and management of various wireless networks easier through a variety of features such as virtual access points, sharing of wireless infrastructure. eg. OpenRadio
  3. Measurement and monitoring: OpenSketch, OpenSamle
  4. Security and dependability: SDNs can impose security policies on the entry point to the network. DDos detection
  5. Data center networking: live migration of networks, troubleshooting, real-time monitoring of networks etc. LIME
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which BGP limitations can be addressed by using SDN?

A
  1. Routing only based on destination IP prefix - SDNs offer more matching header fields
  2. Networks have little control over the end-end paths- SDN can be used to define paths
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What’s the purpose of SDX?

A
  1. Application specific peering- custom rules that can be installed for specific applications such as high bandwidth video apps like youtube and netflix
  2. Traffic engineering- controlling inbound traffic based on source IP or port numbers by setting forwarding rules
  3. Traffic load balancing- the destination IP address can be rewritten based on any field in the packet header to balance the load
  4. Traffic redirection through middleboxes- targeted subsets of traffic can be redirected to middleboxes
17
Q

Describe the SDX architecture.

A

Each participating AS programs its outbound and inbound policies using its own SDN against its virtual switch in the SDX, as if they are they only SDN in the exchange. The SDX is responsible for combining all the rules from all the participating ASes into a single policy for the physical switch.

18
Q

What are the applications of SDX in the domain of wide-area traffic delivery?

A
  1. Application specific peering
  2. Inbound traffic engineering: can act as filter (firewall maybe?)
  3. Wide-area server load balancing: as SDN can modify packet headers, it can load balance at the exchange by modifying the destination header
  4. Redirection through middleboxes