Comments (16)
" clone directory " represents the directory, that git clone command created.
Here is my log:
t2mune@ubuntu13-openstack:$ git clone https://github.com/YoshiyukiYamauchi/mrtparse.git$ cd mrtparse
Cloning into 'mrtparse'...
remote: Reusing existing pack: 907, done.
Receiving objects: 100% (907/907), 2.36 MiB | 569.00 KiB/s, done.
remote: Total 907 (delta 0), reused 0 (delta 0)
Resolving deltas: 100% (509/509), done.
Checking connectivity... done
t2mune@ubuntu13-openstack:
t2mune@ubuntu13-openstack:/mrtparse$ sudo python setup.py install/mrtparse
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying mrtparse.py -> build/lib.linux-x86_64-2.7
running install_lib
copying build/lib.linux-x86_64-2.7/mrtparse.py -> /usr/local/lib/python2.7/dist-packages
byte-compiling /usr/local/lib/python2.7/dist-packages/mrtparse.py to mrtparse.pyc
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/mrtparse-1.0.egg-info
t2mune@ubuntu13-openstack:
from mrtparse.
Did it go well?
from mrtparse.
hi again sir - I think , we(my classmate and I) have big problem with this code and it causes to more study about code in Ubunto, we don't want to take your time,but really need this code to install and initial the TCAM in my project, it's about IP lookup in Ipv6 so we need real bgptable like your example but we can't open it.
from mrtparse.
Could you show me your log to check the problem?
from mrtparse.
Hi, rohan718
I want to check your log, too.
Here is my log on Ubuntu Server 14.04 LTS
yoshiyuki@ubuntu:~$ git clone https://github.com/YoshiyukiYamauchi/mrtparse.git
Cloning into 'mrtparse'...
remote: Reusing existing pack: 907, done.
Receiving objects: 100% (907/907), 2.36 MiB | 648.00 KiB/s, done.
remote: Total 907 (delta 0), reused 0 (delta 0)
Resolving deltas: 100% (509/509), done.
Checking connectivity... done
yoshiyuki@ubuntu:~$ cd mrtparse
yoshiyuki@ubuntu:~$ ls
ChangeLog LICENSE README-ja.md README.md examples mrtparse.py setup.py
from mrtparse.
hi sir again
thanks for your reply ,
rohan026@ubuntu:$ cd mrtparse/mrtparse$ ls
rohan026@ubuntu:
build examples mrtparse.py README-ja.md setup.py
ChangeLog LICENSE mrtparse.pyc README.md
rohan026@ubuntu:~/mrtparse$
after that I installed the Python but I don't know after that what should i to do,
from mrtparse.
Hi, rohan718
Thank you for your log, here is usage.
Install
$ cd mrtparse
$ sudo python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/mrtparse-1.0.egg-info
Download MRT format data
EXAMPLE - from RIPE(http://data.ris.rpe.inet/rrc00/)
$ cd example
$ sudo wget http://data.ris.ripe.net/rrc00/latest-update.gz
Displays the contents of a MRT format file
$ python print_all.py latest-update.gz
---------------------------------------------------------------
MRT Header
Timestamp: 1392828028(2014-02-20 01:40:28)
Type: 16(BGP4MP)
Subtype: 5(BGP4MP_STATE_CHANGE_AS4)
Length: 24
BGP4MP_STATE_CHANGE_AS4
Peer AS Number: 100
Local AS Number: 64512
Interface Index: 0
Address Family: 1(AFI_IPv4)
Peer IP Address: 192.168.1.21
Local IP Address: 192.168.1.100
Old State: 5(OpenConfirm)
New State: 6(Established)
---------------------------------------------------------------
MRT Header
Timestamp: 1392828028(2014-02-20 01:40:28)
Type: 16(BGP4MP)
Subtype: 4(BGP4MP_MESSAGE_AS4)
...
from mrtparse.
I really confused, as you know I don't have any experience in Ubunto ,
what's problem ?
from mrtparse.
Probably,
python ../mrtparse/examples/print_all.py latest-update.gz
from mrtparse.
I should try this code :
python ../mrtparse/examples/print_all.py latest-update.gz
???
from mrtparse.
Otherwise,
python $HOME/mrtparse/examples/print_all.py $HOME/Downloads/latest-update.gz
from mrtparse.
Oh, it's Work , but for last question, for otherwise , for instance real BGP like
"http://data.ris.ripe.net/rrc00"
what should I do ?
from mrtparse.
Ok - I find my problem . thanks dear t2mune & YoshiyukiYamauchi .
from mrtparse.
You're welcome.
I hope that your project will go well.
from mrtparse.
You're welcome.
Thank you for using mrtparse.
from mrtparse.
Now I close this case.
from mrtparse.
Related Issues (20)
- potential bug: mrt2exabgp.py with BGP4MP_MESSAGE HOT 4
- Enhancement: mrt2exabgp.py (-A|-G) should finish by itself HOT 5
- ExaBGP API grouping format syntax change HOT 6
- mrt2exabgp bails out with CRC error HOT 3
- mrt2bgpdump.py crashes with Updates messages HOT 3
- module 'signal' has no attribute 'SIGPIPE' on jupyter notebook , python 3.6 on windows HOT 3
- TypeError: object of type 'NoneType' has no len() in a Route Views update file HOT 5
- Possible Performance improvements HOT 7
- MRTPARSE to exabgp config hangs when using -G & -P flags HOT 1
- IPv4 addresses decoded as IPv6 in print_all.py HOT 3
- Bug in __init__.py line 930 HOT 2
- Error parsing RIPE MRT data HOT 2
- Python3 Error in mrtparse HOT 9
- Convert the RAW BGP data from RIPE HOT 9
- Key error when converting MRT to JSON HOT 4
- Error in Example mrt2bgpdump HOT 1
- mrt2exabgp mrt2bgpdump key issue for prefix length HOT 4
- Replace `val_dict` by a better solution HOT 3
- Extended NLRI Encodings HOT 4
- Upload to pypi HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mrtparse.