{"id":19756639,"url":"https://github.com/esnet/oscars-topology-json","last_synced_at":"2025-10-06T13:21:10.369Z","repository":{"id":17870395,"uuid":"20806579","full_name":"esnet/oscars-topology-json","owner":"esnet","description":"Publishes the OSCARS NMWG topology and list of circuits in a JSON format","archived":false,"fork":false,"pushed_at":"2014-06-13T14:54:40.000Z","size":180,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-09-05T05:49:14.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-13T14:20:10.000Z","updated_at":"2019-08-13T15:43:42.000Z","dependencies_parsed_at":"2022-08-04T21:15:43.886Z","dependency_job_id":null,"html_url":"https://github.com/esnet/oscars-topology-json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/esnet/oscars-topology-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Foscars-topology-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Foscars-topology-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Foscars-topology-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Foscars-topology-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esnet","download_url":"https://codeload.github.com/esnet/oscars-topology-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Foscars-topology-json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278616586,"owners_count":26016379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T03:16:30.878Z","updated_at":"2025-10-06T13:21:10.351Z","avatar_url":"https://github.com/esnet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"OSCARS JSON Topology Publisher\n==============================\n\nThis project shares the OSCARS NMWG topology and circuit list as a JSON file.\n\nSystem Requirements\n-------------------\n * CentOS 6 or newer\n * Python 2.6 or newer\n * OSCARS 0.6 or newer\n\nInstalling\n----------\n\n1. Checkout the project from git\n   ```\ngit clone https://github.com/esnet/oscars-topology-json.git ./oscars-topology-json\n   ```\n\n2. Move to */opt/topology_publisher*\n   ```\nmv oscars-topology-json /opt/topology_publisher\n   ```\n\n3. Edit database and XML file properties in *bin/topology_publisher.py*\n\n   ```python\nclass EomplsIDRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):\n    dbhost='localhost' #database host\n    dbuser='oscars' #database user\n    dbpass='mypass' #database password\n    dbname='eomplspss' #don't change\n    rmdbname='rm' #don't change\n    xml_files = [ #NMWG files to publish\n        \"/opt/topology_publisher/topologies/esnet-cp.xml\",\n        \"/opt/topology_publisher/topologies/esnet-ps.xml\"\n    ]\n   ```\n\n4. Install the start-up scripts\n\n   ```\nmv init_scripts/topology_publisher /etc/init.d/topology_publisher\n   ```\n\n5. Set to boot on start-up\n\n   ```\nchkconfig --add topology_publisher\nchkconfig topology_publisher on\n   ```\n\nRunning\n-------\n\n###Starting the service\n\n```\n/etc/init.d/topology-publisher start\n```\n\n###Stopping the service\n\n```\n/etc/init.d/topology-publisher stop\n```\n###Restarting the service\n\n```\n/etc/init.d/topology-publisher restart\n```\n\n###Checking if service is running\n\n```\n/etc/init.d/topology-publisher status\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesnet%2Foscars-topology-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesnet%2Foscars-topology-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesnet%2Foscars-topology-json/lists"}