{"id":32971845,"url":"https://github.com/renard/cidr","last_synced_at":"2025-11-16T00:01:13.760Z","repository":{"id":28568821,"uuid":"32086518","full_name":"renard/cidr","owner":"renard","description":"Cidr Is not as Dumb as Rancid","archived":true,"fork":false,"pushed_at":"2018-06-20T14:22:27.000Z","size":37,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-18T03:51:21.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-12T16:03:01.000Z","updated_at":"2023-01-28T02:00:39.000Z","dependencies_parsed_at":"2022-09-03T09:11:28.452Z","dependency_job_id":null,"html_url":"https://github.com/renard/cidr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renard/cidr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renard%2Fcidr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renard%2Fcidr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renard%2Fcidr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renard%2Fcidr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renard","download_url":"https://codeload.github.com/renard/cidr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renard%2Fcidr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284640341,"owners_count":27039411,"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-11-15T02:00:06.050Z","response_time":57,"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":"2025-11-13T05:00:31.832Z","updated_at":"2025-11-16T00:01:13.747Z","avatar_url":"https://github.com/renard.png","language":"Python","funding_links":[],"categories":["Tools","Online Parser"],"sub_categories":["NETCONF","TTP"],"readme":"[![Tweet this](http://img.shields.io/badge/%20-Tweet-00aced.svg)](https://twitter.com/intent/tweet?tw_p=tweetbutton\u0026via=renard_0\u0026url=https%3A%2F%2Fgithub.com%2Frenard%2Fcidr\u0026text=%23Cidr%20Is%20not%20as%20Dumb%20as%20Rancid%2C%20backup%20your%20network%20devices%20configuration.)\n[![Follow me on twitter](http://img.shields.io/badge/Twitter-Follow-00aced.svg)](https://twitter.com/intent/follow?region=follow_link\u0026screen_name=renard_0\u0026tw_p=followbutton)\n\n\n# NOTES\n\nThis is an early stage.\n\nYou can check the [manpage](cidr.1.md).\n\nMore documentation has to come. For now you have to read the code. Sorry guys!\n\n## install exscript\n\nYou can check my\n[Launchpad page](https://launchpad.net/~renard0/+archive/ubuntu/utils/) to\nget `exscript` debian package. Please note that this package has been\ngenerated for `trusty` and might also work on other distos. Let me know if\nthis works for you.\n\n\nBasicaly you have to put in your `/etc/apt/sources.list`:\n\n    deb http://ppa.launchpad.net/renard0/utils/ubuntu trusty main \n\n\nand run as `root`:\n\n\tapt-get update\n\tapt-get install exscript\n\n\n\n## Dependancy\n\n- exscript: https://github.com/knipknap/exscript\n- click: https://github.com/mitsuhiko/click\n\n## Run\n\nConfigure `cidr.yml` file with devices and run:\n\n    ./cidr -v --config cidr.yml backup-config -t 64\n\n# Supported devices\n\nHere is a list of devices on witch `cidr` has been successfuly run. Some\nother may work as well. Please let me know if you have other working\ndevices.\n\n* Cisco\n  * 2800 Series\n  * 7300 Series\n  * 7600 Series\n  * ASR9K Series\n  * ASA Series\n  * C2960X Series\n  * UC520 Series\n\n* Dell\n  * PowerConnect M6220\n\n* Foundry\n  * MLX NetIron\n  * FLS FLS-48G\n\n* Juniper\n  * MX80\n  * Ex4550 Series\n\n* Oracle\n  * Acme Packet Net-Net 3820 SBC\n\n\nPlease note that for some devices (such as Acme Packet) The configuration\nmight not be reimported as it.\n\n# Known issues\n\n\n* `RequirementParseError: Invalid requirement, parse error at \"''\"`\n\nIn some environment you may experience errors like:\n\n```\nTraceback (most recent call last):\n  File \"/usr/local/lib/python2.7/dist-packages/Exscript/workqueue/job.py\", line 78, in run\n    self.function(self)\n  File \"/usr/local/lib/python2.7/dist-packages/Exscript/queue.py\", line 101, in _wrapped\n    conn.connect(host.get_address(), host.get_tcp_port())\n  File \"/usr/local/lib/python2.7/dist-packages/Exscript/protocols/protocol.py\", line 609, in connect\n    return self._connect_hook(self.host, port)\n  File \"/usr/local/lib/python2.7/dist-packages/Exscript/protocols/ssh2.py\", line 299, in _connect_hook\n    self.client = self._paramiko_connect()\n  File \"/usr/local/lib/python2.7/dist-packages/Exscript/protocols/ssh2.py\", line 162, in _paramiko_connect\n    t.start_client()\n  File \"/usr/lib/python2.7/dist-packages/paramiko/transport.py\", line 493, in start_client\n    raise e\nRequirementParseError: Invalid requirement, parse error at \"''\"\n```\n\nThis happens randomly without any particular reason. This seems to be\nrelated to a `paramiko`, `pyca`, `packaging` or `setuptools` bug in\nmulti-threading mode. See:\n\n* https://github.com/paramiko/paramiko/issues/931\n* https://github.com/pyca/cryptography/issues/3495\n* https://github.com/pypa/packaging/issues/104\n\nThe best way is to reduce the number of threads.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenard%2Fcidr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenard%2Fcidr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenard%2Fcidr/lists"}