Skip to content

Commit 2676a28

Browse files
author
kkumara3
committed
added cliconfig
1 parent 83e830e commit 2676a28

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

client/cisco_grpc_client.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@ def getoper (self, path):
105105
objects += response.yangjson
106106
return objects
107107

108+
def cliconfig(self, cli):
109+
"""Post of CLI config commands in text
110+
:param data: cli show
111+
:type data: str
112+
:return: Return the response object
113+
:rtype: str
114+
"""
115+
message = ems_grpc_pb2.CliConfigArgs(cli = cli)
116+
response = self._stub.CliConfig(message, self._timeout, metadata = self._metadata)
117+
return response
118+
108119
def showcmdtextoutput (self, cli):
109120
""" Get of CLI show commands in text
110121
:param data: cli show

0 commit comments

Comments
 (0)