Giter VIP home page Giter VIP logo

obmp-postgres's People

Contributors

gitter-badger avatar timevens avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

obmp-postgres's Issues

BGP-LS SPF

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.

  • explore the option to write a postgres plugin vs updating the java consumer
  • SPF DB schema should be created
  • functions/triggers for logging changes should be added

bgp hijack algorithm of detect / monitor

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.

continuous Java IndexOutOfBoundsException on postgres container

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.

compilation error

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 BGP-LS schema

Add the BGP-LS schema for Postgres

  • Tables
  • Functions/Triggers
  • Views

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.