This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PLAY [ios] ****************************************************************************************************************************************************************** | |
TASK [Network BGP Manager] ************************************************************************************************************************************************** | |
TASK [network.bgp.run : Include tasks] ************************************************************************************************************************************** | |
included: /home/rothakur/ansible-collections/collections/ansible_collections/network/bgp/roles/run/tasks/includes/gather.yaml for 192.168.122.220 => (item={'name': 'gather'}) | |
TASK [Invoke gather function] ********************************************************************************************************************************************** | |
TASK [network.base.resource_manager : Run the platform specific tasks] ******************************************************************************* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WARNING]: running playbook inside collection network.bgp | |
PLAY [ios] ****************************************************************************************************************************************************************** | |
TASK [Network BGP Manager] ************************************************************************************************************************************************** | |
TASK [network.bgp.run : Include tasks] ************************************************************************************************************************************** | |
included: /home/rothakur/ansible-collections/collections/ansible_collections/network/bgp/roles/run/tasks/includes/deploy.yaml for 192.168.122.220 => (item={'name': 'deploy'}) | |
TASK [Invoke gather function] *********************************************************************************************************************************************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PLAY [ios] ********************************************************************* | |
TASK [Network BGP Manager] ***************************************************** | |
TASK [network.base.resource_manager : Run the platform specific tasks] ********* | |
included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/./gather.yaml for 192.168.122.220=> (item=/home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/gather.yaml) | |
TASK [network.base.resource_manager : Gather the supported resource modules] *** | |
ok: [192.168.122.220] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ansible39) [rothakur@localhost base]$ ansible-playbook site.yml | |
/ | |
[WARNING]: running playbook inside collection network.base | |
PLAY [ios] ********************************************************************************************** | |
TASK [Network BGP Manager] ****************************************************************************** | |
TASK [network.base.resource_manager : Run the platform specific tasks] ********************************** | |
included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/./deploy.yaml for 192.168.122.220 => (item=/home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/deploy.yaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [network.base.resource_manager : Available Network resources] ************************************************************************** | |
ok: [92.168.122.220] => { | |
"msg": { | |
"ansible_connection": "ansible.netcommon.network_cli", | |
"ansible_network_os": "cisco.ios.ios", | |
"changed": false, | |
"failed": false, | |
"modules": [ | |
"acl_interfaces", | |
"acls", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=============================== | |
OUTPUT: | |
"parsed": { | |
"groups": [ | |
{ | |
"address_family": [ | |
{ | |
"af_type": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rpc-reply message-id="urn:uuid:0cadb4e8-5bba-47f4-986e-72906227007f"> | |
<configuration changed-seconds="1590139550" changed-localtime="2020-05-22 09:25:50 UTC"> | |
<version>18.4R1-S2.4</version> | |
<protocols> | |
<bgp> | |
<group> | |
<name>external</name> | |
<family> | |
<inet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"rendered": "<nc:protocols xmlns:nc=\"urn:ietf:params:xml:ns:netconf:base:1.0\"> | |
<nc:bgp><nc:group><nc:name>internal</nc:name><nc:family><nc:evpn><nc:signaling> | |
<nc:accepted-prefix-limit><nc:maximum>20</nc:maximum><nc:teardown> | |
<nc:limit-threshold>98</nc:limit-threshold><nc:idle-timeout><nc:timeout>2001</nc:timeout> | |
</nc:idle-timeout></nc:teardown></nc:accepted-prefix-limit><nc:damping/> | |
<nc:defer-initial-multipath-build><nc:maximum-delay>2</nc:maximum-delay></nc:defer-initial-multipath-build> | |
</nc:signaling></nc:evpn></nc:family><nc:neighbor><nc:name>10.10.10.1</nc:name><nc:family><nc:evpn> | |
<nc:signaling><nc:accepted-prefix-limit><nc:maximum>20</nc:maximum></nc:accepted-prefix-limit> | |
</nc:signaling></nc:evpn><nc:inet><nc:unicast><nc:extended-nexthop/><nc:extended-nexthop-color/> | |
<nc:local-ipv4-address>192.168.56.120</nc:local-ipv4-address></nc:unicast></nc:inet></nc:family> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vsrx# show protocols bgp | |
family inet { | |
unicast { | |
local-ipv4-address 192.168.122.40; | |
extended-nexthop; | |
extended-nexthop-color; | |
} | |
flow { | |
prefix-limit { | |
maximum 15; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
after Device Config: | |
===================== | |
vagrant@vsrx# show protocols bgp | |
family inet { | |
unicast { | |
local-ipv4-address 192.168.122.40; | |
extended-nexthop; | |
extended-nexthop-color; | |
} | |
flow { |