[OpenStack Day in Korea 2015] Track 1-6 - ę°ëźíęł ě¤ě ě´ęľŹěë, ě¸íëźě ě¤íěě¤ëĽź ěŹëŚŹë¤. ꡸ëě ëł´ě´...OpenStack Korea Community
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Â
OpenStack Integration with OpenContrail and OpenDaylight
1. The Pain, the Gain
and the Lessons Learned
installation > integration > configuration > walkthrough
2. Agenda
⢠General
⢠Introductions and Credits
⢠What is SDN
⢠Benefits of SDN
⢠Popular SDN Controllers
⢠Industry Trends
⢠Lab Deployment Demo
3. General
What to Expect:
This is a tutorial-style presentation for beginners
No focus on specific features of any SDN Controller
Focus on integration with DevStack
Assumptions:
Basic understanding of OpenStack
Out of scope:
Vendor specifics
Protocol details (we wonât go into OpenFlow and other protocols)
Avoid discussions about why SDN or which controller is the best
Disclaimer:
We work for Ericsson but we are here as enthusiastic members of
OpenStack community and die-hard believers of development and
collaboration in and via open source
4. Konstantin Komaristy
Syed Moneeb Javed
Special thanks to:
Tim Irnich and Francois Lemarchand of Ericsson,
who have much more subject knowledge
Introductions and Credits
5. What is SDN
The Open Networking Forum (ONF) defines SDN as
follows:
âSoftware-Defined Networking (SDN) is an emerging
architecture that is dynamic, manageable, cost-
effective, adaptable, making it ideal for the high-
bandwidth, dynamic nature of today's applications. This
architecture decouples the network control and
forwarding functions enabling the network control to
become directly programmable and the underlying
infrastructure to be abstracted for applications and
network services. The OpenFlow protocol is a foundational
element for building SDN solutions.â
6. Traditional Networks
⢠Hardware-oriented
⢠Static in nature
⢠Configured manually
⢠Distributed control plane lacks scale
⢠Management plane can use proprietary
implementations
8. Benefits of SDN
⢠Centralized management and control planes
⢠Control and data plane can scale
independently
⢠Improved interoperability
⢠Programmability of network devices
⢠Ability to use commodity hardware
⢠Facilitate migration to software-based
networking
⢠Enables adoption of scalable and dynamic
applications
9. Popular SDN Controllers
ďŹ There are many SDN Controllers
https://www.sdxcentral.com/sdn/definitions/sdn-controllers/sdn-
controllers-comprehensive-list/
ďŹ One very familiar to us is Neutron
ďŹ Today we discuss:
o OpenContrail
o OpenDaylight
10. Our Mini Lab
Intel NUC5i5RYK
4 CPU, 16 GB RAM, 250 GB M.2 SSD
Ubuntu 17.04 Server 64-bit
basic system tools
virtualization host
ssh server
x11-apps
virt-manager
edit /etc/default/grub
GRUB_CMDLINE_LINUX="intel_iommu=on"
update-grub
reboot
cat /sys/module/kvm_intel/parameters/nested
Y
modinfo kvm_intel | grep nested
parm: nested:bool
27. Installation
edit local.conf as described here:
https://github.com/openstack/networking-odl/blob/master/devstack/README.rst
set to match:
HOST_IP=192.168.1.65
FLAT_INTERFACE=ens3
ODL_PROVIDER_MAPPINGS=${ODL_PROVIDER_MAPPINGS:-br-ex:ens8}
FLOATING_RANGE=192.168.1.96/27
PUBLIC_NETWORK_GATEWAY=192.168.1.65
pay attention to:
ODL_RELEASE=boron-0.5.3-SR3
ODL_NETVIRT_KARAF_FEATURE=odl-neutron-service,odl-restconf-all
ODL_NETVIRT_KARAF_FEATURE+=,odl-aaa-authn,odl-dlux-all
ODL_NETVIRT_KARAF_FEATURE+=,odl-mdsal-apidocs,odl-l2switch-all
ODL_NETVIRT_KARAF_FEATURE+=,odl-netvirt-openstack
ODL_NETVIRT_KARAF_FEATURE+=,odl-neutron-logger
ODL_BOOT_WAIT_URL=restconf/operational/network-topology:network-topology/
enable_service (one per line): dstat g-api g-reg key mysql n-api n-cond n-cpu n-crt n-novnc
n-sch placement-api placement-client q-dhcp q-meta q-svc rabbit tempest
disable_service (one per line): c-api c-vol c-sch
28. Installation
./stack.sh # 20 min
=========================
DevStack Component Timing
=========================
Total runtime 1187
run_process 31
test_with_retry 112
apt-get-update 3
wait_for_service 31
pip_install 167
apt-get 12
=========================
This is your host IP address: 192.168.1.65
Horizon is now available at http://192.168.1.65/dashboard
Keystone is serving at http://192.168.1.65/identity/
The default users are: admin and demo
The password: nomoresecret
DLUX is now available at http://192.168.1.65:8181/index.html
The user: admin
The password: admin
34. Our Mini Lab
sudo virsh list --all
Id Name State
---------------------------------------------------------
11 odl running
13 devstack_opencontrail running
38. Other Useful info
⢠Meet the experts at OpenStack Summit
⢠ODL HA (Clustering):
http://docs.opendaylight.org/en/latest/getting-started-
guide/common-features/clustering.html
39. Errors running ./stack.sh
ďŹ run 'apt-get -f install' to correct unmet dependencies
ďŹ AttributeError: 'module' object has no attribute '__version__'
ď Edit line 29 in the file /usr/local/lib/python2.7/dist-
packages/openstack/session.py
ď sudo vi /usr/local/lib/python2.7/dist-packages/openstack/session.py
ď From:
ď DEFAULT_USER_AGENT = "openstacksdk/%s" %
openstack.__version__
ď To:
ď DEFAULT_USER_AGENT = "openstacksdk/%s" % openstack
ď And start over:
ď ./unstack.sh
ď ./stack.sh