Trishna Guha
f170298332
fix nxos edit_config for httpapi and have uniform load_config ( #41358 )
...
* fix nxos load_config for httpapi and migrate to cliconf
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* address review comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* address review comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-06-14 22:02:12 +05:30
Nathaniel Case
91fd98a2bd
Complain if API response is not JSON ( #40966 )
2018-05-31 13:20:17 -04:00
Trishna Guha
a7421e8611
httpapi fix nxos ( #40806 )
...
* httpapi fix nxos
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_hsrp fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-05-29 21:43:34 +05:30
Nathaniel Case
0ad4b7b785
Fixes to httpapi for EAPI ( #40675 )
...
* Replace errant uses of str
* Hook up become to eapi
* Hook become up to nxapi, too
2018-05-24 14:25:19 -04:00
Nathaniel Case
d028a0257a
Change default output of NXAPI to text to match CLI ( #40607 )
...
* Default output format for nxapi now 'text'
* Apply json output to both types of input
* Add missing ConnectionError import to cliconf plugins
2018-05-23 10:09:50 -04:00
Nathaniel Case
e9d7fa0418
HTTP(S) API connection plugin ( #39224 )
...
* HTTPAPI connection
* Punt run_commands to cliconf or httpapi
* Fake enable_mode on eapi
* Pull changes to nxos
* Move load_config to edit_config for future-preparedness
* Don't fail on lldp disabled
* Re-enable check_rc on nxos' run_commands
* Reorganize nxos httpapi plugin for compatibility
* draft docs for connection: httpapi
* restores docs for connection:local for eapi
* Add _remote_is_local to httpapi
2018-05-17 18:47:15 -04:00