{"id":20589399,"url":"https://github.com/ciscodevnet/dcnm-rest-sample","last_synced_at":"2025-04-14T22:07:24.882Z","repository":{"id":142020382,"uuid":"136653655","full_name":"CiscoDevNet/dcnm-rest-sample","owner":"CiscoDevNet","description":"Sample client code for Cisco Data Center Network Manager REST API","archived":false,"fork":false,"pushed_at":"2019-06-21T21:19:15.000Z","size":54,"stargazers_count":10,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T22:07:16.340Z","etag":null,"topics":["nx-os","python","rest"],"latest_commit_sha":null,"homepage":"https://developer.cisco.com/site/data-center-network-manager","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CiscoDevNet.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,"governance":null}},"created_at":"2018-06-08T18:32:44.000Z","updated_at":"2025-02-21T14:02:14.000Z","dependencies_parsed_at":"2023-07-07T07:45:33.154Z","dependency_job_id":null,"html_url":"https://github.com/CiscoDevNet/dcnm-rest-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Fdcnm-rest-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Fdcnm-rest-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Fdcnm-rest-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Fdcnm-rest-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CiscoDevNet","download_url":"https://codeload.github.com/CiscoDevNet/dcnm-rest-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968835,"owners_count":21191162,"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","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":["nx-os","python","rest"],"created_at":"2024-11-16T07:29:06.514Z","updated_at":"2025-04-14T22:07:24.864Z","avatar_url":"https://github.com/CiscoDevNet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Center Network Management REST Sample\n\nThis is a collection of sample REST API client code for Cisco Data Center Network Manager (DCNM).\nFor DCNM software download and documentation, please refer to [http://www.cisco.com/go/dcnm](http://www.cisco.com/go/dcnm)\n\n## Prerequisites\t\nTested with Python3.6.4 and DCNM 10.3(1),10.4(1),10.4(2) and 11.0(1), 11.1(1)\n\n## Sample Code\n\n* manageLanSwitch.py: sample code to change device management state\n\n* deleteLanSwitch.py: sample code to delete an ethernet switch from DCNM\n\n* deleteSanFabricByName.py: sample code to delete an existing FC fabric from DCNM\n\n* discoverLanSwitch.py: sample code to discover ethernet switch \n\n* discoverSanFabric.py: sample code to discover FC/San fabric\n\n* getSwitchCPU.py: sample code to retrieve CPU chart for a specific switch\n\n* getAllAlarm.py: sample code to retrieve all outstanding alarms and associated events\n \n* getAllEtherInterfaceStats.py: sample code to retrieve all Ether interface stats\n\n* getAllFCInterfaceStats.py: sample code to retrieve all FC interface stats\n\n* getFCInterfaceStats.py: sample code to retrive switch FC interface statistics\n\n* getSwitchCPU.py: Sample code to retrieve FC/SAN switch CPU utilization.\n\n* getLanSwitchCPU.py: Sample code to retrieve Ethernet/LAN switch CPU utilization.\n\n* getLanSwitchMem.py: Sample code to retrieve Ethernet/LAN switch Memory utilization.\n\n* manageUser.py: Sample code to change local user password\n\n* getServerStatus.py: Sample code to get DCNM server running status\n \n* sanZoningSample.py: Sample code to create zone for init/target pair, activate zonset for fabric running enhanced zone mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciscodevnet%2Fdcnm-rest-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciscodevnet%2Fdcnm-rest-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciscodevnet%2Fdcnm-rest-sample/lists"}