napalm-automation-community / napalm-s350

NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx).
Apache License 2.0
16 stars 13 forks source link

Optional enable (force_no_enable) #67

Closed laherre closed 3 years ago

laherre commented 3 years ago

Add option _force_noenable default False, if True, driver connect to device but not send enable command.

qaxi commented 3 years ago

Cisco SMB switches do not have option to modify privileges mode, a lot of commands here will work in enable mode only (or user privilege 15 which i efectively the same). See #64 What device types did you test it on?

laherre commented 3 years ago

I test it on :

Identified in system description: "SG300-10P 10-Port Gigabit PoE Managed Switch". Identified in get_facts, model "SRW2008P-K9".

Functions tested without enable: