Mais conteúdo relacionado Semelhante a OpenStack with OpenDaylight (20) Mais de Vikram G Hosakote (11) OpenStack with OpenDaylight2. DevNet Workshop –
OpenStack with OpenDaylight
Charles Eckel, Open Source Developer Evangelist
Vikram Hosakote, Software Engineer
DEVNET-2041
3. • Installing OpenStack
• Installing OpenDaylight
• Configuring OpenStack to use OpenDaylight
• Verifying the entire system works
• Troubleshooting and debugging
• Q&A
Agenda
5. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Overview
• Cloud computing platform for
public/private clouds
• Abstracts data centers into
pools of resources
• Provides management layer
for efficient, automated
allocation of resources
• Empowers operators, admins,
users via self service portals
• Provides APIs to develop
cloud-aware applications
DEVNET-2041 5
6. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Extensible Software Architecture
Applications / Services
Physical and Virtualized Infrastructure
OpenStack Service APIs, SDK, CLI
Infrastructure Plugins
Compute
Service
(Nova)
Storage
Services
(Cinder
and Swift)
Network
Service
(Neutron)
Many more
Services
Dashboard
(Horizon)
Identity
(Keystone)
DEVNET-2041 6
7. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Create private network for your VMs
• Create router to connect to shared
public network
• Hover over the router icon to see
additional info
• Router has been assigned IP address
10.0.0.1
• Click on the private network to see
additional info
• Assigned address space 10.0.0.0/2
• Gateway IP is that of router (i.e. 10.0.0.1)
Create and Manage
Networks with Neutron
DEVNET-2041 7
9. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
OpenDaylight
9
• Large open source project
within Linux Foundation
• Platform for building
programmable, software-
defined networks (SDN)
• Modular, model driven
controller at core
• Northbound APIs to apps (e.g.
OpenStack)
• Southbound interfaces to
network devices (e.g. OVS)
10. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 10DEVNET-2041
Service Abstraction Layer/Core
OpenFlow Enabled
Devices
Open vSwitches
Additional Virtual &
Physical Devices
Data Plane Elements
(Virtual Switches, Physical
Device Interfaces)
Controller Platform
Services/Applications
OVSDB NETCONF PCMM
/COPS
SNBILISP BGP PCEP SNMPSXP
Southbound Interfaces
&
Protocol Plugins
OpenFlow USCCAPWAP OPFLEX
Base Network
Functions
OpenFlow Stats Manager
OpenFlow Switch Manager
OpenFlow Forwarding Rules Mgr
L2 Switch
Host Tracker
Topology Processing
OpenDaylight APIs REST/RESTCONF/NETCONF/AMQP
Data Store (Config & Operational) Messaging (Notifications / RPCs)
LACP
AAA AuthN Filter
Network
Abstractions
(Policy/Intent)ALTO Protocol Manager
Network Intent Composition
Group Based Policy Service
Fabric as a Service
NEMO
Graphical User Interface Application and Toolkit (DLUX / NeXT UI)
IoT
Http/CoAPOF-Config
Enhanced Network Services
AAA
Neutron Northbound
SDN Integration Aggregator
Time Series Data Repository
Service Function Chaining
Virtual Private Network
Virtual Tenant Network Mgr.
Unified Secure Channel Mgr
OVSDB NeutronDev Discovery, ID & Drvr Mgmt
LISP Service
DOCSIS Abstraction
SNMP4SDN
Link Aggregation Ctl Protocol
Controller Shield
User Network Interface Mgr
Centinel – Streaming Data Hdlr NetIDE
Messaging 4Transport
Northbound APIs to
Orchestrators and
Applications
11. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 11DEVNET-2041
12. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 12DEVNET-2041
$ unzip distribution-karaf-0.5.2-Boron-SR2.zip
Archive: distribution-karaf-0.5.2-Boron-SR2.zip
creating: distribution-karaf-0.5.2-Boron-SR2 …
$ cd distribution-karaf-0.5.2-Boron-SR2/
$ ./bin/karaf
karaf: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE …
Listening for transport dt_socket at address: 5005
Apache Karaf starting up. Press Enter to open the shell now...
100% [========================================================================]
Karaf started in 3s. Bundle stats: 64 active, 64 total
________ ________ .__ .__ .__ __
_____ ______ ____ ____ ______ _____ ___.__.| | |__| ____ | |___/ |_
/ | ____ _/ __ / | | __ < | || | | |/ ___| | __
/ | |_> > ___/| | | ` / __ ___ || |_| / /_/ > Y |
_______ / __/ ___ >___| /_______ (____ / ____||____/_____ /|___| /__|
/|__| / / / // /_____/ /
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.
opendaylight-user@root>
14. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Neutron using OVS backend and
VXLAN for tunnels
• Turn off Neutron server and
Neutron’s OVS agents on all hosts
• Clear existing OVS config and set
OpenDaylight to manage switch
• Configure Neutron to use
OpenDaylight’s ML2 driver
• OpenDaylight now creates
network endpoints for instances
and manages traffic for them
• https://wiki.opendaylight.org/view/
OpenStack_and_OpenDaylight
OpenStack Networking via OpenDaylight
DEVNET-2041 14
18. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Open Source Dev Center
https://developer.cisco.com/opensource
•Contributions to open source
•Use in products/solutions
•Community forums, blogs
• https://communities.cisco.com/community
/developer/opensource
•Developer Events
• IETF Hackathons featuring open source
implementations of open standards
Your Source for Open Source at Cisco
DEVNET-2041 18
19. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Key Takeaways
• Neutron provides networking services for OpenStack
• Some OpenStack deployments benefit significantly from
advanced networking
• OpenDaylight can provide advanced networking for OpenStack
DEVNET-2041 19
20. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Pros and Cons
• Pros: Support for all southbound interfaces of OpenDaylight; therefore,
work with wide range of network elements and existing deployments
• Cons: OpenDaylight, like OpenStack, is complex to install and operate,
documentation is not always accurate and up to date
Pros and Cons of using a large, rapidly developing open source project
DEVNET-2041 20
21. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Cisco Spark
Ask Questions, Get Answers, Continue the Experience
Use Cisco Spark to communicate with the Speaker and fellow
participants after the session
Download the Cisco Spark app from iTunes or Google Play
1. Go to the Cisco Live Berlin 2017 Mobile app
2. Find this session
3. Click the Spark button under Speakers in the session description
4. Enter the room, room name = DEVNET-2041
5. Join the conversation!
The Spark Room will be open for 2 weeks after Cisco Live
21DEVNET-2041
22. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Complete Your Online Session Evaluation
Don’t forget: Cisco Live sessions will be available
for viewing on-demand after the event at
CiscoLive.com/Online
• Please complete your Online
Session Evaluations after each
session
• Complete 4 Session Evaluations &
the Overall Conference Evaluation
(available from Thursday) to receive
your Cisco Live T-shirt
• All surveys can be completed via
the Cisco Live Mobile App or the
Communication Stations
DEVNET-2041 22
23. © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Continue Your Education
• Related blogpost
https://communities.cisco.com/community/developer/openstack/blog/2017/02/01
/how-to-deploy-openstack-newton-with-opendaylight-boron-and-open-vswitch
• Related sessions
https://communities.cisco.com/community/developer/blog/2017/01/25/all-things-
open-source-in-berlin
• Become a DevNet Member:
https://developer.cisco.com/site/devnet/overview/index.gsp
• Visit our Open Source Dev Center:
https://developer.cisco.com/site/opensource/
DEVNET-2041 23
Notas do Editor Collection of services that focus on different aspects of a cloud
Dashboard (Horizon) – provides portal for uses to view and interact with their cloud
Core Services for Compute (Nova), Storage (Cinder), and Network (Neutron)
Infrastructure plugins to allow core services to talk to underlying physical/virtual infrastructure – similar to drivers in an operating system
Common set of APIs across all service Large open source project
Focus is Software-Defined Networking (SDN)
Modular, model driven controller at core
Northbound APIs to apps, e.g. to OpenStack neutron
Southbound interfaces to network devices, e.g. OVSDB to OpenvSwitches Software Defined Networking (SDN) Controller
Platform for network aware apps
Northbound APIs to apps (e.g. OpenStack)
Southbound APIs to network devices (e.g. OpenVSwitch) When using OpenDaylight as the Neutron back-end, ODL expects to be the only source of truth for Open vSwitch configuration.
Because of this, it is necessary to remove existing OpenStack and Open vSwitch configurations to give OpenDaylight a clean slate.
Configure Neutron to use OpenDaylight’s ML2 driver