Skip to content

Commit be3e58f

Browse files
committed
Add copyright header
1 parent f2cda6b commit be3e58f

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

src/cisco_gnmi/cli.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
11
#!/usr/bin/env python
2+
"""Copyright 2020 Cisco Systems
3+
All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are
7+
met:
8+
9+
* Redistributions of source code must retain the above copyright
10+
notice, this list of conditions and the following disclaimer.
11+
12+
The contents of this file are licensed under the Apache License, Version 2.0
13+
(the "License"); you may not use this file except in compliance with the
14+
License. You may obtain a copy of the License at
15+
16+
http://www.apache.org/licenses/LICENSE-2.0
17+
18+
Unless required by applicable law or agreed to in writing, software
19+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
20+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
21+
License for the specific language governing permissions and limitations under
22+
the License.
223
"""
3-
Wraps gNMI RPCs with a reasonably useful CLI for interacting with network elements.
424

25+
"""
26+
Wraps gNMI RPCs with a reasonably useful CLI for interacting with network elements.
27+
Supports Capabilities, Subscribe, Get, and Set.
528
629
Command parsing sourced from this wonderful blog by Chase Seibert
730
https://chase-seibert.github.io/blog/2014/03/21/python-multilevel-argparse.html

0 commit comments

Comments
 (0)