Skip to content

Commit

Permalink
[plugin]: Adding Dell platform in switch connection plugin (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
chitra-raghavan authored and Shuotian Cheng committed Nov 8, 2017
1 parent 8cba861 commit 4579239
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/plugins/connection/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def _spawn_connect(self):
self.sku = 'nxos'
if 'MLNX-OS' in client.before:
self.sku = 'mlnx_os'
if 'Dell' in client.before:
self.sku = 'dell'

if self.sku == 'mlnx_os':
self.hname = ' '.join(self.before_backup[-3:])
Expand Down

0 comments on commit 4579239

Please sign in to comment.