-
Notifications
You must be signed in to change notification settings - Fork 16
BGP Monitoring Protocol ( emulation of BMP Monitor ) support. #427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
apratimmukherjee
wants to merge
49
commits into
master
Choose a base branch
from
bmp
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
4e96082
BMP intial otg
SouravSinhaRoy 37f2984
Update auto generated content
actions-user 535b0da
bgp server metrics
SouravSinhaRoy 8d051b4
bgp server metrics
SouravSinhaRoy 3614c86
Update auto generated content
actions-user 8314d45
bmp server metrics correction
SouravSinhaRoy 16b8f7a
Update auto generated content
actions-user a414c3d
bmp prefix
SouravSinhaRoy 687ce66
Update auto generated content
actions-user 3f18b4c
bmp prefix correction
SouravSinhaRoy 0a58fd6
Update auto generated content
actions-user d2cd603
bmp li
SouravSinhaRoy 20249ed
Update auto generated content
actions-user 1dc2f23
defining max peers per bmp server
SouravSinhaRoy a88fa28
Update auto generated content
actions-user d30c379
defining min/max peers per bmp server
SouravSinhaRoy c0cd0f3
Update auto generated content
actions-user ee32a10
changing defaults
SouravSinhaRoy eb086c7
Update auto generated content
actions-user fd76b5d
adding pre/post policy filters in li
SouravSinhaRoy b3c121b
Update auto generated content
actions-user 5ce2d83
bmp changes
SouravSinhaRoy 3f1b6eb
Update auto generated content
actions-user 9de8d0f
merge with master
SouravSinhaRoy a1aff4d
Update auto generated content
actions-user 2f0c6bb
bmp li correction
SouravSinhaRoy 769fa08
Merge branch 'bmp' of https://github.com/open-traffic-generator/model…
SouravSinhaRoy b0c0954
Update auto generated content
actions-user 70429d9
making server object required for bmp configuration
SouravSinhaRoy 3ba2b85
Merge branch 'bmp' of https://github.com/open-traffic-generator/model…
SouravSinhaRoy 56a0b3c
Update auto generated content
actions-user 2c6a625
Changed get_state structure to include per peer stats and other signi…
apratimmukherjee c3d6ab9
Update auto generated content
actions-user 1ad796a
Fixed BMP Metrics to return BMP information. Added route state and ne…
apratimmukherjee 038139b
Merge branch 'bmp' of https://github.com/open-traffic-generator/model…
apratimmukherjee db5ae09
Added BMP metric changes.
apratimmukherjee 455829c
Update auto generated content
actions-user 761b7d8
Changed all reference of Collector to Client + some more descriptions…
apratimmukherjee a2e8bb2
Update auto generated content
actions-user 6df222e
Changed all references of Monitor to Server which is the more accurat…
apratimmukherjee 724e8fb
Update auto generated content
actions-user 6235d9e
Merging from models/master @ v1.40.0
apratimmukherjee 92e6703
Update auto generated content
actions-user 1d7815f
Merge from master @ 1.41.0 + addition of unicastv/v6 prefixes in metr…
apratimmukherjee af427b8
Update auto generated content
actions-user acca12c
Removed pre + post stats to single stats. Corrected one x-constraint.
apratimmukherjee 1de294d
Update auto generated content
actions-user 1bf4ece
Added explicit type for remote peer addresses.
apratimmukherjee 79bbb88
Update auto generated content
actions-user File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
|
|
||
|
|
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.