double_helix

所属分类:数值算法/人工智能
开发工具:Jinja
文件大小:1499KB
下载次数:0
上传日期:2022-02-19 22:31:15
上 传 者sh-1993
说明:  思科数字网络架构中心(DNA-C)REST API的思维导图
(Mind Maps of Cisco Digital Network Architecture Centre (DNA-C) REST APIs)

文件列表:
DNAC Sites Mind Map.md (2054, 2022-02-20)
DNAC Sites.csv (746, 2022-02-20)
DNAC Sites.html (126, 2022-02-20)
DNAC Sites.md (16, 2022-02-20)
LICENSE (35149, 2022-02-20)
MindMaps (0, 2022-02-20)
MindMaps\DNAC (0, 2022-02-20)
MindMaps\DNAC\Assurance (0, 2022-02-20)
MindMaps\DNAC\Assurance\Assurance Sensor Test Results.md (1024, 2022-02-20)
MindMaps\DNAC\Devices (0, 2022-02-20)
MindMaps\DNAC\Devices\c3504.abc.inc.md (10180, 2022-02-20)
MindMaps\DNAC\Devices\leaf1.abc.inc.md (50706, 2022-02-20)
MindMaps\DNAC\Devices\leaf2.abc.inc.md (49721, 2022-02-20)
MindMaps\DNAC\Devices\spine1.abc.inc.md (72703, 2022-02-20)
MindMaps\DNAC\Flow Analysis (0, 2022-02-20)
MindMaps\DNAC\Flow Analysis\Flow Analysis.md (1137, 2022-02-20)
MindMaps\DNAC\Network Health.md (866, 2022-02-20)
MindMaps\DNAC\Projects (0, 2022-02-20)
MindMaps\DNAC\Projects\Projects.md (6267, 2022-02-20)
MindMaps\DNAC\SWIM (0, 2022-02-20)
MindMaps\DNAC\SWIM\SWIM.md (1065, 2022-02-20)
MindMaps\DNAC\Sites (0, 2022-02-20)
MindMaps\DNAC\Sites\Global Members.md (5714, 2022-02-20)
MindMaps\DNAC\Sites\SJC-20 Members.md (1483, 2022-02-20)
MindMaps\DNAC\Sites\San Jose Members.md (1485, 2022-02-20)
MindMaps\DNAC\Sites\Site Health.md (6259, 2022-02-20)
MindMaps\DNAC\Sites\Sites.md (2053, 2022-02-20)
MindMaps\DNAC\Templates (0, 2022-02-20)
MindMaps\DNAC\Templates\Base Config Template.md (2270, 2022-02-20)
** (6406, 2022-02-20)
** (5149, 2022-02-20)
** (1415, 2022-02-20)
MindMaps\DNAC\Templates\For-Loop-Jinja Template.md (216, 2022-02-20)
MindMaps\DNAC\Templates\For-Loop-Velocity Template.md (225, 2022-02-20)
MindMaps\DNAC\Templates\IPsec 1 Branch for Cloud Router - System Default Template.md (4612, 2022-02-20)
MindMaps\DNAC\Templates\IPsec 2 Branch for Cloud Router - System Default Template.md (6429, 2022-02-20)
MindMaps\DNAC\Templates\IPsec for Branch Router - System Default Template.md (5674, 2022-02-20)
MindMaps\DNAC\Templates\IPsec for Cloud Router - System Default Template.md (3188, 2022-02-20)
MindMaps\DNAC\Templates\If-Condition-Jinja Template.md (224, 2022-02-20)
... ...

# double_helix Mind Maps of Cisco Digital Network Architecture Centre (DNA-C) REST APIs ![Device](https://github.com/images/sampledevice.png) ## Ready to Run with DevNet Always On Sandbox This repository is ready to go with the Cisco DevNet Always On Sandbox for DNA-C ! In your project directory, create your virtual environment ``` console python3 -m venv env ``` Activate (use) your new virtual environment (Linux): ``` console source env/bin/activate ``` Download or clone the brainfreeze repository: ``` console git clone https://github.com/automateyournetwork/double_helix.git ``` ``` console cd double_helix cd MindMaps python3 double_helix.py ``` ## Customization To run this against your own DNA-C Update the following: Update your target DNA-C FQDN / IP Address on lines 20 ```python dnac = "https://sandboxdnac.cisco.com" ``` You will need to generate a new Base*** encoded string to replace the Basic Authorization key on line 17 Using a Base*** encoder take your API authorized username and password and encode them username:password You will get a string like the Basic auth string on line 17 ZGV2bmV0dXNlcjpDaXNjbzEyMyE= ```python auth_headers = { 'Content-Type': 'application/json', 'Authorization': 'Basic ZGV2bmV0dXNlcjpDaXNjbzEyMyE=' } ``` ## View the Mindmaps Install the markmap VS Code Extension ![Mark Map](https://github.com/images/markmap.png) Open the markdown file and click the "Open as markmap"

近期下载者

相关文件


收藏者