File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
#!/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.
2
23
"""
3
- Wraps gNMI RPCs with a reasonably useful CLI for interacting with network elements.
4
24
25
+ """
26
+ Wraps gNMI RPCs with a reasonably useful CLI for interacting with network elements.
27
+ Supports Capabilities, Subscribe, Get, and Set.
5
28
6
29
Command parsing sourced from this wonderful blog by Chase Seibert
7
30
https://chase-seibert.github.io/blog/2014/03/21/python-multilevel-argparse.html
You can’t perform that action at this time.
0 commit comments