-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add generate_switchport_trunk
func
#1062
Add generate_switchport_trunk
func
#1062
Conversation
@alezkv Can you please add a changelog and tests to justify the changes you have added? |
@alezkv unit tests should be fine! |
@KB-perByte, I have added some unit tests. Could you please check them? |
This should fix ansible-collections#1061 by splitting switchport vlan commands into several if resulted vlan lexeme will be more than 220 symbols.
85ce80e
to
bcb0db6
Compare
Cc @roverflow |
@alezkv PR looks great, doing some more testing, in the mean time can you add a changelog, you can take any other PR as reference for this. Thanks! |
Added changelog entry |
@roverflow humble reminder on this |
Hey @alezkv the changes look good to me, you need to make changes to the unit tests so that sanity passes. CC @roverflow |
@alezkv the UTs fail now! |
@KB-perByte, indeed, my apologies for the confusion. For now, sanity and unit tests should suffice, at least for one variant of the matrix. |
SUMMARY
Fixes #1061
Split single
swtichport {type} vlan
command into several if resulted vlan lexeme will be more than 220 symbols.ISSUE TYPE
COMPONENT NAME
cisco.ios.l2_interfaces