Book Image

OpenDaylight Cookbook

By : Rashmi Pujar, ICARO CAMELO, Yrineu Rodrigues
Book Image

OpenDaylight Cookbook

By: Rashmi Pujar, ICARO CAMELO, Yrineu Rodrigues

Overview of this book

OpenDaylight is an open source platform to program and build Software-Defined Networks (SDN). Its aim is to accelerate the adoption of SDN and NFV. With above 90 practical recipes, this book will help you to solve day-to-day problems and maintenance tasks surrounding OpenDaylight’s implementation. This book starts with the OpenDaylight fundamentals. In this book, you will gain a sound understanding of the methods and techniques when deploying OpenDaylight in production environment. Later on, you will learn to create a Service Chain using SFC. This book will address common problems and day-to-day maintenance tasks with OpenDaylight. We’ll also will teach you how to interact with OpenDaylight APIs and use the necessary tools to simulate networks. You will also explore how to create your own branded OpenDaylight along with authorising and authenticating users using OpenDaylight Identity Manager. By the end of this book, you will have the necessary skills to operate an OpenDaylight SDN environment.
Table of Contents (9 chapters)

Getting BGP and PCEP statistics using the Java management extension

BGP statistics store the state of BGP Peers in the network topology and are exposed to Java management console as a runtime bean. For every BGP peer, a runtime MBean is registered when the BGP session is successfully established. These statistics can be accessed via the JMX using JConsole and Jolokia as runtime beans. They are also accessible through RESTCONF as operational data for the configured bgp-peer module. BGP Peer session state and BGP peer state list various statistics as modeled in odl-bgp-rib-impl-cfg.yang in the BGP-PCEP implementation in OpenDaylight.

BGP Statistics also provides two reset operations, resetSession and resetStats. These will be described in the following section along with sample screenshots.

PCEP statistics provides statistics for each PCC to PCE connection. For each such connection...