This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cfg file in yaml (loaded at startup) | |
| # users: | |
| # jbalcas: | |
| # name: Justas Balcas | |
| # api_key: a123456789b | |
| # client_ip: 1.2.3.4 | |
| # xiyang: | |
| # name: Xi Yang | |
| # api_key: b987654321a | |
| # client_ip: 1.2.3.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class GlobusValidator: | |
| """Globus access token validator""" | |
| def __init__(self): | |
| cfg = getUserConfig() | |
| self.allowed_usernames = cfg.get("allowed_usernames", {}) | |
| self.globus_id = cfg.get("globus_id") | |
| self.globus_secret = cfg.get("globus_secret") | |
| self.globus_map = cfg.get("globus_map", {}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @prefix mrs: <http://schemas.ogf.org/mrs/2013/12/topology#> . | |
| @prefix nml: <http://schemas.ogf.org/nml/2013/03/base#> . | |
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
| @prefix schema1: <http://schemas.ogf.org/nml/2012/10/ethernet> . | |
| @prefix sd: <http://schemas.ogf.org/nsi/2013/12/services/definition#> . | |
| @prefix site: <urn:ogf:network:nrp-nautilus.io:2020> . | |
| @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
| mrs:SwitchingSubnet a rdfs:Class, | |
| rdfs:Resource . | |
| nml:Lifetime a rdfs:Class, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| "urn:ogf:network:icair.org:2013": | |
| name: "NSI_STARLIGHT" | |
| joint_net: False | |
| "urn:ogf:network:es.net:2013": | |
| name: "ESNET" | |
| joint_net: True | |
| "urn:ogf:network:stack-fabric:2024": | |
| name: "NSI_FABRIC" | |
| joint_net: True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| apiVersion: cert-manager.io/v1 | |
| kind: Issuer | |
| metadata: | |
| name: letsencrypt | |
| namespace: opennsa | |
| spec: | |
| acme: | |
| email: juztas@gmail.com | |
| preferredChain: "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Note: | |
| # This deployment file is designed for 'quickstart' of multus, easy installation to test it, | |
| # hence this deployment yaml does not care about following things intentionally. | |
| # - various configuration options | |
| # - minor deployment scenario | |
| # - upgrade/update/uninstall scenario | |
| # Multus team understand users deployment scenarios are diverse, hence we do not cover | |
| # comprehensive deployment scenario. We expect that it is covered by each platform deployment. | |
| --- | |
| apiVersion: apiextensions.k8s.io/v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import os | |
| import re | |
| import time | |
| import atexit | |
| import pathlib | |
| import copy | |
| import glob | |
| import subprocess | |
| import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| Wrapper for docker binary | |
| - If we are docker-run'ing a trusted image, add capabilities | |
| To enable, copy the program and set the following Condor config: | |
| DOCKER = /usr/local/libexec/condor-docker | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { "endpoints": [ | |
| { | |
| "name": "PNWG", | |
| "lat": 47.608013, | |
| "long": -122.335167, | |
| "type": "networkrm" | |
| }, | |
| { | |
| "name": "SACR", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import os | |
| import time | |
| import re | |
| import socket | |
| from subprocess import check_output, CalledProcessError | |
| from datetime import datetime, timedelta | |
| from t2Mon.common.configReader import ConfigReader | |
| from t2Mon.common.Utilities import checkConfigForDB | |
| from t2Mon.common.database.opentsdb import opentsdb |
NewerOlder