snas / obmp-postgres Goto Github PK
View Code? Open in Web Editor NEWOpenBMP PostgreSQL Backend
Home Page: https://www.snas.io
License: Eclipse Public License 1.0
OpenBMP PostgreSQL Backend
Home Page: https://www.snas.io
License: Eclipse Public License 1.0
Add L3VPN to consumer to support postgres.
SPF is needs to be computed for links/prefixes based on topology changes. In MySQL this was performed using a stored procedure to generate the SPF on-demand/manual call.
This is a feature request to automate the SPF based on topology changes.
Thanks for providing so amazing open source project. Really make our life easier.
We want to use the bgp hijack module, could you please help to describe the how to detect/ monitor the hijack or any docs about our snas’s algorithm.
Any help will be appreciated!!
Thanks.
I just installed the Postgres container and I'm seeing a continuous stream of these errors from the command docker logs -f openbmp_psql
java.lang.IndexOutOfBoundsException: Index: 31, Size: 31
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)
at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)
at org.openbmp.api.parsed.processor.UnicastPrefix.<init>(UnicastPrefix.java:33)
at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.lang.IndexOutOfBoundsException: Index: 31, Size: 31
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)
at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)
at org.openbmp.api.parsed.processor.UnicastPrefix.<init>(UnicastPrefix.java:33)
at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.lang.IndexOutOfBoundsException: Index: 31, Size: 31
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)
at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)
at org.openbmp.api.parsed.processor.UnicastPrefix.<init>(UnicastPrefix.java:33)
at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.lang.IndexOutOfBoundsException: Index: 31, Size: 31
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)
at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)
at org.openbmp.api.parsed.processor.UnicastPrefix.<init>(UnicastPrefix.java:33)
at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
These messages are logged a few per second
The container logs are also very verbose:
{"log":"\u0009at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n","stream":"stderr","time":"2020-09-21T13:15:34.404250825Z"}
{"log":"\u0009at java.lang.Thread.run(Thread.java:748)\n","stream":"stderr","time":"2020-09-21T13:15:34.404255352Z"}
{"log":"java.lang.IndexOutOfBoundsException: Index: 31, Size: 31\n","stream":"stderr","time":"2020-09-21T13:15:34.404260968Z"}
{"log":"\u0009at java.util.ArrayList.rangeCheck(ArrayList.java:657)\n","stream":"stderr","time":"2020-09-21T13:15:34.404268374Z"}
{"log":"\u0009at java.util.ArrayList.get(ArrayList.java:433)\n","stream":"stderr","time":"2020-09-21T13:15:34.404272875Z"}
{"log":"\u0009at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)\n","stream":"stderr","time":"2020-09-21T13:15:34.404277233Z"}
{"log":"\u0009at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)\n","stream":"stderr","time":"2020-09-21T13:15:34.404281667Z"}
{"log":"\u0009at org.openbmp.api.parsed.processor.UnicastPrefix.\u003cinit\u003e(UnicastPrefix.java:33)\n","stream":"stderr","time":"2020-09-21T13:15:34.404286404Z"}
{"log":"\u0009at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)\n","stream":"stderr","time":"2020-09-21T13:15:34.404290972Z"}
I limited dockers logging to prevent the disks from filling up. I'm seeing about 100MB of logs per 45 minutes.
Hi All,
while compiling I keep getting the following issue any help would be appreciated
I have complied openbmp-java-api-message successfully but can not get obmp-postgres to compile
[ERROR] /home/akatana1/abdul_bmp_test/obmp-psql/src/main/java/org/openbmp/psqlquery/LsPrefixQuery.java:[8,38] cannot find symbol
symbol: class LsPrefixPojo
location: package org.openbmp.api.parsed.message
[ERROR] /home/akatana1/abdul_bmp_test/obmp-psql/src/main/java/org/openbmp/psqlquery/LsPrefixQuery.java:[16,24] cannot find symbol
symbol: class LsPrefixPojo
location: class org.openbmp.psqlquery.LsPrefixQuery
[ERROR] /home/akatana1/abdul_bmp_test/obmp-psql/src/main/java/org/openbmp/psqlquery/LsPrefixQuery.java:[18,31] cannot find symbol
symbol: class LsPrefixPojo
location: class org.openbmp.psqlquery.LsPrefixQuery
thank you
Add the BGP-LS schema for Postgres
Add BGP-LS aggregations similar to Unicast.
Add similar aggregations as Unicast for L3VPN.
Add L3VPN DB schema.
Add BGP-LS to consumer for db integration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.