Here are the essential elements:
Required
-
The Cisco copyright and license notice HEADER text must be included at the top of every source code file (in a comment, docstring or other appropriate metadata element).
-
The copyright year in the header should be updated to the current year.
-
Never include your own name in the copyright notice.
Optional but Recommended
-
Project Metadata - In a comment, docstring or other appropriate metadata element include the following information for your project:
-
Author - The author's name and e-mail address.
-
Contributors - The names and e-mail addresses of the individuals who have contributed in creating the sample code.
-
Maintainers - If different from the author and contributors, the names and e-mail addresses of the individuals who maintain the sample code.
-
License - If a license metadata field is available, please include the license name:
Cisco Sample Code License, Version 1.1
-
Copyright - If a copyright metadata field is available, please include the copyright notice:
Copyright (c) <current year> Cisco and/or its affiliates.
-
If you create an example for a language or use case that we haven't included here and you feel it would help others, please submit a pull request with the additional example.