Skip to content

Conversation

@nbeard49
Copy link

SUMMARY

Update the iosxr_banner module to allow exec banner configuration on IOS-XR devices

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

iosxr_banner

ADDITIONAL INFORMATION

It appears that updating the array in the choices function to include the 'exec' string allows this to work as expected. The 'exec' option can then be passed to the banner parameter in the module without issue. This has been tested locally against ASR9K/NCS routers.


@AAYUSH2091
Copy link
Contributor

@nbeard49 kindly add the change log , unit and integration test to confirm

@AAYUSH2091 AAYUSH2091 requested a review from Ruchip16 March 19, 2025 09:40
@Ruchip16 Ruchip16 marked this pull request as draft April 4, 2025 18:25
"""main entry point for module execution"""
argument_spec = dict(
banner=dict(required=True, choices=["login", "motd"]),
banner=dict(required=True, choices=["login", "motd", "exec"]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changes here done, how are you validating those?
also we need to do changes in rm_templates, argspec files as well and not just here as it is just a doc file, actual changes need to be implemented in argspec, rm_templates file

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants