Code Exchange Repo Template

This repository is a template to be used when creating a new repository containing sample code, a sample application, or some other software related to Cisco technologies and to be made available for use by the Cisco DevNet community through Code Exchange.

Instructions

You have two options, if you have familiarity with Python, use the cookiecutter steps. Otherwise you can manually create a copy of this repo template.

Cookiecutter Automated Repo Creation

This process uses cookiecutter to auto-generate the files for you. This is helpful if you create multiple use cases.

Note: This template assumes the BSD 3-Clause License, you can change it be other licenses afterwards if that is not what you want.

  1. Issue this command pip install cookiecutter to get ready to use the template.
  2. Use this command and answer the questions: cookiecutter https://github.com/CiscoDevNet/code-exchange-repo-template
  3. Update the README, replacing the contents below as described in text within each section of the README. Feel free to combine or omit sections where appropriate.
  4. Update the LICENSE, replacing the file with the license selected for your code. See the Licensing info section of this README for more info.
  5. Delete these instructions and everything up to the Project Title from the README.
  6. Write some great software and submit it to Code Exchange and/or Automation Exchange.

Example

use-cases$ cookiecutter https://github.com/CiscoDevNet/code-exchange-repo-template
project_name [my-awesome-devnet-code-exchange-project]: my-first-project
project_description [baseline DevNet Code Exchange Project]: New Things to come!
author_name [Your Name Here]: User Name
author_email [youremail@domain.com]: user@cisco.com
use-cases$ tree
devnet-code-exchange/              my-first-project/
cookiecutter-devnet-code-exchange/ 
use-cases$ tree my-first-project/
my-first-project/
├── LICENSE
├── NOTICE
└── README.md

0 directories, 3 files
use-cases$

Manual Repo Creation

If you are only creating one use case, this process is probably easier.

  1. Create a new repository.
  2. Copy all the files inside manual-sample-repo into your new repository.
  3. Update the README, replacing the contents below as described in text within each section of the README. Feel free to combine or omit sections where appropriate.
  4. Update the LICENSE, replacing the file with the license selected for your code. See the Licensing info section of this README for more info.
  5. Delete these instructions and everything up to the Project Title from the README.
  6. Write some great software and submit it to Code Exchange and/or Automation Exchange.

Use Case

{{Use Case Title}} ===================================== {{Use Case SubTitle} (optional) Describe the use case for Automation Exchange entries here. [DevNet Automation Exchange](https://developer.cisco.com/network-automation/) provides shared code repositories for gathering information from your network, performing audits, activating policy changes, or managing applications, users, or devices. This file serves as a template to collect related links for Automation Exchange submissions. Use [GitHub Flavored Markdown](https://github.github.com/gfm/) formatting in this file. ## White Paper Provide links to related white papers: [CHANGE LINK AND TEXT TO REAL WHITE PAPER](http://www.url_of_your_whitepaper.com/) ## Related Sandbox Provide a link to a related DevNet Sandbox: [CHANGE EXAMPLE SANDBOX Multi-IOS Cisco Test Network Sandbox](https://devnetsandbox.cisco.com/RM/Diagram/Index/6b023525-4e7f-4755-81ae-05ac500d464a?diagramType=Topology) ## Links to DevNet Learning Labs Provide links to related Learning Labs or modules on DevNet: [CHANGE EXAMPLE Introduction to Model Driven Programmability(ex: NETCONF/YANG)](https://developer.cisco.com/learning/modules/intro-device-level-interfaces) ## Solutions on Ecosystem Exchange Provide links to related solutions on DevNet Ecosystem Exchange: [CHANGE EXAMPLE Physical Density Controls](https://developer.cisco.com/ecosystem/meraki/apps/5ed8fa69a0774c0a8cf97e9b/)
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.