Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
4e96082
BMP intial otg
SouravSinhaRoy Jun 27, 2025
37f2984
Update auto generated content
actions-user Jun 27, 2025
535b0da
bgp server metrics
SouravSinhaRoy Jul 1, 2025
8d051b4
bgp server metrics
SouravSinhaRoy Jul 1, 2025
3614c86
Update auto generated content
actions-user Jul 1, 2025
8314d45
bmp server metrics correction
SouravSinhaRoy Jul 1, 2025
16b8f7a
Update auto generated content
actions-user Jul 1, 2025
a414c3d
bmp prefix
SouravSinhaRoy Jul 1, 2025
687ce66
Update auto generated content
actions-user Jul 1, 2025
3f18b4c
bmp prefix correction
SouravSinhaRoy Jul 1, 2025
0a58fd6
Update auto generated content
actions-user Jul 1, 2025
d2cd603
bmp li
SouravSinhaRoy Jul 1, 2025
20249ed
Update auto generated content
actions-user Jul 1, 2025
1dc2f23
defining max peers per bmp server
SouravSinhaRoy Jul 1, 2025
a88fa28
Update auto generated content
actions-user Jul 1, 2025
d30c379
defining min/max peers per bmp server
SouravSinhaRoy Jul 1, 2025
c0cd0f3
Update auto generated content
actions-user Jul 1, 2025
ee32a10
changing defaults
SouravSinhaRoy Jul 4, 2025
eb086c7
Update auto generated content
actions-user Jul 4, 2025
fd76b5d
adding pre/post policy filters in li
SouravSinhaRoy Jul 4, 2025
b3c121b
Update auto generated content
actions-user Jul 4, 2025
5ce2d83
bmp changes
SouravSinhaRoy Jul 29, 2025
3f1b6eb
Update auto generated content
actions-user Jul 29, 2025
9de8d0f
merge with master
SouravSinhaRoy Jul 29, 2025
a1aff4d
Update auto generated content
actions-user Jul 29, 2025
2f0c6bb
bmp li correction
SouravSinhaRoy Jul 29, 2025
769fa08
Merge branch 'bmp' of https://github.com/open-traffic-generator/model…
SouravSinhaRoy Jul 29, 2025
b0c0954
Update auto generated content
actions-user Jul 29, 2025
70429d9
making server object required for bmp configuration
SouravSinhaRoy Jul 29, 2025
3ba2b85
Merge branch 'bmp' of https://github.com/open-traffic-generator/model…
SouravSinhaRoy Jul 29, 2025
56a0b3c
Update auto generated content
actions-user Jul 29, 2025
2c6a625
Changed get_state structure to include per peer stats and other signi…
apratimmukherjee Aug 14, 2025
c3d6ab9
Update auto generated content
actions-user Aug 14, 2025
1ad796a
Fixed BMP Metrics to return BMP information. Added route state and ne…
apratimmukherjee Aug 14, 2025
038139b
Merge branch 'bmp' of https://github.com/open-traffic-generator/model…
apratimmukherjee Aug 14, 2025
db5ae09
Added BMP metric changes.
apratimmukherjee Aug 14, 2025
455829c
Update auto generated content
actions-user Aug 14, 2025
761b7d8
Changed all reference of Collector to Client + some more descriptions…
apratimmukherjee Aug 15, 2025
a2e8bb2
Update auto generated content
actions-user Aug 15, 2025
6df222e
Changed all references of Monitor to Server which is the more accurat…
apratimmukherjee Aug 15, 2025
724e8fb
Update auto generated content
actions-user Aug 15, 2025
6235d9e
Merging from models/master @ v1.40.0
apratimmukherjee Oct 9, 2025
92e6703
Update auto generated content
actions-user Oct 9, 2025
1d7815f
Merge from master @ 1.41.0 + addition of unicastv/v6 prefixes in metr…
apratimmukherjee Nov 7, 2025
af427b8
Update auto generated content
actions-user Nov 7, 2025
acca12c
Removed pre + post stats to single stats. Corrected one x-constraint.
apratimmukherjee Nov 13, 2025
1de294d
Update auto generated content
actions-user Nov 13, 2025
1bf4ece
Added explicit type for remote peer addresses.
apratimmukherjee Nov 17, 2025
79bbb88
Update auto generated content
actions-user Nov 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions artifacts/openapi.html

Large diffs are not rendered by default.

1,088 changes: 1,082 additions & 6 deletions artifacts/openapi.yaml

Large diffs are not rendered by default.

811 changes: 811 additions & 0 deletions artifacts/otg.proto

