Create a database from NetBox entries, especially IP > server interface tenant
Description
Description
Revisions and Commits
Revisions and Commits
rDARKDBNETBOX Netbox Darkbot database | |||
D3258 | rDARKDBNETBOXd71379b7142d Export Netbox IPAM information for darkbot |
Related Objects
Related Objects
- Mentioned Here
- P341 NetBox database for Odderon
Event Timeline
dereckson created this task.
Comment Actions
Views of addresses for a prefix shows relevant information we can extract: https://netbox.nasqueron.org/ipam/prefixes/3/ip-addresses/
I've noted on https://agora.nasqueron.org/Operations_grimoire/NetBox#Integration_with_IRC the following example:
17:13:59 < Dereckson> 172.27.27.6 17:14:00 < Odderon> (Dereckson): 172.27.27.6/28 docker-001.nasqueron.org / Decommissioned address for docker-001.nasqueron.org / Drake [deprecated]
With the server and interface it would give:
17:17:16 < Dereckson> 172.27.27.6 17:17:16 < Odderon> Dereckson: well, 172.27.27.6/28 docker-001.nasqueron.org / docker-002 ens224 / Decommissioned address for docker-001.nasqueron.org / Drake [deprecated]
Comment Actions
Proof of concept:
1 | 2001:470:1f13:9e1:0:c0ff:ee:8 2001:470:1f13:9e1:0:c0ff:ee:8/48 |
---|---|
2 | 172.27.27.1 172.27.27.1/28 / router-001.nasqueron.drake |
3 | 172.27.27.4 172.27.27.4/28 / dwellers.nasqueron.drake |
4 | 2001:470:1f13:9e1:0:c0ff:ee:9 2001:470:1f13:9e1:0:c0ff:ee:9/48 |
5 | 2001:470:1f13:9e1:0:c0ff:ee:a 2001:470:1f13:9e1:0:c0ff:ee:a/48 |
6 | 2001:470:1f13:9e1:0:c0ff:ee:b 2001:470:1f13:9e1:0:c0ff:ee:b/48 |
7 | 2001:470:1f13:9e1:0:c0ff:ee:c 2001:470:1f13:9e1:0:c0ff:ee:c/48 |
8 | 2001:470:1f13:9e1:0:c0ff:ee:d 2001:470:1f13:9e1:0:c0ff:ee:d/48 |
9 | 2001:470:1f13:9e1:0:c0ff:ee:f 2001:470:1f13:9e1:0:c0ff:ee:f/48 |
10 | 172.27.27.15 172.27.27.15/28 / db-b.nasqueron.drake / VIP for db-B MySQL cluster |
11 | 51.255.124.8 51.255.124.8/30 / router-001.nasqueron.org / IPFO in ORG-SS791-RIPE |
12 | 172.27.27.6 172.27.27.6/28 / docker-001.nasqueron.org / Decommissioned address for docker-001.nasqueron.org [deprecated] |
13 | 10.92.16.78 10.92.16.78/26 |
14 | 163.172.49.16 163.172.49.16/24 / ysul-core.nasqueron.org / IP assigned to the server |
15 | 51.255.124.11 51.255.124.11/30 / dwellers.nasqueron.org / IPFO in ORG-SS791-RIPE |
16 | 188.165.200.229 188.165.200.229/24 / cloudhugger.nasqueron.org |
17 | 163.172.49.1 163.172.49.1/24 / 163-172-49-1.rev.poneytelecom.eu / Gateway for Scaleway machine in DC2 [reserved] |
18 | 2001:470:1f13:9e1::1 2001:470:1f13:9e1::1/48 / For Ysul |
19 | 2001:470:1f13:9e1::2 2001:470:1f13:9e1::2/48 / For Ysul |
20 | 172.27.27.28 172.27.27.28/28 / cloudhugger.nasqueron.drake |
21 | 2001:470:1f13:9e1:0:cac:7e:1 2001:470:1f13:9e1:0:cac:7e:1/48 / Cool address for Ysul |
22 | 2001:470:1f13:9e1:0:c0ff:ee:2 2001:470:1f13:9e1:0:c0ff:ee:2/48 |
23 | 2001:470:1f13:9e1:0:c0ff:ee:3 2001:470:1f13:9e1:0:c0ff:ee:3/48 |
24 | 172.27.27.5 172.27.27.5/28 / docker-002.nasqueron.drake |
25 | 2001:470:1f13:9e1:0:c0ff:ee:4 2001:470:1f13:9e1:0:c0ff:ee:4/48 |
26 | 2001:470:1f13:9e1:0:c0ff:ee:5 2001:470:1f13:9e1:0:c0ff:ee:5/48 |
27 | 2001:470:1f13:9e1:0:c0ff:ee:6 2001:470:1f13:9e1:0:c0ff:ee:6/48 |
28 | 51.210.99.113 ns3173530.ip-51-210-99.eu |
29 | 2001:470:1f13:9e1:0:c0ff:ee:e 2001:470:1f13:9e1:0:c0ff:ee:e/48 |
30 | 51.210.99.254 51.210.99.254/24 / Gateway for OVH machines at GRA (not under our control) [reserved] |
31 | 91.121.86.254 91.121.86.254/24 / rbx-23-m0.fr.eu / Gateway for OVH machines at RBX (not under our control) [reserved] |
32 | 2001:41d0:303:d971::6a7e 2001:41d0:303:d971::6a7e/64 / transit.router-001.nasqueron.org / IPv6 outgoing connectivity for machines using router-001 |
33 | 172.27.27.3 172.27.27.3/28 / Reserved for mail server [reserved] |
34 | 51.159.18.59 51.159.18.59/24 / windriver.nasqueron.org |
35 | 172.27.27.7 172.27.27.7/28 / complector.nasqueron.drake |
36 | 172.27.27.8 172.27.27.8/28 / db-a-001.nasqueron.drake |
37 | 172.27.27.2 172.27.27.2/28 / Reserved for DNS server [reserved] |
38 | 2001:41d0:303:d971::517e:c0de 2001:41d0:303:d971::517e:c0de/64 / www-alkane.nasqueron.org |
39 | 51.255.124.10 51.255.124.10/30 / web-001.nasqueron.org / IPFO in ORG-SS791-RIPE |
40 | 51.255.124.9 51.255.124.9/30 / docker-002.nasqueron.org / IPFO in ORG-SS791-RIPE |
41 | 10.92.16.65 10.92.16.65/26 / Gateway for 10.92.16.64/26 [reserved] |
42 | 2001:bc8:6005:5:aa1e:84ff:fef3:5d9c Native IPv6 - SLAAC for WindRiver [deprecated] |
43 | 2001:470:1f13:9ab:100:0:517e:c0de 2001:470:1f13:9ab:100:0:517e:c0de/80 / web-001.nasqueron.org [reserved] |
44 | 172.27.27.33 172.27.27.33/28 / ysul.nasqueron.drake |
45 | 172.27.27.35 172.27.27.35/28 / windriver.nasqueron.drake |
46 | 172.27.27.252 172.27.27.252/28 / Tunnel from router-001 to Ysul |
47 | 172.27.27.253 172.27.27.253/28 / Tunnel from router-001 to CloudHugger |
48 | 172.27.27.254 172.27.27.254/28 / Tunnel from router-001 to WindRiver |
49 | 212.83.187.132 ysul.nasqueron.org / Canonical address for Ysul. IPFO. |
50 | 2001:bc8:2e84:700::da7a:7001 2001:bc8:2e84:700::da7a:7001/56 / windriver.nasqueron.org |
51 | 172.27.27.9 172.27.27.9/28 / db-b-001.nasqueron.drake / db-B-001 |
52 | 188.165.200.254 188.165.200.254/24 / vss-gw-6k.fr.eu / Gateway for OVH machines at GRA (not under our control) |
53 | 2001:41d0:2:91e5:: 2001:41d0:2:91e5::/56 |
54 | 2001:41d0:303:d9ff:ff:ff:ff:ff 2001:41d0:303:d9ff:ff:ff:ff:ff/64 / Gateway IPv6 for 2001:41d0:303:d971::/64 (hyper-001) [reserved] |
55 | 2001:470:1f12:9e1::1 2001:470:1f12:9e1::1/48 / tunnel255107.tunnel.tserv10.par1.ipv6.he.net. / IPv6 tunnel for Ysul - HE side |
56 | 2001:470:1f12:9e1::2 2001:470:1f12:9e1::2/48 / tunnel255107-pt.tunnel.tserv10.par1.ipv6.he.net / IPv6 tunnel for Ysul - Ysul side |
57 | 2001:470:1f13:9e1::15 2001:470:1f13:9e1::15/48 / For Ysul |
58 | 2001:470:1f13:9e1:0:c0ff:ee:7 2001:470:1f13:9e1:0:c0ff:ee:7/48 / viperserv.nasqueron.org / ViperServ canonical IP |
59 | 172.27.27.10 172.27.27.10/28 / web-001.nasqueron.drake / web-001 |
60 | fd27:155a:100e::1 fd27:155a:100e::1/64 / router-001.nasqueron.drake [reserved] |
61 | 172.27.27.14 172.27.27.14/28 / Reserved for temporary VM work [reserved] |
62 | 2001:470:1f13:9e1::16 2001:470:1f13:9e1::16/48 / For Ysul |
63 | 2001:470:1f13:9e1:0:c0ff:ee:1 2001:470:1f13:9e1:0:c0ff:ee:1/48 / ysul.nasqueron.org |
64 | 2001:470:1f13:9e1::3 2001:470:1f13:9e1::3/48 / For Ysul |
65 | 2001:470:1f13:9e1::4 2001:470:1f13:9e1::4/48 / For Ysul |
66 | 2001:470:1f13:9e1::5 2001:470:1f13:9e1::5/48 / For Ysul |
67 | 2001:470:1f13:9e1::6 2001:470:1f13:9e1::6/48 / For Ysul |
68 | 2001:470:1f13:9e1::7 2001:470:1f13:9e1::7/48 / For Ysul |
69 | 2001:470:1f13:9e1::8 2001:470:1f13:9e1::8/48 / For Ysul |
70 | 2001:470:1f13:9e1::9 2001:470:1f13:9e1::9/48 / For Ysul |
71 | 2001:470:1f13:9e1::a 2001:470:1f13:9e1::a/48 / For Ysul |
72 | 2001:470:1f13:9e1::b 2001:470:1f13:9e1::b/48 / For Ysul |
73 | 2001:470:1f13:9e1::c 2001:470:1f13:9e1::c/48 / For Ysul |
74 | 2001:470:1f13:9e1::d 2001:470:1f13:9e1::d/48 / For Ysul |
75 | 2001:470:1f13:9e1::e 2001:470:1f13:9e1::e/48 / For Ysul |
76 | 2001:470:1f13:9e1::f 2001:470:1f13:9e1::f/48 / For Ysul |
77 | 2001:470:1f13:9e1::10 2001:470:1f13:9e1::10/48 / For Ysul |
78 | 2001:470:1f13:9e1::11 2001:470:1f13:9e1::11/48 / For Ysul |
79 | 2001:470:1f13:9e1::12 2001:470:1f13:9e1::12/48 / For Ysul |
80 | 2001:470:1f13:9e1::13 2001:470:1f13:9e1::13/48 / For Ysul |
81 | 2001:470:1f13:9e1::14 2001:470:1f13:9e1::14/48 / For Ysul |
82 | 2001:470:1f13:9e1::17 2001:470:1f13:9e1::17/48 / For Ysul |
83 | 2001:470:1f13:9e1::18 2001:470:1f13:9e1::18/48 / For Ysul |
84 | 2001:470:1f13:9e1::19 2001:470:1f13:9e1::19/48 |
85 | 2001:470:1f12:30b::1 2001:470:1f12:30b::1/64 |
86 | 2001:470:1f12:30b::2 2001:470:1f12:30b::2/64 / HE tunnel endpoint |
87 | 2001:470:1f13:30b:ca5:cade:fab:1e 2001:470:1f13:30b:ca5:cade:fab:1e/64 / dwellers.nasqueron.org / Canonical address for Dwellers |
88 | 2001:470:1f13:365::50f7:ba11 2001:470:1f13:365::50f7:ba11/64 / equatower.nasqueron.org. / Canonical address for Equatower (legacy Docker engine) |
89 | router-001.nasqueron.drake 172.27.27.1 / fd27:155a:100e::1 [reserved] |
90 | dwellers.nasqueron.drake 172.27.27.4 |
91 | db-b.nasqueron.drake 172.27.27.15 |
92 | router-001.nasqueron.org 51.255.124.8 |
93 | docker-001.nasqueron.org 172.27.27.6 [deprecated] |
94 | ysul-core.nasqueron.org 163.172.49.16 |
95 | dwellers.nasqueron.org 51.255.124.11 / 2001:470:1f13:30b:ca5:cade:fab:1e |
96 | cloudhugger.nasqueron.org 188.165.200.229 |
97 | 163-172-49-1.rev.poneytelecom.eu 163.172.49.1 [reserved] |
98 | cloudhugger.nasqueron.drake 172.27.27.28 |
99 | docker-002.nasqueron.drake 172.27.27.5 |
100 | ns3173530.ip-51-210-99.eu 51.210.99.113 |
101 | rbx-23-m0.fr.eu 91.121.86.254 [reserved] |
102 | transit.router-001.nasqueron.org 2001:41d0:303:d971::6a7e |
103 | windriver.nasqueron.org 51.159.18.59 / 2001:bc8:2e84:700::da7a:7001 |
104 | complector.nasqueron.drake 172.27.27.7 |
105 | db-a-001.nasqueron.drake 172.27.27.8 |
106 | www-alkane.nasqueron.org 2001:41d0:303:d971::517e:c0de |
107 | web-001.nasqueron.org 51.255.124.10 / 2001:470:1f13:9ab:100:0:517e:c0de [reserved] |
108 | docker-002.nasqueron.org 51.255.124.9 |
109 | ysul.nasqueron.drake 172.27.27.33 |
110 | windriver.nasqueron.drake 172.27.27.35 |
111 | ysul.nasqueron.org 212.83.187.132 / 2001:470:1f13:9e1:0:c0ff:ee:1 |
112 | db-b-001.nasqueron.drake 172.27.27.9 |
113 | vss-gw-6k.fr.eu 188.165.200.254 |
114 | tunnel255107.tunnel.tserv10.par1.ipv6.he.net. 2001:470:1f12:9e1::1 |
115 | tunnel255107-pt.tunnel.tserv10.par1.ipv6.he.net 2001:470:1f12:9e1::2 |
116 | viperserv.nasqueron.org 2001:470:1f13:9e1:0:c0ff:ee:7 |
117 | web-001.nasqueron.drake 172.27.27.10 |
118 | equatower.nasqueron.org 2001:470:1f13:365::50f7:ba11 |