CiscoDevNet/python-viptela

viptela operations ok for vedge but nok for cedge

badr-bzh opened this issue · 0 comments

hello,
I used some attach detach register decomission operations from:
https://github.com/CiscoDevNet/python-viptela/blob/master/vmanage/api/device_templates.py

it worked for vedges but i have some errors for cedge, is it supposed to work for cedge without substanital changes ?
Or I need to do some adaptations to make it work for cedge ?

Example of erros i have :

(venv) ****@****:/home/****# robot example_cedge_viptela.robot
==============================================================================
Example Cedge Viptela :: example : attach, detach templates, add a vedgeclo...
==============================================================================
Detach Template                                                       | FAIL |
Dictionary '${vedge_device_detail}' has no key 'deviceIP'.
------------------------------------------------------------------------------
Decommission vEdge                                                    | PASS |
------------------------------------------------------------------------------
Register vEdge                                                        | PASS |
------------------------------------------------------------------------------
Attach Template                                                       | FAIL |
Dictionary '${vedge_device_detail}' has no key 'system-ip'.
------------------------------------------------------------------------------
Example Cedge Viptela :: example : attach, detach templates, add a... | FAIL |
4 tests, 2 passed, 2 failed
==============================================================================
Output:  /home/****/output.xml
Log:     /home/****/log.html
Report:  /home/****/report.html