Large diffs are not rendered by default.

375 changes: 375 additions & 0 deletions device/bmp/bmp.yaml

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions device/device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ components:
Configuration for RoCEv2.
$ref: './rocev2/rocev2.yaml#/components/schemas/Device.Rocev2Peer'
x-field-uid: 13
bmp:
description: >-
Configuration for BMP.
$ref: './bmp/bmp.yaml#/components/schemas/Device.Bmp'
x-field-uid: 14
required: [name]
Protocol.Options:
description: >-
Expand Down
160 changes: 160 additions & 0 deletions result/bmp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
openapi: 3.0.3
info:
title: BMP results models
version: ^0.0.0
components:
schemas:
BmpServer.Metrics.Request:
description: >-
The request to retrieve per BMP Server metrics/statistics.
type: object
properties:
server_names:
description: >-
The names of BMP Servers to return results for.
An empty list will return results for all BMP Servers.
type: array
items:
type: string
x-constraint:
- "/components/schemas/Device.Bmp.ServerV4/properties/name"
- "/components/schemas/Device.Bmp.ServerV6/properties/name"
x-field-uid: 1
column_names:
description: >-
The list of column names that the returned result set will contain.
If the list is empty then all columns will be returned except for
any result_groups. The name of the BMP Server cannot be excluded.
type: array
items:
type: string
x-enum:
session_state:
x-field-uid: 1
flap_count:
x-field-uid: 2
route_monitoring_messages_received:
x-field-uid: 3
statistics_messages_received:
x-field-uid: 4
peer_down_messages_received:
x-field-uid: 5
peer_up_messages_received:
x-field-uid: 6
initiation_messages_received:
x-field-uid: 7
route_mirroring_messages_received:
x-field-uid: 8
termination_messages_received:
x-field-uid: 9
pre_policy_ipv4_unicast_routes_received:
x-field-uid: 10
post_policy_ipv4_unicast_routes_received:
x-field-uid: 11
pre_policy_ipv6_unicast_routes_received:
x-field-uid: 12
post_policy_ipv6_unicast_routes_received:
x-field-uid: 13
x-field-uid: 2
BmpServer.Metric:
description: >-
BMP Server statistics information.
type: object
properties:
name:
description: >-
The name of the configured BMP server.
type: string
x-field-uid: 1
session_state:
description: >-
Session state as up or down.
The session goes to 'up' state when a BMP monitored client router sends a Initiation message to the BMP Server.
The session goes to 'down' state when a BMP monitored client router sends a Termination message to the BMP Server or the TCP connection is lost.
On initial start, the state as reported as 'down'.
type: string
x-field-uid: 2
x-enum:
up:
x-field-uid: 1
down:
x-field-uid: 2
flap_count:
description: >-
Number of times the BMP session with the BMP client went from Up to Down state.
type: integer
format: uint64
x-field-uid: 3
route_monitoring_messages_received:
description: >-
Number of BMP Route Monitoring Messages received from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 4
statistics_messages_received:
description: >-
Number of BMP Route Statistics Messages received from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 5
peer_down_messages_received:
description: >-
Number of BMP Peer Down Messages received from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 6
peer_up_messages_received:
description: >-
Number of BMP Peer Up Messages received from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 7
initiation_messages_received:
description: >-
Number of BMP Initiation Messages received from the BMP client from the time the BMP server was started .
type: integer
format: uint64
x-field-uid: 8
route_mirroring_messages_received:
description: >-
Number of BMP Route Mirroring Messages received from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 9
termination_messages_received:
description: >-
Number of BMP Termination Messages received from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 10
pre_policy_ipv4_unicast_routes_received:
description: >-
Number of IPv4 Unicast prefixes received within BMP Monitor messages with L flag unset (indicating absence of application on in-bound policy on the advertised prefix)
from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 11
post_policy_ipv4_unicast_routes_received:
description: >-
Number of IPv4 Unicast prefixes received within BMP Monitor messages with L flag set (indicating application of in-bound policy on the advertised prefix)
from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 12
pre_policy_ipv6_unicast_routes_received:
description: >-
Number of IPv6 Unicast prefixes received within BMP Monitor messages with L flag unset (indicating absence of application on in-bound policy on the advertised prefix)
from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 13
post_policy_ipv6_unicast_routes_received:
description: >-
Number of IPv6 Unicast prefixes received within BMP Monitor messages with L flag set (indicating application of in-bound policy on the advertised prefix)
from the BMP client from the time the BMP server was started.
type: integer
format: uint64
x-field-uid: 14



Loading