Professional Documents
Culture Documents
Akshitaminiproject
Akshitaminiproject
A Report Submitted
in Partial Fulfillment of the Requirements
for the Degree of
Bachelor of Technology
in
Information Technology
by
Vaibhav Gaiha(20158083)
Naguboyina Sravya(20158088)
Subham Kumar(20158082)
Rajat Agrawal(20158037)
Akshita Singh(20158002)
to the
COMPUTER SCIENCE AND ENGINEERING DEPARTMENT
MOTILAL NEHRU NATIONAL INSTITUTE OF TECHNOLOGY
ALLAHABAD
April, 2018
UNDERTAKING
April, 2018
Allahabad
Vaibhav Gaiha(20158083)
Naguboyina
Sravya(20158088)
Subham Kumar(20158082)
Rajat Agrawal(20158037)
Akshita Singh(20158002)
ii
CERTIFICATE
April, 2018
iii
Abstract
iv
Acknowledgements
We feel to acknowledge deep sense of gratitude to our guide Dr. Shashwati Banerjea,
whose valuable guidance and kind supervision given to us throughout the project;
shaped the present work as its show. Her advise and critics are source of innovative
ideas, inspiration and causes behind the success of this dissertation. The confidence
shown on us by her was the biggest source of inspiration. We would also like to
thank Mr. Shabir Ali for encouraging us. It was because of his help and support
this project has been duly completed.
We perceive this opportunity as a big milestone in our career development. We
will strive to use the gained skills and knowledge in the best way possible and we
will continue to work on their improvement. We hope to continue cooperation with
all of you in the future.
v
Contents
Abstract iv
Acknowledgements v
1 Introduction 1
1.1 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2.1 Bandwidth Management . . . . . . . . . . . . . . . . . . . . . 3
1.2.2 Improved security . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.3 Creating public safety networks . . . . . . . . . . . . . . . . . 3
1.2.4 Creating smart cities and university campuses . . . . . . . . . 3
1.3 Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3.1 Network failure in cases of controlling point failure . . . . . . 4
1.3.2 Enormous change in the network architecture and problems
in the implementation . . . . . . . . . . . . . . . . . . . . . . 4
1.3.3 Congestion within the Shared Medium . . . . . . . . . . . . . 4
1.3.4 Massive heterogeneous data processing . . . . . . . . . . . . . 5
2 Related Work 6
2.1 SDN as load balancer . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 FlowScale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 FloodLight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4 Indigo v-1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
vi
3 Proposed Work 8
3.1 Creating the topology . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Connection of mesh points . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3 Connecting the topology with SDN controller and analysis . . . . . . 10
References 16
vii
Chapter 1
Introduction
In this era of technological advancement, its hard to respond to threats we cant see,
hear or touch, such as pollution of air and water, or toxic chemicals in products
we buy. Sophisticated, inexpensive sensors are making the invisible visible, and
have the potential to help solve tough environmental challenges. Sensors have been
proven a boon to mankind starting from illuminating the cause of acid rain back
in 1980s to the mapping of air pollution with mobile sensors in 2017. There are
countless other examples of sensor technology in the works that can help solve a
host of environmental challenges.
As the cloud continues to expand, it’s taken a lot of forms. One of the new ap-
plications that will be closely related to cloud technologies is the Internet of Things.
In the world of Internet of Things, sensors are the backbone of the interface between
the user and the multitudes of devices that surround us, such as smartphones, wear-
ables, robots, and drones. IoT is about data collection and processing from a much
larger range of simple devices or sensors that communicate specific data to a cen-
tralized or semi-centralized collection point, and can receive simple commands back
from that central source.
The idea of internet of things (IoT) was developed in parallel to WSNs(Wireless
Sensor Networks). A WSN can generally be described as a network of nodes that
cooperatively sense and may control the environment, enabling interaction between
persons or computers and the surrounding environment. The development of WSNs
1
was inspired by military applications, notably surveillance in conflict zones. Today,
they consist of distributed independent devices that use sensors to monitor the
physical conditions with their applications extended to industrial infrastructure,
automation, health, traffic, and many consumer areas.
1.2 Applications
There are several applications of wireless mesh over SDN.It forms the network in-
frastructure for WSNs over which application are being developed. The applications
comprise of:
2
1.2.1 Bandwidth Management
Through SDN applications, operators can use bandwidth management to ensure end
users receive optimal browsing and online video watching experiences. These SDN
applications can monitor the bandwidth requirements then provision user flows to
match the bandwidth and latency requirements of the Layer 7 application. This
application-aware approach to bandwidth management will ensure a better user
experience through better video playback with zero buffering.
3
1.3 Challenges
The SDN is a new concept and is still under development.The resources are not fully
available and multiple challenges lie in front.Some of teh challenges that need to be
confronted are:
4
1.3.4 Massive heterogeneous data processing
With the large-scale application of WSN technology in the information and intelli-
gence process of infrastructures[3], the amount of data produced by WSN sensors
will grow from todays EB level (1 018 bytes) to ZB (1 021 bytes) level. According
to IDC statistics and forecasts, in 2009, the global data volume was 0.8 ZB (1 021
bytes), and will be 35 ZB by 2020. As a major part of the data,the amount of sens-
ing data from the physical world is 30 times more than that from human society.
In this sense, the storage and transmission as well as timely treatment of mass data
will be an unprecedented challenge.
5
Chapter 2
Related Work
Today, smart grid, smart homes, smart water networks, intelligent transportation,
are infrastructure systems that connect our world more than we ever thought pos-
sible.
2.2 FlowScale
This is a successful application based on SDN. FlowScale is a project to divide and
distribute traffic over multiple physical switch ports. It replicates the functionality in
load balancing appliances but using a Top of Rack (ToR) switch to distribute traffic.
Using software to handle the control plane specification but switch hardware to do
6
the forwarding gives both great flexibility and allows for low cost, high throughput
deployments.
2.3 FloodLight
Floodlight is not just an OpenFlow controller. Floodlight is an OpenFlow con-
troller (the ”Floodlight Controller”) AND a collection of applications built on top
the Floodlight Controller.It realizes a set of common functionalities to control and
inquire an OpenFlow network, while applications on top of it realize different fea-
tures to solve different user needs over the network. This application has been used
in our project for implementing it.
7
Chapter 3
Proposed Work
A mesh network is a local network topology in which the infrastructure nodes (i.e.
bridges, switches and other infrastructure devices) connect directly, dynamically
and non-hierarchically to as many other nodes as possible and cooperate with one
another to efficiently route data from/to clients. This lack of dependency on one
node allows for every node to participate in the relay of information. Mesh networks
dynamically self-organize and self-configure, which can reduce installation overhead.
The ability to self-configure enables dynamic distribution of workloads, particularly
in the event that a few nodes should fail. This in turn contributes to fault-tolerance
and reduced maintenance costs.
Floodlight Controller is an SDN Controller offered by Big Switch Networks that
works with the OpenFlow protocol to orchestrate traffic flows in a software-defined
networking (SDN) environment. OpenFlow is one of the first and most widely used
SDN standards; it defines the open communications protocol in an SDN environment
that allows the SDN Controller (brains of the network) to speak to the forwarding
plane (switches, routers, etc.) to make changes to the network.
The SDN Controller is responsible for maintaining all of the network rules and
providing the necessary instructions to the underlying infrastructure on how traffic
should be handled. This enables businesses to better adapt to their changing needs
and have better control over their networks. The Floodlight Controller can be ad-
vantageous for developers, because it offers them the ability to easily adapt software
8
and develop applications and is written in Java. Included are representational state
transfer application program interfaces (REST APIs) that make it easier to program
interface with the product, and the Floodlight website offers coding examples that
aid developers in building the product.
We aimed to create the ad-hoc network that includes multiple clusters and
topologies that are interconnected in the form of a mesh network.This will from
a test bed for the SDN applications that are intended to be developed in rhe fu-
ture. We , thus create a virtual network using an emulator that also decreases the
required infrastructure for the development of future technologies. Then we control
and modify the network using a OpenFlow controller(FloodLight) using which we
can add flows and routes in the network. Thus, we intended to create the complete
setup based on which the IoT and SDN applications may be implemented.
9
3.2 Connection of mesh points
The topology were created on separate virtual boxes on the different systems. These
topology formed clusters and in order to connect these clusters in the form of the
mesh, we needed to connect these virtual boxes to each other in the mesh topology.
IN order to do so, we used mesh connection capable interfaces and used them to
make mesh points.
10
11
Chapter 4
4.1.1 Mininet-Wifi
Mininet wifi is an emulator that helps us to create networks and create virtual
topologies.Hence, in order to create a wireless adhoc mesh network topology we are
using Mininet-Wifi. It is a fork of the Mininet SDN network emulator. The Mininet-
WiFi developers extended the functionality of Mininet by adding virtualized WiFi
stations and access points based on the standard Linux wireless drivers and the
80211 hwsim wireless simulation driver. They also added classes to support the
addition of these wireless devices in a Mininet network scenario and to emulate the
attributes of a mobile station such as position and movement relative to the access
points.This also allows us to create mobile devices i.e. nodes that help us to make
scenarios more realistic as the nodes may be mobile in the real implementations.
12
networking (SDN) environment. OpenFlow is one of the first and most widely used
SDN standards; it defines the open communications protocol in an SDN environment
that allows the SDN Controller (brains of the network) to speak to the forwarding
plane (switches, routers, etc.) to make changes to the network. The SDN Controller
is responsible for maintaining all of the network rules and providing the necessary
instructions to the underlying infrastructure on how traffic should be handled. This
enables businesses to better adapt to their changing needs and have better control
over their networks.
4.2.1 Topology
Here, the mesh topology has been created but they may be changed as per the
requirements. However, the mesh networks are used for the application in IoT and
will be useful in those. The topology shows how the nodes un the network are
created. This will form the test bed for multiple applications that will be created.
13
Chapter 5
Hence, we successfully created the desired mesh topology in an ad-hoc network and
achieved the properties of SDN by connecting and managing the network by the
controller.This work will surely help in the future advancements and developments
in the fields of SDN and IoT.
14
need to be brought closer to the edge of the network, but this increases network
complexity[4]. SDN makes it possible to overcome network complexity and improve
latency by taking advantage of the network management tools provided by SDN to
optimize network. Where manually configuring hardware devices on a network will
be costly , an SDN can be used to adapt to network changes far more quickly.
15
References
[1] Faaiz S. Fizi, Shavan Askar, ”A novel load balancing algorithm for software
defined network based datacenters”, Broadband Communications for Next Gener-
ation Networks and Multimedia Applications (CoBCom) International Conference
on, pp. 1-6, 2016
[2] Fabian Kurtz, Christian Wietfeld, ”Advanced controller resiliency in software-
defined networking enabled critical infrastructure communications”, Information
and Communication Technology Convergence (ICTC) 2017 International Confer-
ence on, pp. 673-678, 2017
[3] Zhiming Ding, Limin Guo, Qi Yang, ”RDB-KV: A Cloud Database Frame-
work for Managing Massive Heterogeneous Sensor Stream Data”, Intelligent System
Design and Engineering Application (ISDEA) 2012 Second International Conference
on, pp. 653-656, 2012
[4] Ahmet Cihat Baktir, Atay Ozgovde, Cem Ersoy, ”How Can Edge Computing
Benefit From Software-Defined Networking: A Survey Use Cases and Future Direc-
tions”, Communications Surveys Tutorials IEEE, vol. 19, pp. 2359-2391, 2017,
ISSN 1553-877X.
16