diff --git a/lib/ansible/modules/network/eos/eos_interface.py b/lib/ansible/modules/network/eos/eos_interface.py index a6503f5169..5d33882627 100644 --- a/lib/ansible/modules/network/eos/eos_interface.py +++ b/lib/ansible/modules/network/eos/eos_interface.py @@ -79,6 +79,7 @@ options: operationally up and C(down) means present and operationally C(down) default: present choices: ['present', 'absent', 'up', 'down'] +extends_documentation_fragment: eos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/eos/eos_l3_interface.py b/lib/ansible/modules/network/eos/eos_l3_interface.py index b5d2302b59..9a35dcf48e 100644 --- a/lib/ansible/modules/network/eos/eos_l3_interface.py +++ b/lib/ansible/modules/network/eos/eos_l3_interface.py @@ -48,6 +48,7 @@ options: be present or absent on remote device. default: present choices: ['present', 'absent'] +extends_documentation_fragment: eos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/eos/eos_linkagg.py b/lib/ansible/modules/network/eos/eos_linkagg.py index 45fd02d53f..86f4c59970 100644 --- a/lib/ansible/modules/network/eos/eos_linkagg.py +++ b/lib/ansible/modules/network/eos/eos_linkagg.py @@ -46,6 +46,7 @@ options: - State of the link aggregation group. default: present choices: ['present', 'absent'] +extends_documentation_fragment: eos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/eos/eos_lldp.py b/lib/ansible/modules/network/eos/eos_lldp.py index 150a3a0b40..3cd438658a 100644 --- a/lib/ansible/modules/network/eos/eos_lldp.py +++ b/lib/ansible/modules/network/eos/eos_lldp.py @@ -31,6 +31,7 @@ options: else if it is I(absent) it will be disabled. default: present choices: ['present', 'absent'] +extends_documentation_fragment: eos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/eos/eos_logging.py b/lib/ansible/modules/network/eos/eos_logging.py index a9d7a04b81..ec5e525f17 100644 --- a/lib/ansible/modules/network/eos/eos_logging.py +++ b/lib/ansible/modules/network/eos/eos_logging.py @@ -62,6 +62,7 @@ options: - State of the logging configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: eos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/eos/eos_static_route.py b/lib/ansible/modules/network/eos/eos_static_route.py index a6ed78bab7..7e5950567d 100644 --- a/lib/ansible/modules/network/eos/eos_static_route.py +++ b/lib/ansible/modules/network/eos/eos_static_route.py @@ -44,6 +44,7 @@ options: - State of the static route configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: eos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/eos/eos_vlan.py b/lib/ansible/modules/network/eos/eos_vlan.py index 03c11dd8c0..de6a2e2929 100644 --- a/lib/ansible/modules/network/eos/eos_vlan.py +++ b/lib/ansible/modules/network/eos/eos_vlan.py @@ -62,6 +62,7 @@ options: - State of the VLAN configuration. default: present choices: ['present', 'absent', 'active', 'suspend'] +extends_documentation_fragment: eos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/eos/eos_vrf.py b/lib/ansible/modules/network/eos/eos_vrf.py index 66ec30157f..2e1b236565 100644 --- a/lib/ansible/modules/network/eos/eos_vrf.py +++ b/lib/ansible/modules/network/eos/eos_vrf.py @@ -65,6 +65,7 @@ options: - State of the VRF configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: eos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/ios/ios_interface.py b/lib/ansible/modules/network/ios/ios_interface.py index 0f0a875a56..34ad10ee8f 100644 --- a/lib/ansible/modules/network/ios/ios_interface.py +++ b/lib/ansible/modules/network/ios/ios_interface.py @@ -77,6 +77,7 @@ options: operationally up and C(down) means present and operationally C(down) default: present choices: ['present', 'absent', 'up', 'down'] +extends_documentation_fragment: ios """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/ios/ios_l3_interface.py b/lib/ansible/modules/network/ios/ios_l3_interface.py index 99aea45798..826535f979 100644 --- a/lib/ansible/modules/network/ios/ios_l3_interface.py +++ b/lib/ansible/modules/network/ios/ios_l3_interface.py @@ -47,6 +47,7 @@ options: be present or absent on remote device. default: present choices: ['present', 'absent'] +extends_documentation_fragment: ios """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/ios/ios_linkagg.py b/lib/ansible/modules/network/ios/ios_linkagg.py index 96e15cd318..0a4c572b5e 100644 --- a/lib/ansible/modules/network/ios/ios_linkagg.py +++ b/lib/ansible/modules/network/ios/ios_linkagg.py @@ -42,6 +42,7 @@ options: - State of the link aggregation group. default: present choices: ['present', 'absent'] +extends_documentation_fragment: ios """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/ios/ios_lldp.py b/lib/ansible/modules/network/ios/ios_lldp.py index 613bd18643..b11f956899 100644 --- a/lib/ansible/modules/network/ios/ios_lldp.py +++ b/lib/ansible/modules/network/ios/ios_lldp.py @@ -31,6 +31,7 @@ options: else if it is I(absent) it will be disabled. default: present choices: ['present', 'absent'] +extends_documentation_fragment: ios """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/ios/ios_logging.py b/lib/ansible/modules/network/ios/ios_logging.py index 6ba3d3b4cc..7e3bc5654e 100644 --- a/lib/ansible/modules/network/ios/ios_logging.py +++ b/lib/ansible/modules/network/ios/ios_logging.py @@ -62,6 +62,7 @@ options: - State of the logging configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: ios """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/ios/ios_static_route.py b/lib/ansible/modules/network/ios/ios_static_route.py index cc97d104af..d26bcd843f 100644 --- a/lib/ansible/modules/network/ios/ios_static_route.py +++ b/lib/ansible/modules/network/ios/ios_static_route.py @@ -58,6 +58,7 @@ options: - State of the static route configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: ios """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/ios/ios_user.py b/lib/ansible/modules/network/ios/ios_user.py index 243df781d7..f7d91ea5e5 100644 --- a/lib/ansible/modules/network/ios/ios_user.py +++ b/lib/ansible/modules/network/ios/ios_user.py @@ -101,6 +101,7 @@ options: in the device active configuration default: present choices: ['present', 'absent'] +extends_documentation_fragment: ios """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/ios/ios_vlan.py b/lib/ansible/modules/network/ios/ios_vlan.py index 2a44940d37..9037120c93 100644 --- a/lib/ansible/modules/network/ios/ios_vlan.py +++ b/lib/ansible/modules/network/ios/ios_vlan.py @@ -50,6 +50,7 @@ options: - State of the VLAN configuration. default: present choices: ['present', 'absent', 'active', 'suspend'] +extends_documentation_fragment: ios """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/iosxr/iosxr_logging.py b/lib/ansible/modules/network/iosxr/iosxr_logging.py index 88b4a7e794..039fa163e5 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_logging.py +++ b/lib/ansible/modules/network/iosxr/iosxr_logging.py @@ -65,6 +65,7 @@ options: - Existential state of the logging configuration on the node. default: present choices: ['present', 'absent'] +extends_documentation_fragment: iosxr """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_banner.py b/lib/ansible/modules/network/junos/junos_banner.py index b4f1b14420..dd3f8ef95a 100644 --- a/lib/ansible/modules/network/junos/junos_banner.py +++ b/lib/ansible/modules/network/junos/junos_banner.py @@ -54,6 +54,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_interface.py b/lib/ansible/modules/network/junos/junos_interface.py index 7344dccc8c..40dccd96bb 100644 --- a/lib/ansible/modules/network/junos/junos_interface.py +++ b/lib/ansible/modules/network/junos/junos_interface.py @@ -86,6 +86,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_l3_interface.py b/lib/ansible/modules/network/junos/junos_l3_interface.py index 46e3ca20a7..e7f588d915 100644 --- a/lib/ansible/modules/network/junos/junos_l3_interface.py +++ b/lib/ansible/modules/network/junos/junos_l3_interface.py @@ -54,6 +54,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_linkagg.py b/lib/ansible/modules/network/junos/junos_linkagg.py index 9c3ad26476..2c9774f6e9 100644 --- a/lib/ansible/modules/network/junos/junos_linkagg.py +++ b/lib/ansible/modules/network/junos/junos_linkagg.py @@ -69,6 +69,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_lldp.py b/lib/ansible/modules/network/junos/junos_lldp.py index 6a2b775774..063800a4bf 100644 --- a/lib/ansible/modules/network/junos/junos_lldp.py +++ b/lib/ansible/modules/network/junos/junos_lldp.py @@ -56,6 +56,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_lldp_interface.py b/lib/ansible/modules/network/junos/junos_lldp_interface.py index e8b8e847c8..54228b7c67 100644 --- a/lib/ansible/modules/network/junos/junos_lldp_interface.py +++ b/lib/ansible/modules/network/junos/junos_lldp_interface.py @@ -45,6 +45,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_logging.py b/lib/ansible/modules/network/junos/junos_logging.py index b214834ab2..825da3ed73 100644 --- a/lib/ansible/modules/network/junos/junos_logging.py +++ b/lib/ansible/modules/network/junos/junos_logging.py @@ -73,6 +73,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_static_route.py b/lib/ansible/modules/network/junos/junos_static_route.py index 6289ff25f2..d8a942d420 100644 --- a/lib/ansible/modules/network/junos/junos_static_route.py +++ b/lib/ansible/modules/network/junos/junos_static_route.py @@ -61,6 +61,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_system.py b/lib/ansible/modules/network/junos/junos_system.py index d992c0d4c9..80fdba5fa9 100644 --- a/lib/ansible/modules/network/junos/junos_system.py +++ b/lib/ansible/modules/network/junos/junos_system.py @@ -66,6 +66,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_vlan.py b/lib/ansible/modules/network/junos/junos_vlan.py index 8b312f0276..c0d74301f1 100644 --- a/lib/ansible/modules/network/junos/junos_vlan.py +++ b/lib/ansible/modules/network/junos/junos_vlan.py @@ -55,6 +55,7 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/junos/junos_vrf.py b/lib/ansible/modules/network/junos/junos_vrf.py index 75663aecda..3dfaaf4eae 100644 --- a/lib/ansible/modules/network/junos/junos_vrf.py +++ b/lib/ansible/modules/network/junos/junos_vrf.py @@ -80,7 +80,9 @@ notes: - This module requires the netconf system service be enabled on the remote device being managed. - Tested against vSRX JUNOS version 15.1X49-D15.4, vqfx-10000 JUNOS Version 15.1X53-D60.4. +extends_documentation_fragment: junos """ + EXAMPLES = """ - name: Configure vrf configuration junos_vrf: diff --git a/lib/ansible/modules/network/nxos/nxos_banner.py b/lib/ansible/modules/network/nxos/nxos_banner.py index 7f02dd7039..b17ebf3dda 100644 --- a/lib/ansible/modules/network/nxos/nxos_banner.py +++ b/lib/ansible/modules/network/nxos/nxos_banner.py @@ -53,6 +53,7 @@ options: devices active running configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: nxos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/nxos/nxos_l3_interface.py b/lib/ansible/modules/network/nxos/nxos_l3_interface.py index e0ec310257..85968850f1 100644 --- a/lib/ansible/modules/network/nxos/nxos_l3_interface.py +++ b/lib/ansible/modules/network/nxos/nxos_l3_interface.py @@ -41,6 +41,7 @@ options: - State of the L3 interface configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: nxos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/nxos/nxos_lldp.py b/lib/ansible/modules/network/nxos/nxos_lldp.py index bc254a6d7a..e8345bcb8f 100644 --- a/lib/ansible/modules/network/nxos/nxos_lldp.py +++ b/lib/ansible/modules/network/nxos/nxos_lldp.py @@ -31,6 +31,7 @@ options: else if it is I(absent) it will be disabled. default: present choices: ['present', 'absent'] +extends_documentation_fragment: nxos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/nxos/nxos_logging.py b/lib/ansible/modules/network/nxos/nxos_logging.py index 6117b9386c..cf263deae4 100644 --- a/lib/ansible/modules/network/nxos/nxos_logging.py +++ b/lib/ansible/modules/network/nxos/nxos_logging.py @@ -61,6 +61,7 @@ options: - State of the logging configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: nxos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_banner.py b/lib/ansible/modules/network/vyos/vyos_banner.py index 43197dbb8d..4f8096c9af 100644 --- a/lib/ansible/modules/network/vyos/vyos_banner.py +++ b/lib/ansible/modules/network/vyos/vyos_banner.py @@ -55,6 +55,7 @@ options: devices active running configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_interface.py b/lib/ansible/modules/network/vyos/vyos_interface.py index 0b574b194f..c73168992d 100644 --- a/lib/ansible/modules/network/vyos/vyos_interface.py +++ b/lib/ansible/modules/network/vyos/vyos_interface.py @@ -83,6 +83,7 @@ options: operationally up and C(down) means present and operationally C(down) default: present choices: ['present', 'absent', 'up', 'down'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_l3_interface.py b/lib/ansible/modules/network/vyos/vyos_l3_interface.py index 71ee1ba241..e33b1f3e23 100644 --- a/lib/ansible/modules/network/vyos/vyos_l3_interface.py +++ b/lib/ansible/modules/network/vyos/vyos_l3_interface.py @@ -52,6 +52,7 @@ options: - State of the L3 interface configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_linkagg.py b/lib/ansible/modules/network/vyos/vyos_linkagg.py index 28b78c2201..adab99380c 100644 --- a/lib/ansible/modules/network/vyos/vyos_linkagg.py +++ b/lib/ansible/modules/network/vyos/vyos_linkagg.py @@ -56,6 +56,7 @@ options: - State of the link aggregation group. default: present choices: ['present', 'absent', 'up', 'down'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_lldp.py b/lib/ansible/modules/network/vyos/vyos_lldp.py index dee5453c42..712fe51dac 100644 --- a/lib/ansible/modules/network/vyos/vyos_lldp.py +++ b/lib/ansible/modules/network/vyos/vyos_lldp.py @@ -41,6 +41,7 @@ options: - State of the LLDP configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_lldp_interface.py b/lib/ansible/modules/network/vyos/vyos_lldp_interface.py index 892505bb23..88f0c9546e 100644 --- a/lib/ansible/modules/network/vyos/vyos_lldp_interface.py +++ b/lib/ansible/modules/network/vyos/vyos_lldp_interface.py @@ -46,6 +46,7 @@ options: - State of the LLDP configuration. default: present choices: ['present', 'absent', 'enabled', 'disabled'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_logging.py b/lib/ansible/modules/network/vyos/vyos_logging.py index 3c338603c9..90ce7d5089 100644 --- a/lib/ansible/modules/network/vyos/vyos_logging.py +++ b/lib/ansible/modules/network/vyos/vyos_logging.py @@ -57,6 +57,7 @@ options: - State of the logging configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_static_route.py b/lib/ansible/modules/network/vyos/vyos_static_route.py index 15ab350027..c09327d9fa 100644 --- a/lib/ansible/modules/network/vyos/vyos_static_route.py +++ b/lib/ansible/modules/network/vyos/vyos_static_route.py @@ -57,6 +57,7 @@ options: - State of the static route configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_user.py b/lib/ansible/modules/network/vyos/vyos_user.py index b5fc76ed8a..e43b7ef95f 100644 --- a/lib/ansible/modules/network/vyos/vyos_user.py +++ b/lib/ansible/modules/network/vyos/vyos_user.py @@ -93,6 +93,7 @@ options: in the device active configuration default: present choices: ['present', 'absent'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/lib/ansible/modules/network/vyos/vyos_vlan.py b/lib/ansible/modules/network/vyos/vyos_vlan.py index 278f5a3708..e298d5dbf9 100644 --- a/lib/ansible/modules/network/vyos/vyos_vlan.py +++ b/lib/ansible/modules/network/vyos/vyos_vlan.py @@ -53,6 +53,7 @@ options: - State of the VLAN configuration. default: present choices: ['present', 'absent'] +extends_documentation_fragment: vyos """ EXAMPLES = """ diff --git a/test/sanity/validate-modules/ignore.txt b/test/sanity/validate-modules/ignore.txt index 81806863ba..c203c4dd75 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -572,7 +572,7 @@ lib/ansible/modules/network/nxos/nxos_aaa_server.py E323 lib/ansible/modules/network/nxos/nxos_aaa_server_host.py E323 lib/ansible/modules/network/nxos/nxos_acl.py E323 lib/ansible/modules/network/nxos/nxos_acl_interface.py E323 -lib/ansible/modules/network/nxos/nxos_banner.py E322 +lib/ansible/modules/network/nxos/nxos_banner.py E323 lib/ansible/modules/network/nxos/nxos_bgp.py E323 lib/ansible/modules/network/nxos/nxos_bgp_af.py E323 lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py E323 @@ -594,10 +594,10 @@ lib/ansible/modules/network/nxos/nxos_install_os.py E323 lib/ansible/modules/network/nxos/nxos_interface.py E323 lib/ansible/modules/network/nxos/nxos_interface_ospf.py E323 lib/ansible/modules/network/nxos/nxos_l2_interface.py E323 -lib/ansible/modules/network/nxos/nxos_l3_interface.py E322 +lib/ansible/modules/network/nxos/nxos_l3_interface.py E323 lib/ansible/modules/network/nxos/nxos_linkagg.py E323 -lib/ansible/modules/network/nxos/nxos_lldp.py E322 -lib/ansible/modules/network/nxos/nxos_logging.py E322 +lib/ansible/modules/network/nxos/nxos_lldp.py E323 +lib/ansible/modules/network/nxos/nxos_logging.py E323 lib/ansible/modules/network/nxos/nxos_ntp.py E323 lib/ansible/modules/network/nxos/nxos_ntp_auth.py E323 lib/ansible/modules/network/nxos/nxos_ntp_options.py E323