You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arista EOS uses port number translation, e.g. port 22 is ssh in Arista ACLs. When using port names with an - like bfd-echo will be used as bfd_echo internally
ISSUE TYPE
Bug Report
COMPONENT NAME
eos_acls (the corresponding facts module to be precisely)
From the second run on the configuration will be listed with ok status.
ACTUAL RESULTS
From the second run on the configuration will be listed with changed status.
Output commands:
"commands": [
"ip access-list test-acl",
"no 10",
"10 permit udp any any eq bfd-echo"
],
-> The first run will be configuring the ACL as expected, but from the second run on the ACEs with an - in the port name will be deleted and re-configured once again
SUMMARY
Arista EOS uses port number translation, e.g. port 22 is
ssh
in Arista ACLs. When using port names with an-
likebfd-echo
will be used asbfd_echo
internallyISSUE TYPE
COMPONENT NAME
eos_acls
(the corresponding facts module to be precisely)ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Arista EOS 4.28.4M
STEPS TO REPRODUCE
task.yml
:->
bfd-echo
as being configured in EOSEXPECTED RESULTS
From the second run on the configuration will be listed with
ok
status.ACTUAL RESULTS
From the second run on the configuration will be listed with
changed
status.Output
commands
:-> The first run will be configuring the ACL as expected, but from the second run on the ACEs with an
-
in the port name will be deleted and re-configured once againOutput
invocation
:Before:
After:
When the
have
variable will be filled thefacts
module foracl
will be called. Here the string conversion from-
to_
will happen:arista.eos/plugins/module_utils/network/eos/facts/acls/acls.py
Line 146 in 2342353
❓ What is that string conversion good for? Do we need this? I tested it without that code line and it's working for me
The text was updated successfully, but these errors were encountered: