Skip to content

Instantly share code, notes, and snippets.

View djw8605's full-sized avatar

Derek Weitzel djw8605

View GitHub Profile
import elasticsearch
import urllib3
import pandas as pd
# Get rid of insecure warning
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
es = elasticsearch.Elasticsearch(
['https://gracc.opensciencegrid.org/q'],
timeout=300, use_ssl=True, verify_certs=False)
from elasticsearch_dsl import A, Search
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from esmond_client.perfsonar.query import ApiConnect, ApiFilters
import datetime
filters = ApiFilters()
filters.ssl_verify = False
host = 'https://psmsu01.aglt2.org'
time_start = datetime.datetime.now()
time_end = datetime.datetime.now()
f = open("results.csv", 'w')
@djw8605
djw8605 / example-traceroute.json
Created December 2, 2019 21:14
Example traceroute
{
"meta":{
"subject_type":"point-to-point",
"input_destination":"psum01.itep.ru",
"org_metadata_key":"8db8fc86ce614a48b9929e7e01f4c53f",
"rsv-timestamp":"1575314643.55",
"tool_name":"pscheduler/traceroute",
"time_duration":"68.0",
"destination":"2001:67c:1bec:f069::74",
"summaries":0,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@djw8605
djw8605 / comparison.ipynb
Created May 5, 2019 16:35
Comparison of SGE and GRACC
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@djw8605
djw8605 / comparison-of-local-vs-gracc.ipynb
Created May 1, 2019 14:19
Comparison of Local vs. GRACC.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@djw8605
djw8605 / comparison-of-local-vs-gracc.ipynb
Created May 1, 2019 14:15
Comparison of Local vs. GRACC.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.