From ca1916a43fe1d4f458bf6eed69a1dc17f7fbd382 Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Tue, 31 Jul 2018 22:40:26 -0400 Subject: [PATCH] Update nclu.py (#40369) (#43364) * Update nclu.py Added NCLU BGP Unnumbered Example +label: ansible/ansible#40323 * Adding AS number example (cherry picked from commit a9dc79e07b9ac0d16d90e52f8ee65a6ee9a1f954) --- lib/ansible/modules/network/cumulus/nclu.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/ansible/modules/network/cumulus/nclu.py b/lib/ansible/modules/network/cumulus/nclu.py index 0f70a09dea6..4a995ca1ab3 100644 --- a/lib/ansible/modules/network/cumulus/nclu.py +++ b/lib/ansible/modules/network/cumulus/nclu.py @@ -79,6 +79,15 @@ EXAMPLES = ''' - add int swp1 atomic: true description: "Ansible - add swp1" + +- name: Configure BGP AS and add 2 EBGP neighbors using BGP Unnumbered + nclu: + commands: + - add bgp autonomous-system 65000 + - add bgp neighbor swp51 interface remote-as external + - add bgp neighbor swp52 interface remote-as external + commit: true + ''' RETURN = '''