Closed Akasurde closed 2 years ago
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @Qalthos @beardymcbeards @samdoran click here for bot help
@Akasurde, just so you are aware we have a dedicated Working Group for network.
You can find other people interested in this in #ansible-network
on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community
My prompts are: (edgepoint-s16) > (edgepoint-s16) # (edgepoint-s16) (Config)#
and those don't match
re.compile(br"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$"),
from plugins/terminal/edgeos.py
For my testing I have added
re.compile(br"[\r\n]?(?:\([^\)]+\)) (?:\([^\)]+\))?(?:>|#) ?$"),
to the list to account for my prompts and it seems to work for me so far.
cc @jplitza @virtualguy click here for bot help
notabug As you already found out in #183, EdgeOS is the OS of the Edgerouter series, whereas you are trying to manage an Edgeswitch, which is completely different.
How hard could it be to extend current module to support Edgeswitches or to port this module features in another Ansible module ? If I'm not mistaken, both Edgerouter and Edgeswitch use SSH with a configure mode to gain reconfiguration rights (many Network devices also have this mechanism)
Unfortunately the shell interface on the Edgeswitch is quite different. It would likely need to be added as a different device type rather than EdgeOS
From @seby01120 on Jul 31, 2020 01:32
SUMMARY
edgeos_command module fails with timeout error, even though I can connect to the target device by SSH
ISSUE TYPE
COMPONENT NAME
edgeos_command
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Target device : EdgeSwitch, firmware 1.9.1
STEPS TO REPRODUCE
Launching the playbook below against a EdgeSwitch with version 1.9.1. ansible-playbook -i inventories/hosts ubiquity-test.yml --extra-var "hst=10.240.0.115"
EXPECTED RESULTS
Get the result of the command "show version" on an edgeswitch
ACTUAL RESULTS
Copied from original issue: ansible/ansible#71006