{"id":31772988,"url":"https://github.com/kb-perbyte/dme","last_synced_at":"2025-10-10T04:19:22.258Z","repository":{"id":298301160,"uuid":"995193367","full_name":"KB-perByte/dme","owner":"KB-perByte","description":"An Ansible Collection to manage Cisco appliances supporting Data Management Engine (DME).","archived":false,"fork":false,"pushed_at":"2025-09-22T19:35:11.000Z","size":277,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-22T20:39:39.044Z","etag":null,"topics":["ansible","ansible-collections","cisco","dme","httpapi","network","networking","nxapi","nxos","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KB-perByte.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS","copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-03T05:36:00.000Z","updated_at":"2025-09-22T19:36:52.000Z","dependencies_parsed_at":"2025-06-10T12:19:16.716Z","dependency_job_id":"4dcb170a-e5db-4342-b32b-217770415973","html_url":"https://github.com/KB-perByte/dme","commit_stats":null,"previous_names":["kb-perbyte/dme_nxos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KB-perByte/dme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-perByte%2Fdme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-perByte%2Fdme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-perByte%2Fdme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-perByte%2Fdme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KB-perByte","download_url":"https://codeload.github.com/KB-perByte/dme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KB-perByte%2Fdme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002685,"owners_count":26083442,"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-10T02:00:06.843Z","response_time":62,"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":["ansible","ansible-collections","cisco","dme","httpapi","network","networking","nxapi","nxos","python"],"created_at":"2025-10-10T04:19:21.124Z","updated_at":"2025-10-10T04:19:22.250Z","avatar_url":"https://github.com/KB-perByte.png","language":"Python","readme":"# Cisco DME Ansible Collection\n\nAn Ansible Collection to manage Cisco appliances supporting Data Management Engine (DME).\n\n## Description\n\nThis collection provides modules and plugins to interact with Cisco devices using the Data Management Engine (DME) REST API. The DME is available on various Cisco platforms including NX-OS switches and provides a programmatic interface for configuration management and monitoring.\n\n## Requirements\n\n- Ansible \u003e= 2.16.0\n- Python \u003e= 3.6\n- `ansible.netcommon` collection\n- `ansible.utils` collection\n\n## Installation\n\n### From Ansible Galaxy\n\n```bash\nansible-galaxy collection install cisco.dme\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/KB-perByte/dme.git\ncd dme\nansible-galaxy collection build\nansible-galaxy collection install cisco-dme-*.tar.gz\n```\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for detailed release notes and changes.\n\nFor contributors: See [CHANGELOG_GUIDE.md](CHANGELOG_GUIDE.md) for information on how to add changelog entries.\n\n## Modules\n\n### dme_command\n\nFetch arbitrary DME model data based on node class or distinguished name.\n\n**Parameters:**\n- `read_class`: Get objects of a specific DME class\n- `read_dn`: Get specific managed object details by distinguished name\n\n### dme_validate\n\nValidate and convert configuration on DME managed devices.\n\n**Parameters:**\n- `lines`: Configuration commands to validate\n- `parents`: Parent configuration context\n- `src`: Path to configuration file\n\n### dme_config\n\nApply configuration using DME model data.\n\n**Parameters:**\n- `config`: DME model configuration to apply\n\n## Connection Plugin\n\n### dme\n\nHttpApi plugin for Cisco DME REST API connections.\n\n## Usage Examples\n\n### Inventory Configuration\n\n```ini\n[dme_switches]\nswitch1 ansible_host=192.168.1.100\n\n[dme_switches:vars]\nansible_network_os=cisco.dme.dme\nansible_user=admin\nansible_password=password\nansible_connection=ansible.netcommon.httpapi\nansible_httpapi_port=443\nansible_httpapi_use_ssl=yes\nansible_httpapi_validate_certs=no\n```\n\n### Basic Usage\n\n```yaml\n---\n- name: DME Configuration Example\n  hosts: dme_switches\n  gather_facts: false\n  tasks:\n    - name: Get interface information\n      cisco.dme.dme_command:\n        read_dn:\n          entry: \"sys/intf/phys-[eth1/1]\"\n          rsp_prop_include: \"config-only\"\n\n    - name: Validate configuration\n      cisco.dme.dme_validate:\n        lines:\n          - description \"Management Interface\"\n          - no shutdown\n        parents: interface Ethernet1/1\n      register: validation_result\n\n    - name: Apply configuration\n      cisco.dme.dme_config:\n        config: \"{{ validation_result.model }}\"\n      when: validation_result.valid\n```\n\n### Advanced Usage\n\n```yaml\n---\n- name: Advanced DME Operations\n  hosts: dme_switches\n  gather_facts: false\n  tasks:\n    - name: Get all IPv4 ACLs\n      cisco.dme.dme_command:\n        read_class:\n          entry: \"ipv4aclACL\"\n          rsp_prop_include: \"config-only\"\n\n    - name: Get system information with subtree\n      cisco.dme.dme_command:\n        read_dn:\n          entry: \"sys\"\n          rsp_subtree: \"full\"\n          query_target: \"subtree\"\n          target_subtree_class: \"topSystem\"\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Add tests if applicable\n5. Submit a pull request\n\n## Support\n\nFor issues and questions:\n- GitHub Issues: https://github.com/KB-perByte/dme/issues\n- Repository: https://github.com/KB-perByte/dme\n\n## License\n\nGNU General Public License v3.0+\n\nSee [LICENSE](LICENSE) for full license text.\n\n## Author\n\n- Sagar Paul (@KB-perByte)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkb-perbyte%2Fdme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkb-perbyte%2Fdme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkb-perbyte%2Fdme/lists"}