diff --git a/lib/ansible/modules/network/eos/eos_interface.py b/lib/ansible/modules/network/eos/eos_interface.py index a6503f51695..5d338826270 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 b5d2302b593..9a35dcf48e0 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 45fd02d53fd..86f4c59970b 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 150a3a0b402..3cd438658aa 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 a9d7a04b81d..ec5e525f178 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 a6ed78bab7c..7e5950567dd 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 03c11dd8c0c..de6a2e29295 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 66ec30157f8..2e1b2365656 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 0f0a875a561..34ad10ee8f6 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 99aea45798f..826535f9794 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 96e15cd3182..0a4c572b5e4 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 613bd18643b..b11f956899e 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 6ba3d3b4cca..7e3bc5654e2 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 cc97d104af3..d26bcd843f7 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 243df781d74..f7d91ea5e55 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 2a44940d373..9037120c936 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 88b4a7e7948..039fa163e53 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 b4f1b14420b..dd3f8ef95a2 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 7344dccc8c4..40dccd96bbb 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 46e3ca20a77..e7f588d9154 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 9c3ad264766..2c9774f6e94 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 6a2b775774f..063800a4bf9 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 e8b8e847c86..54228b7c671 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 b214834ab2a..825da3ed734 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 6289ff25f24..d8a942d4201 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 d992c0d4c94..80fdba5fa95 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 8b312f02762..c0d74301f16 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 75663aecda9..3dfaaf4eae2 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 7f02dd70395..b17ebf3dda9 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 e0ec3102576..85968850f14 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 bc254a6d7ae..e8345bcb8f0 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 6117b9386c5..cf263deae44 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 43197dbb8d8..4f8096c9af0 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 0b574b194fb..c73168992de 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 71ee1ba2414..e33b1f3e23e 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 28b78c2201f..adab99380c4 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 dee5453c427..712fe51dacb 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 892505bb233..88f0c9546ed 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 3c338603c99..90ce7d50892 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 15ab3500271..c09327d9fa0 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 b5fc76ed8ae..e43b7ef95f0 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 278f5a37086..e298d5dbf99 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 81806863ba8..c203c4dd758 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