sdn module2
sdn module2
12. Write about the OpenFlow logical network device and its significance
in SDN.
There are two requirements must be met to implement SDN architecture
i)A common logical architecture in all switches ,routers and other network
devices which are managed by SDN controller
ii)A standard, secure protocol is needed between the SDN controller and
network device
13. List the four protocols used in the data plane of SDN
OpenFlow, FORCES (Forwarding and Control Element Separation), P4
(Programming Protocol-Independent Packet Processors) and NETCONF
(Network Configuration Protocol)
14. Write the primary functions of the control plane in SDN.
Shortest path forwarding, notification manager, Security mechanism,
topology manager, statistics manager, Device manager
16. What is the use of multiple tables in the flow processing of the SDN
switch?
-Allow the transmission of nesting flows
-parallel pipeline concept
-the single flow can be splitted into sub flows that will be executed using
parallel pipeline concept
-multiple flows from same source into same distinction in case flows ,
calculate least cost route from source to destination then flows put them
together.
17. Write about the role of "Southbound Interface" APIs with an example.
The Southbound Interface plays a crucial role in the SDN architecture by
allowing the SDN controller to have centralized control over the underlying
network infrastructure. It abstracts the underlying hardware details,
providing a standardized way for the controller to communicate with diverse
network devices from different vendors.
Example
OpenFlow : OpenFlow is a standardized communication protocol that
allows the SDN controller to interact with the forwarding elements, such as
switches, in the data plane.
20. Write about the benefits of the REST architectural style in SDN.
- high Scalability
- high Reliability
- high Privacy in security
- Incremental deployment
15 marks questions
Openflow:
It provides
- Abstraction layer which can give flexibility to access APIs
- Controller-to-Switch Communication
- Flow Table Management
- Packet-In and Packet-Out Messages
- Dynamic Control
open switch database management protocol(OVSDB)
- It is mainly used for implementing virtual switches and
interoperable hypervisor concepts
- It uses self openflow for farwarding the message in the control
plane both physical and virtual ports
Forwarding and control element separation (FORCES):
-developed by IETF
- standardized interface b/w control plane and data plane for internet
protocol routers
Protocol oblivious forwarding (POF)
- It is the extended version of openflow
- It makes the logic is very generic for forwarding the packets and
simplifies the logic
1. Application Layer:
• The application layer contains SDN applications and services
that leverage the programmability and openness of the SDN
architecture. These applications can be created by network
operators, third-party developers, or the SDN controller vendor.
Examples of applications include network monitoring, load
balancing, security services, and traffic engineering.
2. Northbound APIs (Application Programming Interfaces):
• Northbound APIs facilitate communication between SDN
applications and the SDN controller. These APIs allow
applications to request network services, query network state
information, and instruct the controller to modify network
behavior based on the application's requirements. Examples of
Northbound APIs include RESTful APIs, RESTCONF, and
gRPC.
3. SDN Controller:
• The SDN controller is the central component responsible for
making global decisions about the network. It acts as the brain
of the SDN architecture, providing a unified view of the entire
network, maintaining the network state, and managing
communication with SDN switches. Popular SDN controllers
include OpenDaylight, ONOS (Open Network Operating
System), and Ryu.
4. Southbound APIs:
• Southbound APIs enable communication between the SDN
controller and network devices in the data plane. These APIs
allow the controller to instruct switches and routers on how to
forward packets based on the controller's decisions. The most
widely used Southbound API is OpenFlow, although others,
such as ForCES (Forwarding and Control Element Separation),
may be used.
5. Network Devices (Switches and Routers):
• Network devices in the data plane, such as switches and routers,
are responsible for forwarding packets based on the instructions
received from the SDN controller. These devices typically
include a flow table that the controller populates with rules
specifying how to handle different types of traffic flows.
6. Flow Tables:
• Flow tables are part of the data plane and reside in SDN
switches. They store flow entries that define how specific types
of packets should be processed and forwarded. The entries
include match criteria and actions to be taken, such as
forwarding to a specific port or modifying packet headers. The
SDN controller programs these flow tables.
7. OpenFlow Protocol:
• OpenFlow is a widely used Southbound protocol that defines
the communication between the SDN controller and network
devices (switches). It allows the controller to dynamically
manage flow tables, instruct switches on packet forwarding
decisions, and collect information about network state.
8. Network Operating System (NOS):
• Some SDN architectures include a Network Operating System,
acting as an intermediary layer between the controller and
network devices. The NOS abstracts device-specific details,
providing a standardized interface for the controller to interact
with different types of network hardware.
9. Security Services:
• Security services may include mechanisms for authentication,
authorization, and encryption to secure communication between
SDN components. Security is crucial to prevent unauthorized
access to the controller, protect sensitive network information,
and ensure the integrity of SDN operations.
12. Explain the key functions of the data plane network device in SDN
and its architecture.
13. Discuss the role of the flow table, group table, and meter table in
OpenFlow and their structure.
1. Flow Table:
• The flow table is a key component in OpenFlow-enabled
switches and is responsible for making decisions about how to
handle different types of network flows. Each flow table entry
consists of match fields, priority, and instructions for actions
to be taken when a packet matches the specified criteria. The
match fields typically include information from the packet
header, such as source and destination addresses, protocol
types, and port numbers.
• Roles:
• Packet Matching: The flow table is used for matching
incoming packets against predefined rules based on their
header information.
• Action Execution: It specifies the actions to be
executed for packets matching a particular flow entry,
such as forwarding the packet to a specific port,
modifying headers, or dropping the packet.
• Prioritization: Entries in the flow table have priorities,
allowing for the implementation of quality-of-service
(QoS) policies and the prioritization of certain types of
traffic.
2. Group Table:
• The group table in OpenFlow is designed to handle group-
based actions. It allows the definition of groups of actions that
can be applied to packets collectively. Group actions can
include actions such as load balancing, multicast forwarding,
and specifying multiple output ports for a packet.
• Roles:
• Group Actions: It defines groups of actions that can be
executed collectively for a set of packets. Group actions
are often used for load balancing, redundancy, or
multicast scenarios.
• Reducing Redundancy: Instead of specifying
individual actions for each flow entry, a group table
entry can be referenced by multiple flow entries,
reducing redundancy in rule definitions.
• Modularity: Group tables enhance the modularity of
OpenFlow configurations by allowing the reuse of
common sets of actions for different flows.
3. Meter Table:
• The meter table in OpenFlow is responsible for implementing
metering and QoS functionalities. It enables the measurement
and regulation of the rate of traffic flowing through the switch,
allowing for the enforcement of bandwidth constraints, traffic
shaping, and other QoS policies.
• Roles:
• Traffic Metering: The meter table allows the switch to
measure the rate of incoming packets and enforce
policies based on defined metering rules.
• Traffic Policing: It supports the enforcement of traffic
rate limits, ensuring that the network adheres to
predefined QoS parameters.
• Congestion Management: The meter table is crucial for
managing network congestion by controlling the flow
rates of different types of traffic.
**** The structure of flow tables and group tables is given in class
notes. **
**** Handwritten notes are shared in the Google Classroom
*******