Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GR-IX
bird-route-server-stats
Commits
d47d73c9
Commit
d47d73c9
authored
May 10, 2022
by
root
Browse files
added rs2.gr-ix.gr
parent
b2021086
Changes
1
Hide whitespace changes
Inline
Side-by-side
route_server_stats_class.py
View file @
d47d73c9
...
...
@@ -125,7 +125,7 @@ except (Exception, e):
current_time
=
datetime
.
utcnow
().
strftime
(
'%Y-%m-%dT%H:%M:%SZ'
)
print
(
current_time
)
# IPv4 + IPv6 Route Server stats, we handle each RS instance (IPv4, IPv6) as a different RS
Route_Servers
=
[
"rs1-vlan505-ipv4.gr-ix.gr"
,
"rs0-vlan505-ipv4.gr-ix.gr"
,
"rs0-vlan400-ipv4.thess.gr-ix.gr"
,
"rs1-vlan400-ipv4.thess.gr-ix.gr"
]
+
[
"rs1-vlan505-ipv6.gr-ix.gr"
,
"rs0-vlan505-ipv6.gr-ix.gr"
,
"rs0-vlan400-ipv6.thess.gr-ix.gr"
,
"rs1-vlan400-ipv6.thess.gr-ix.gr"
]
Route_Servers
=
[
"
rs2-vlan505-ipv4.gr-ix.gr"
,
"
rs1-vlan505-ipv4.gr-ix.gr"
,
"rs0-vlan505-ipv4.gr-ix.gr"
,
"rs0-vlan400-ipv4.thess.gr-ix.gr"
,
"rs1-vlan400-ipv4.thess.gr-ix.gr"
]
+
[
"
rs2-vlan505-ipv6.gr-ix.gr"
,
"
rs1-vlan505-ipv6.gr-ix.gr"
,
"rs0-vlan505-ipv6.gr-ix.gr"
,
"rs0-vlan400-ipv6.thess.gr-ix.gr"
,
"rs1-vlan400-ipv6.thess.gr-ix.gr"
]
for
rs
in
Route_Servers
:
rs_class
=
Route_Server_stat
(
rs
)
input_to_influx
=
[{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment