Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning OpenStack Networking (Neutron), Second Edition

You're reading from   Learning OpenStack Networking (Neutron), Second Edition Wield the power of OpenStack Neutron networking to bring network infrastructure and capabilities to your cloud

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher Packt
ISBN-13 9781785287725
Length 462 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
James Denton James Denton
Author Profile Icon James Denton
James Denton
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Preparing the Network for OpenStack FREE CHAPTER 2. Installing OpenStack 3. Installing Neutron 4. Building a Virtual Switching Infrastructure 5. Creating Networks with Neutron 6. Managing Security Groups 7. Creating Standalone Routers with Neutron 8. Router Redundancy Using VRRP 9. Distributed Virtual Routers 10. Load Balancing Traffic to Instances 11. Firewall as a Service 12. Virtual Private Network as a Service A. Additional Neutron Commands B. Virtualizing the Environment Index

Installing LBaaS


The neutron-lbaas-agent service typically runs on the network node, which in this demonstration is controller01.

Issue the following command on the controller node to install the LBaaS agent and its dependencies, including HAProxy:

# apt-get install neutron-lbaas-agent

Configuring the Neutron LBaaS agent service

Neutron stores the LBaaS agent configuration in the /etc/neutron/lbaas_agent.ini file. The most common configuration options will be covered in the upcoming sections.

Defining an interface driver

Like the previously installed agents, the Neutron LBaaS agent must be configured to use an interface driver that corresponds to the chosen networking driver. In this configuration, there are two options:

  • LinuxBridge

  • Open vSwitch

Update the Neutron LBaaS agent configuration file node at /etc/neutron/lbaas_agent.ini on the controller to use one of the following drivers.

For LinuxBridge:

[DEFAULT] 
...
interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

For Open vSwitch...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime