ecix / birdseye Goto Github PK
View Code? Open in Web Editor NEWBirdseye Bird Looking Glass
License: Other
Birdseye Bird Looking Glass
License: Other
some kind of way to input a prefix and get all possible paths from all peers would be useful (including that some paths might be rejected while others are not)
Right now it displays:
Network Gateway Interface Metric
I'd like:
Network AS_PATH Gateway
If you click any route, a popup appears which displays the route like this:
AS Path: 6830, 12843, 206825
It should display like this:
AS Path: 6830 12843 206825
(venv)root@web:~/birdseye# ./bin/start_uwsgi
[i] Autodownloading static ui build
[i] Loading virtualenv (venv)
[i] Starting uWSGI: 127.0.0.1:8001 (uid: nobody, gid: nobody, th: 8, procs: 4)
Stats: 127.0.0.1:4999
[uwsgi-static] added mapping for /static => /root/birdseye/backend/static
*** Starting uWSGI 2.0.14 (64bit) on [Thu Feb 23 00:31:06 2017] ***
compiled with version: 4.6.3 on 22 February 2017 18:48:53
os: Linux-3.2.0-123-generic #166-Ubuntu SMP Mon Feb 20 11:53:20 UTC 2017
nodename: web.coloclue.net
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /root/birdseye
writing pidfile to /var/run/birdseye-server.pid
detected binary path: /root/birdseye/venv/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 1008
setuid() to 65534
your processes number limit is 15890
your memory page size is 4096 bytes
detected max file descriptor number: 1024
building mime-types dictionary from file /etc/mime.types...530 entry found
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on 127.0.0.1:8001 fd 4
uwsgi socket 0 bound to TCP address 127.0.0.1:60443 (port auto-assigned) fd 3
Python version: 2.7.3 (default, Oct 26 2016, 21:16:28) [GCC 4.6.3]
Set PythonHome to ./venv/
Python main interpreter initialized at 0x1c23120
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 724480 bytes (707 KB) for 32 cores
*** Operational MODE: preforking+threaded ***
Traceback (most recent call last):
File "./backend/server.py", line 5, in <module>
from flask import Flask, jsonify, request
ImportError: No module named flask
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 66, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 1, in <module>
from apport.report import Report
File "/usr/lib/python2.7/dist-packages/apport/report.py", line 16, in <module>
from xml.parsers.expat import ExpatError
File "/usr/lib/python2.7/xml/parsers/expat.py", line 4, in <module>
from pyexpat import *
ImportError: No module named pyexpat
Original exception was:
Traceback (most recent call last):
File "./backend/server.py", line 5, in <module>
from flask import Flask, jsonify, request
ImportError: No module named flask
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 19948)
spawned uWSGI worker 1 (pid: 19979, cores: 8)
spawned uWSGI worker 2 (pid: 19980, cores: 8)
spawned uWSGI worker 3 (pid: 19981, cores: 8)
spawned uWSGI worker 4 (pid: 19982, cores: 8)
*** Stats server enabled on 127.0.0.1:4999 fd: 18 ***
spawned uWSGI http 1 (pid: 19983)
--- no python application found, check your startup logs for errors ---
--- no python application found, check your startup logs for errors ---
hanna:~ job$ wget "https://lg.coloclue.net/birdseye/api/routeserver/0/routes/filtered/?protocol=peer_AS3257_0"
--2017-02-23 19:41:39-- https://lg.coloclue.net/birdseye/api/routeserver/0/routes/filtered/?protocol=peer_AS3257_0
Resolving lg.coloclue.net... 94.142.247.19
Connecting to lg.coloclue.net|94.142.247.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13880757 (13M) [application/json]
Saving to: ‘index.html?protocol=peer_AS3257_0’
index.html?protocol=peer_AS3257_0 100%[====================================================================================================================>] 13.24M 4.11MB/s in 3.2s
2017-02-23 19:41:48 (4.11 MB/s) - ‘index.html?protocol=peer_AS3257_0’ saved [13880757/13880757]
hanna:~ job$
this takes too long :-)
When you click a route, the communities are displayed like this:
Communities: (6830, 11492) (6830, 13000) (6830, 13272) (6830, 23001) (6830, 34904) (8283, 1)
Large Communities: (8283, 0, 1) (8283, 7, 6)
It should display like this:
Communities: 6830:11492 6830:13000 6830:13272 6830:23001 6830:34904 8283:1
Large Communities: 8283:0:1 8283:7:6
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.