Skip to content

Commit 355b534

Browse files
committed
super XEClient
1 parent 41249a2 commit 355b534

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cisco_gnmi/xe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ class XEClient(Client):
5252
>>> client = ClientBuilder('127.0.0.1:9339').set_os(
5353
... 'IOS XE'
5454
... ).set_secure_from_file(
55-
... 'client.crt',
55+
... 'rootCA.pem',
5656
... 'client.key',
57-
... 'rootCA.pem'
57+
... 'client.crt'
5858
... ).set_ssl_target_override().set_call_authentication(
5959
... 'admin',
6060
... 'its_a_secret'
@@ -341,4 +341,4 @@ def parse_xpath_to_gnmi_path(self, xpath, origin=None):
341341
else:
342342
# module name
343343
origin = xpath.split(":")[0]
344-
return super(XRClient, self).parse_xpath_to_gnmi_path(xpath, origin)
344+
return super(XEClient, self).parse_xpath_to_gnmi_path(xpath, origin)

0 commit comments

Comments
 (0)