From a9dc79e07b9ac0d16d90e52f8ee65a6ee9a1f954 Mon Sep 17 00:00:00 2001 From: permitanyany Date: Tue, 5 Jun 2018 11:47:09 -0400 Subject: [PATCH] Update nclu.py (#40369) * Update nclu.py Added NCLU BGP Unnumbered Example +label: ansible/ansible#40323 * Update nclu.py * Adding AS number example --- 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 0f70a09dea..4a995ca1ab 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 = '''