Skip to content
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

pre-policy and post-policy support #78

Open
lilcheun opened this issue Jan 16, 2019 · 0 comments
Open

pre-policy and post-policy support #78

lilcheun opened this issue Jan 16, 2019 · 0 comments

Comments

@lilcheun
Copy link

Hi :
I am using the Postgres, Kafka and collector dockers to monitor BMP from Arista switches. When both pre-policy and post-policy bmp monitoring are enabled, seems like openbmp only reports pre-policy prefix count.
Is this a supported scenario where pre-policy and post-policy monitoring are enabled simultaneously ?

If yes, I have the following questions:
Sorry I am new to BMP and must be overlooking something here.

  1. I have 12000 prefixes qualified for pre-policy and 2 prefixes qualify for post-policy.
    But, openbmp only reports 12000 and not 12002.

  2. Seems like the isprepolicy field is not reflecting correctly ?
    When displaying a prefix which is not subject to the post-policy , the "isprepolicy" field is "f" .

openbmp=# select * from v_ip_routes where prefix='205.43.63.0/24';
routername | peername | prefix | prefixlen | origin | origin_as | med | localpref | nh |
as_path
| aspath_count | communities | extcommunities | largecommunities | clusterlist | aggregator | peeraddress | peerasn |
isipv4 | ispeeripv4 | ispeervpn | lastmodified | firstaddedtimestamp | path_id | labels | rib_hash_id
| base_hash_id | peer_hash_id | router_hash_id | iswith
drawn | prefix_bits | isprepolicy | isadjribin
------------------------------+---------------+----------------+-----------+--------+-----------+-----+-----------+---------------+----

---------------+--------------+-------------+----------------+------------------+-------------+------------+---------------+---------+-
-------+------------+-----------+-------------------------+----------------------------+---------+--------+----------------------------
----------+--------------------------------------+--------------------------------------+--------------------------------------+-------
------+--------------------------+-------------+------------
yo662.sjc.aristanetworks.com | 10.255.230.43 | 205.43.63.0/24 | 24 | igp | 49993 | 0 | 0 | 10.255.230.43 | 20
600 { 6346 21531 21653 22593 23304 25212 40225 49040 } { 1052 19993 33741 36210 36466 44278 49072 52434 61156 } { 296 13808 24302 24928
29218 49993 } | 24 | | | | | | 10.255.230.43 | 20600 |
t | t | f | 2019-01-15 21:03:13.011 | 2019-01-15 21:03:13.242159 | 0 | | f0fbd7bc-ba59-43ae-1f16-a70
f0dadc65f | 3e02266d-913a-6de7-e474-367e70062a8c | 69dbeddd-3278-07a3-89bb-01493e80fd1d | 2cb671c2-5d06-023f-04c8-b8cba569b21b | f
| 110011010010101100111111 | f | f
(1 row)

openbmp=#

I have verified that both pre-policy and post-policy announcements are sent to openbmp.

Thanks in advance,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant