public interface RouteMonitoringMessage extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<RouteMonitoringMessage>, PeerHeader, org.opendaylight.yangtools.yang.binding.Notification
This class represents the following YANG schema fragment defined in module bmp-message
notification route-monitoring-message {
description
"Route Monitoring messages are used for initial synchronization of
ADJ-RIBs-In. They are also used for ongoing monitoring of received
advertisements and withdraws.";
container peer-header {
leaf adj-rib-in-type {
type adj-rib-in-type;
}
leaf ipv4 {
type boolean;
}
leaf type {
type peer-type;
}
container distinguisher {
leaf distinguisher-type {
type distinguisher-type;
}
leaf distinguisher {
type string;
}
status DEPRECATED;
}
leaf peer-distinguisher {
type union;
}
leaf address {
type ip-address;
}
leaf as {
type as-number;
}
leaf bgp-id {
type ipv4-address;
}
leaf timestamp-sec {
type timestamp-sec;
}
leaf timestamp-micro {
type timestamp-micro;
}
uses timestamp;
uses peer;
}
container update {
container withdrawn-routes {
leaf-list withdrawn-routes {
type ipv4-prefix;
}
}
container nlri {
leaf-list nlri {
type ipv4-prefix;
}
}
container attributes {
container origin {
leaf value {
type bgp-origin;
}
}
container as-path {
list segments {
leaf-list as-sequence {
type as-number;
}
leaf-list as-set {
type as-number;
}
uses as-path-segment;
}
}
container multi-exit-disc {
leaf med {
type uint32;
}
}
container local-pref {
leaf pref {
type uint32;
}
}
container atomic-aggregate {
}
container aggregator {
leaf as-number {
type as-number;
}
leaf network-address {
type ipv4-address;
}
uses bgp-aggregator;
}
list communities {
leaf as-number {
type as-number;
}
leaf semantics {
type uint16;
}
uses community;
}
list extended-communities {
leaf transitive {
type boolean;
}
choice extended-community {
case as-4-generic-spec-extended-community-case {
container as-4-generic-spec-extended-community {
container as-4-specific-common {
leaf as-number {
type as-number;
}
leaf local-administrator {
type uint16;
}
}
uses as-4-spec-common;
}
}
case as-4-route-origin-extended-community-case {
container as-4-route-origin-extended-community {
container as-4-specific-common {
leaf as-number {
type as-number;
}
leaf local-administrator {
type uint16;
}
}
uses as-4-spec-common;
}
}
case as-4-route-target-extended-community-case {
container as-4-route-target-extended-community {
container as-4-specific-common {
leaf as-number {
type as-number;
}
leaf local-administrator {
type uint16;
}
}
uses as-4-spec-common;
}
}
case as-specific-extended-community-case {
container as-specific-extended-community {
leaf global-administrator {
type short-as-number;
}
leaf local-administrator {
type binary;
}
}
}
case encapsulation-case {
container encapsulation-extended-community {
leaf tunnel-type {
type encapsulation-tunnel-type;
}
uses encapsulation-extended-community;
}
}
case inet4-specific-extended-community-case {
container inet4-specific-extended-community {
leaf global-administrator {
type ipv4-address;
}
leaf local-administrator {
type binary;
}
}
}
case link-bandwidth-case {
container link-bandwidth-extended-community {
leaf bandwidth {
type bandwidth;
}
uses link-bandwidth-extended-community;
}
}
case opaque-extended-community-case {
container opaque-extended-community {
leaf value {
type binary;
}
}
}
case route-origin-extended-community-case {
container route-origin-extended-community {
leaf global-administrator {
type short-as-number;
}
leaf local-administrator {
type binary;
}
}
}
case route-origin-ipv4-case {
container route-origin-ipv4 {
leaf global-administrator {
type ipv4-address;
}
leaf local-administrator {
type uint16;
}
uses route-ipv4-extended-community;
}
}
case route-target-extended-community-case {
container route-target-extended-community {
leaf global-administrator {
type short-as-number;
}
leaf local-administrator {
type binary;
}
}
}
case route-target-ipv4-case {
container route-target-ipv4 {
leaf global-administrator {
type ipv4-address;
}
leaf local-administrator {
type uint16;
}
uses route-ipv4-extended-community;
}
}
}
uses extended-community;
}
container originator-id {
leaf originator {
type ipv4-address;
}
uses originator-id;
}
container cluster-id {
leaf-list cluster {
type cluster-identifier;
}
uses cluster-id;
}
container aigp {
container aigp-tlv {
leaf metric {
type accumulated-igp-metric;
}
}
}
list unrecognized-attributes {
key "type";
leaf partial {
type boolean;
}
leaf transitive {
type boolean;
}
leaf type {
type uint8;
}
leaf value {
type binary;
}
}
container bgp-prefix-sid {
list bgp-prefix-sid-tlvs {
choice bgp-prefix-sid-tlv {
}
}
}
choice c-next-hop {
case empty-next-hop-case {
leaf empty-next-hop {
type empty;
}
}
case ipv4-next-hop-case {
container ipv4-next-hop {
leaf global {
type ipv4-address;
}
}
}
case ipv6-next-hop-case {
container ipv6-next-hop {
leaf global {
type ipv6-address;
}
leaf link-local {
type ipv6-address;
}
}
}
}
uses next-hop;
}
uses update-message;
}
uses peer-header;
reference
"https://tools.ietf.org/html/rfc7854#section-4.6";
}
The schema path to identify an instance is
bmp-message/route-monitoring-message
To create instances of this class use RouteMonitoringMessageBuilder.
RouteMonitoringMessageBuilder| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
Update |
getUpdate() |
getAugmentationgetPeerHeaderUpdate getUpdate()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev150512.route.monitoring.message.Update update, or null if not presentCopyright © 2018 OpenDaylight. All rights reserved.