Add junos_banner declartive module (#25826)

* Add junos_banner declartive module

*  junos_banner implementation
*  Integration test for junos_banner
*  Integration test for net_banner (junos)
*  Minor fixes

* Minor doc change
This commit is contained in:
Ganesh Nalawade 2017-06-18 01:32:48 +05:30 committed by GitHub
commit 450263e934
20 changed files with 508 additions and 16 deletions

View file

@ -37,7 +37,7 @@ options:
- Specifies which banner that should be
configured on the remote device.
required: true
choices: ['login', 'banner']
choices: ['login', 'motd']
text:
description:
- The banner text that should be
@ -85,4 +85,15 @@ commands:
- this is my login banner
- that contains a multiline
- string
rpc:
description: load-configuration RPC send to the device
returned: when configuration is changed on device
type: string
sample: >
<system>
<login>
<message>this is my login banner</message>
</login>
</system>"
"""