Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add geant lg agent #29

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: "2.2"
services:
gateway:
image: nginx
Expand All @@ -15,13 +16,21 @@ services:
- ./etc/alto.conf:/opt/alto/etc/alto.conf
entrypoint: gunicorn
command: ["-b", "0.0.0.0:8000", "--reload", "alto.server.northbound.wsgi", "--preload", "--capture-output"]
alto-lg-agent:
# alto-lg-agent-cern:
# image: openalto/alto
# volumes:
# - ./etc/lg-agent.json:/etc/lg-agent-cern.json
# - ./etc/alto.conf:/opt/alto/etc/alto.conf
# entrypoint: python
# command: ["-m", "alto.agent.manage", "--pid", "/tmp", "start", "-c", "/etc/lg-agent-cern.json", "-D", "cernlg"]
# network_mode: "service:alto-frontend"
alto-lg-agent-geant:
image: openalto/alto
volumes:
- ./etc/lg-agent.json:/etc/lg-agent.json
- ./etc/lg-agent-geant.json:/etc/lg-agent-geant.json
- ./etc/alto.conf:/opt/alto/etc/alto.conf
entrypoint: python
command: ["-m", "alto.agent.manage", "--pid", "/tmp", "start", "-c", "/etc/lg-agent.json", "-D", "cernlg"]
command: ["-m", "alto.agent.manage", "--pid", "/tmp", "start", "-c", "/etc/lg-agent-geant.json", "-D", "geantlg"]
network_mode: "service:alto-frontend"
alto-cric-agent:
image: openalto/alto
Expand Down
File renamed without changes.
186 changes: 186 additions & 0 deletions etc/lg-agent-geant.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{
"namespace": "default",
"agent_class": "alto.agent.geantlg.LookingGlassAgent",
"uri": "https://lg.geant.org/rest/submit",
"listened_routers": [
"mx2.bra.sk.geant.net",
"mx1.mil2.it.geant.net",
"mx1.lon.uk.geant.net",
"rt1.bil.es.geant.net",
"rt2.rig.lv.geant.net",
"rt2.tal.ee.geant.net",
"rt1.chi.md.geant.net",
"rt1.por.pt.geant.net",
"rt2.chi.md.geant.net",
"mx1.mad.es.geant.net",
"rt1.kau.lt.geant.net",
"mx1.buc.ro.geant.net",
"mx1.pra.cz.geant.net",
"mx1.bud.hu.geant.net",
"rt1.kie.ua.geant.net",
"rt2.ams.nl.geant.net",
"amt1.fra.de.re0.geant.net",
"mx2.bru.be.geant.net",
"mx1.gen.ch.geant.net",
"rt1.tal.ee.geant.net",
"rt1.rig.lv.geant.net",
"rt1.mar.fr.geant.net",
"mx1.fra.de.geant.net",
"mx1.dub2.ie.geant.net",
"rt1.bra.sk.geant.net",
"mx1.poz.pl.geant.net",
"rt2.bra.sk.geant.net",
"mx1.sof.bg.geant.net",
"mx2.zag.hr.geant.net",
"mx2.lis.pt.geant.net",
"mx1.par.fr.geant.net",
"rt1.mil2.it.geant.net",
"mx2.lju.si.geant.net",
"mx1.lon2.uk.geant.net",
"rt2.kie.ua.geant.net",
"rt2.kau.lt.geant.net",
"mx1.vie.at.geant.net",
"mx1.dub.ie.geant.net",
"mx1.ath2.gr.geant.net",
"mx1.ham.de.geant.net",
"mx2.ath.gr.geant.net",
"mx1.ams.nl.geant.net",
"amt1.lon2.uk.re0.geant.net"
],
"refresh_interval": 300,
"prefixes": [
"14.139.119.64/26",
"18.12.0.0/20",
"62.40.0.0/16",
"64.57.30.128/25",
"67.58.50.0/28",
"72.36.0.0/16",
"81.180.86.0/24",
"85.120.46.0/24",
"85.122.16.0/20",
"85.143.115.32/27",
"90.147.0.0/16",
"109.105.124.0/22",
"117.103.96.0/20",
"128.104.227.0/24",
"128.111.120.96/28",
"128.142.0.0/16",
"128.211.0.0/16",
"128.227.0.0/16",
"128.250.185.224/27",
"129.15.40.0/22",
"129.59.0.0/16",
"129.93.0.0/16",
"129.107.255.0/24",
"129.114.0.0/16",
"130.199.0.0/16",
"130.246.0.0/16",
"131.154.128.0/17",
"131.169.0.0/16",
"131.225.0.0/16",
"132.195.124.0/23",
"132.206.245.224/27",
"133.11.0.0/16",
"134.61.24.0/22",
"134.75.0.0/16",
"134.79.0.0/16",
"134.130.9.64/29",
"134.158.0.0/16",
"137.138.0.0/16",
"137.164.26.136/31",
"137.226.38.108/30",
"138.44.224.6/31",
"140.109.0.0/16",
"140.110.122.96/28",
"140.115.0.0/16",
"140.181.2.0/24",
"140.221.0.0/16",
"141.34.0.0/16",
"141.108.0.0/16",
"142.150.188.0/24",
"142.244.0.0/16",
"144.16.0.0/16",
"144.92.180.0/23",
"144.206.0.0/16",
"145.100.32.0/22",
"146.83.90.0/24",
"146.179.232.0/22",
"147.231.0.0/16",
"149.156.0.0/16",
"150.99.0.0/16",
"150.244.246.0/23",
"150.254.0.0/16",
"152.84.101.0/24",
"153.5.0.0/16",
"155.230.20.0/22",
"156.110.41.0/24",
"157.82.112.0/21",
"157.180.0.0/16",
"159.93.0.0/16",
"161.9.255.0/24",
"161.200.0.0/16",
"169.228.130.0/23",
"185.141.124.192/27",
"185.207.88.0/24",
"188.1.153.0/24",
"188.184.0.0/16",
"188.185.0.0/17",
"192.5.207.0/24",
"192.12.0.0/16",
"192.16.166.0/24",
"192.17.10.72/30",
"192.33.128.0/24",
"192.41.0.0/16",
"192.43.208.0/24",
"192.54.0.0/16",
"192.65.183.0/24",
"192.84.0.0/16",
"192.101.0.0/16",
"192.108.0.0/16",
"192.111.0.0/16",
"192.135.0.0/16",
"192.170.224.0/19",
"192.188.182.0/24",
"192.207.64.0/24",
"192.231.127.0/24",
"193.40.0.0/16",
"193.48.0.0/16",
"193.109.172.0/24",
"193.205.0.0/16",
"193.206.0.0/16",
"193.231.25.224/27",
"193.239.0.0/16",
"194.171.0.0/16",
"194.176.164.0/22",
"194.190.165.0/24",
"194.249.156.0/24",
"195.70.215.128/26",
"195.113.0.0/16",
"195.251.201.128/26",
"198.32.0.0/16",
"198.51.111.0/24",
"198.124.80.0/23",
"199.241.165.64/26",
"200.17.30.0/24",
"200.133.193.160/27",
"200.136.60.0/24",
"200.143.233.0/27",
"202.13.0.0/16",
"202.28.0.0/16",
"202.29.12.0/24",
"202.38.128.0/23",
"202.44.204.0/24",
"202.122.0.0/16",
"202.140.160.0/19",
"202.169.168.0/22",
"202.179.241.216/30",
"202.180.40.0/27",
"203.158.4.0/24",
"203.185.0.0/16",
"205.189.32.79/32",
"206.12.0.0/16",
"210.25.189.248/30",
"212.111.195.192/26",
"213.135.0.0/16"
]
}
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ install_requires =
lxml
service
gunicorn
xmltodict


[options.packages.find]
Expand Down
Loading