Skip to content

Commit c675705

Browse files
committed
Add more OS aliases
1 parent 06ab9ea commit c675705

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/cisco_gnmi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030
from .xe import XEClient
3131
from .builder import ClientBuilder
3232

33-
__version__ = "1.0.5"
33+
__version__ = "1.0.6"

src/cisco_gnmi/builder.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,13 @@ class ClientBuilder(object):
7676

7777
os_class_map = {
7878
None: Client,
79+
"None": Client,
7980
"IOS XR": XRClient,
81+
"XR": XRClient,
8082
"NX-OS": NXClient,
83+
"NX": NXClient,
8184
"IOS XE": XEClient,
85+
"XE": XEClient
8286
}
8387

8488
def __init__(self, target):

0 commit comments

Comments
 (0)