introduction to software defined networking and openstack neutron

34
by Akanksha Agrawal and Sana Khan

Upload: sana-khan

Post on 07-Apr-2017

532 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Introduction to Software Defined Networking and OpenStack Neutron

by Akanksha Agrawal and Sana Khan

Page 2: Introduction to Software Defined Networking and OpenStack Neutron
Page 3: Introduction to Software Defined Networking and OpenStack Neutron

A server is a collection of hardware resources that are accessed by an OS through specialized drivers.

These resources can be:

● CPU processor● RAM (or memory)● Storage● Network Interface Card (NIC)

Page 4: Introduction to Software Defined Networking and OpenStack Neutron

In a virtualized server:

● there is an added layer called the Hypervisor.

● there are multiple isolated VMs running its own operating system and applications.

Page 5: Introduction to Software Defined Networking and OpenStack Neutron

● Underutilization, inefficient usage of servers.

● Server Proliferation.

● Wastage of space, power, high costs of cooling the environment incurred by

the data centers.

Page 6: Introduction to Software Defined Networking and OpenStack Neutron

● Availability

● Virtualization results in a much better disaster recovery capability.

● Fault tolerance

● Ease in Migration

● Flexibility

● Huge decrease in the time it takes to provision new applications.

● Promote standardization.

Page 7: Introduction to Software Defined Networking and OpenStack Neutron

● Virtualization is a methodology of dividing the resources of a computer into

multiple execution environments.

● Virtualization decouples the application and operating system from the server

hardware.

Page 8: Introduction to Software Defined Networking and OpenStack Neutron
Page 9: Introduction to Software Defined Networking and OpenStack Neutron
Page 10: Introduction to Software Defined Networking and OpenStack Neutron

● Application based addressing is based on where that physical server is located.

● The MAC address is associated with the physical server.

Page 11: Introduction to Software Defined Networking and OpenStack Neutron
Page 12: Introduction to Software Defined Networking and OpenStack Neutron
Page 13: Introduction to Software Defined Networking and OpenStack Neutron

● Create logical, virtual networks that are decoupled from the underlying

network hardware.

● Ensure the network can better integrate with and support increasingly virtual

environments.

● Creates a logical software-based view of the networking resources (switches,

routers, etc.)

Page 14: Introduction to Software Defined Networking and OpenStack Neutron

Networking as a Service

Page 15: Introduction to Software Defined Networking and OpenStack Neutron

● Switching

● Routing

● Load Balancing ( LBaaS )

● Firewalling ( FWaaS )

● etc

Page 16: Introduction to Software Defined Networking and OpenStack Neutron

● Network (CRUD)

● Subnet (CRUD)

● Port (CRUD)

Page 17: Introduction to Software Defined Networking and OpenStack Neutron

● neutron net-create neutron subnet-create● neutron net-list neutron subnet-list● neutron net-update neutron subnet-show● neutron net-delete neutron subnet-update

neutron subnet-delete● neutron port-create● neutron port-list● neutron port-show● neutron port-update● neutron port-delete

http://docs.openstack.org/cli-reference/neutron.html

Page 18: Introduction to Software Defined Networking and OpenStack Neutron

1. Create a network.2. Create a subnet and associate it with the network.3. Boot the virtual machine instance and specify the network.4. Nova interfaces with Neutron to create a port on the network.5. Neutron assigns a MAC address and IP address to the newly created port

using attributes defined by the subnet.6. Nova starts the instance.7. The instance sends a DHCP request during boot, at which point, the DHCP

server responds with the IP address corresponding to the MAC address of the instance.

Page 19: Introduction to Software Defined Networking and OpenStack Neutron

The main components are:

● Neutron Server● Plugins● Plugin Agents● Message Queue● Database● DHCP Agent● L3 Agent

Page 20: Introduction to Software Defined Networking and OpenStack Neutron
Page 21: Introduction to Software Defined Networking and OpenStack Neutron

● Neutron receives a request to connect VM to a new network.

Page 22: Introduction to Software Defined Networking and OpenStack Neutron
Page 23: Introduction to Software Defined Networking and OpenStack Neutron

● Local

● Flat

● VLAN

● VXLAN

Page 24: Introduction to Software Defined Networking and OpenStack Neutron
Page 25: Introduction to Software Defined Networking and OpenStack Neutron
Page 26: Introduction to Software Defined Networking and OpenStack Neutron
Page 27: Introduction to Software Defined Networking and OpenStack Neutron
Page 28: Introduction to Software Defined Networking and OpenStack Neutron
Page 29: Introduction to Software Defined Networking and OpenStack Neutron

. . . the Switch/Router has to figure out what to do with the packet.

Switches and Routers have two logical planes of functions:

● Control Plane / Forwarding Plane: the logic that determines how traffic is

handled.

● Data Plane: the actual moving of packets from one network interface to

another.

Page 30: Introduction to Software Defined Networking and OpenStack Neutron

● In case of network changes, each device needs to be configured individually.

● Different vendors have different control plane logic.

Page 31: Introduction to Software Defined Networking and OpenStack Neutron

● Decouple the control plane (software) from the data plane (hardware).

● Provide centralized control and enjoy the benefits of a programmable

network.

● OpenFlow: protocol that allows centralized management to take place.

Page 32: Introduction to Software Defined Networking and OpenStack Neutron
Page 33: Introduction to Software Defined Networking and OpenStack Neutron

● ovs-vsctl command (Configuring OpenvSwitch)

● ovs-ofctl command (Adding flow rules with OpenFlow)

Page 34: Introduction to Software Defined Networking and OpenStack Neutron

● SDN and NFV Simplified: A Visual Guide to Understanding Software Defined

Networks and Network Function Virtualization By: Jim Doherty

● OpenStack Networking Essentials By: James Denton

● Learning OpenStack Networking (Neutron) - Second Edition By: James

Denton