bgp-tools 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/bgp_tools.rb +11 -0
  3. metadata +44 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7cb9caae2d0dd53dc5a610f49fab5f43b50e457d
4
+ data.tar.gz: 164ae11ec2a43c857d00abad7dc528f08cb29c48
5
+ SHA512:
6
+ metadata.gz: 2eb957ef4d1c8602f1d33fca138d9f40f775c42527cc9d0ab7858d4be25f234a0132d64555e5e307431cc4c633cd1ea733e84ebca403bf53b0e7c4bb53ef1d70
7
+ data.tar.gz: 358d1cbfb533f44e83f3146bcd2b28d95a12eacb91dfc36a6fa8e543f98f18567974044282b134508b9d030241713ab273816e23dc29ad513a8e4638db0d73f1
@@ -0,0 +1,11 @@
1
+ require 'json'
2
+ require 'ipaddr'
3
+ require 'rest-client'
4
+ require 'nokogiri'
5
+ module BgpTools
6
+ USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"
7
+
8
+ ASPrefix = Struct.new(:name, :ip_addr)
9
+ BGPPeer = Struct.new(:as, :name, :ipv6, :rank)
10
+ end
11
+ require './lib/bgp_tools/as.rb'
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bgp-tools
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Josh Rendek
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-10 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A small interface to scrape looking glass information and BGP information.
14
+ email: josh@bluescripts.net
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/bgp_tools.rb
20
+ homepage: https://github.com/joshrendek/bgp-tools
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.1.10
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: A small interface to scrape looking glass information and BGP information.
44
+ test_files: []