Trishna Guha
48ecbb8fb9
fix connection gets overridden by network_cli for transport nxapi,eapi net_* modules ( #34778 )
...
* fix connection gets overridden by network_cli for transport nxapi,eapi net_* modules
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Define functions in individual action plugins to avoid code duplication
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add net_* eos tests for eapi
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update plugin code
2018-01-15 13:16:41 +05:30
Ricardo Carrillo Cruz
b81209c187
Fix multiple EOS EAPI code and test issues ( #26651 )
2017-07-11 19:28:33 +02:00
Ricardo Carrillo Cruz
13b2f11139
Do not assert session name on idempotent eos banner ( #23402 )
...
* Check for proper response key on eos_banner map_config_to_obj
If we run the task with 'login' banner, the 'show banner' command
will return a dict containing key 'loginBanner'.
However for motd, it will just return 'motd'.
Yay naming consistency!
* Do not assert session exists on eos_banner response not changing device
2017-04-07 15:44:06 +02:00
Ricardo Carrillo Cruz
ce9826d76e
Fix eos_banner basic-motd eapi asserts ( #23398 )
...
The commands in EAPI does not contain the plain command sent to the
device as a one liner, but it is split in cmd/input keys.
2017-04-07 14:18:40 +02:00
Ricardo Carrillo Cruz
2cc2b8fb4d
Add missing provider to eos_banner basic-motd eapi test ( #23396 )
...
Otherwise this stalls and timeouts, it doesn't have creds to run.
2017-04-07 13:39:33 +02:00
Ricardo Carrillo Cruz
4571ff0b52
Fix eapi basic-login asserts ( #23318 )
...
The asserts where not checking the commands sent to the device
2017-04-05 20:37:58 +02:00
Ricardo Carrillo Cruz
d268471739
Fix basic-login eapi tests for eos_banner ( #23304 )
...
We should be passing the provider dict, not the transport.
2017-04-05 19:11:12 +02:00
John R Barker
89e4226051
add missing files ( #22496 )
2017-03-10 15:29:36 +00:00