Created
August 8, 2023 15:53
-
-
Save praveenramoorthy/944437bacf55bf8c473994143d762481 to your computer and use it in GitHub Desktop.
vrf creation log
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
(ansible_collections) praveen @ ~/Ansible/dcnm-network $ ansible-playbook -i hosts dcnm_vrf.yaml -vvvv | |
ansible-playbook [core 2.13.6] | |
config file = /Users/praveen/Ansible/dcnm-network/ansible.cfg | |
configured module search path = ['/Users/praveen/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
ansible python module location = /Users/praveen/.pyenv/versions/3.8.0/envs/ansible_collections/lib/python3.8/site-packages/ansible | |
ansible collection location = /Users/praveen/.ansible/collections:/usr/share/ansible/collections | |
executable location = /Users/praveen/.pyenv/versions/ansible_collections/bin/ansible-playbook | |
python version = 3.8.0 (default, Apr 13 2020, 16:49:15) [Clang 11.0.3 (clang-1103.0.32.29)] | |
jinja version = 3.0.3 | |
libyaml = True | |
Using /Users/praveen/Ansible/dcnm-network/ansible.cfg as config file | |
setting up inventory plugins | |
host_list declined parsing /Users/praveen/Ansible/dcnm-network/hosts as it did not pass its verify_file() method | |
script declined parsing /Users/praveen/Ansible/dcnm-network/hosts as it did not pass its verify_file() method | |
auto declined parsing /Users/praveen/Ansible/dcnm-network/hosts as it did not pass its verify_file() method | |
Parsed /Users/praveen/Ansible/dcnm-network/hosts inventory source with ini plugin | |
Loading collection cisco.dcnm from /Users/praveen/Ansible/dcnm-network/collections/ansible_collections/cisco/dcnm | |
Loading callback plugin default of type stdout, v2.0 from /Users/praveen/.pyenv/versions/3.8.0/envs/ansible_collections/lib/python3.8/site-packages/ansible/plugins/callback/default.py | |
Skipping callback 'default', as we already have a stdout callback. | |
Skipping callback 'minimal', as we already have a stdout callback. | |
Skipping callback 'oneline', as we already have a stdout callback. | |
PLAYBOOK: dcnm_vrf.yaml ********************************************************************************************************************************************************** | |
Positional arguments: dcnm_vrf.yaml | |
verbosity: 4 | |
connection: smart | |
timeout: 10 | |
become_method: sudo | |
tags: ('all',) | |
inventory: ('/Users/praveen/Ansible/dcnm-network/hosts',) | |
forks: 5 | |
1 plays in dcnm_vrf.yaml | |
PLAY [vrf overridden] ******************************************************************************************************************************************************************* | |
META: ran handlers | |
Loading collection ansible.netcommon from /Users/praveen/Ansible/dcnm-network/collections/ansible_collections/ansible/netcommon | |
TASK [overridden vrfs] ****************************************************************************************************************************************************************** | |
task path: /Users/praveen/Ansible/dcnm-network/dcnm_vrf.yaml:16 | |
<1.1.1.1> attempting to start connection | |
<1.1.1.1> using connection plugin ansible.netcommon.httpapi | |
Found ansible-connection at path /Users/praveen/.pyenv/versions/ansible_collections/bin/ansible-connection | |
<1.1.1.1> local domain socket does not exist, starting it | |
<1.1.1.1> control socket path is /Users/praveen/.ansible/pc/ea6cc32f03 | |
<1.1.1.1> Loading collection ansible.netcommon from /Users/praveen/Ansible/dcnm-network/collections/ansible_collections/ansible/netcommon | |
<1.1.1.1> Loading collection cisco.dcnm from /Users/praveen/Ansible/dcnm-network/collections/ansible_collections/cisco/dcnm | |
<1.1.1.1> local domain socket listeners started successfully | |
<1.1.1.1> loaded API plugin ansible_collections.cisco.dcnm.plugins.httpapi.dcnm from path /Users/praveen/Ansible/dcnm-network/collections/ansible_collections/cisco/dcnm/plugins/httpapi/dcnm.py for platform type cisco.dcnm.dcnm | |
<1.1.1.1> | |
<1.1.1.1> local domain socket path is /Users/praveen/.ansible/pc/ea6cc32f03 | |
<1.1.1.1> ANSIBLE_NETWORK_IMPORT_MODULES: enabled | |
<1.1.1.1> ANSIBLE_NETWORK_IMPORT_MODULES: found cisco.dcnm.dcnm_vrf at /Users/praveen/Ansible/dcnm-network/collections/ansible_collections/cisco/dcnm/plugins/modules/dcnm_vrf.py | |
<1.1.1.1> ANSIBLE_NETWORK_IMPORT_MODULES: running cisco.dcnm.dcnm_vrf | |
<1.1.1.1> ANSIBLE_NETWORK_IMPORT_MODULES: complete | |
changed: [1.1.1.1] => { | |
"changed": true, | |
"diff": [ | |
{ | |
"adv_default_routes": true, | |
"adv_host_routes": false, | |
"attach": [], | |
"bgp_passwd_encrypt": 3, | |
"bgp_password": "", | |
"disable_rt_auto": false, | |
"export_evpn_rt": "", | |
"export_mvpn_rt": "", | |
"export_vpn_rt": "", | |
"import_evpn_rt": "", | |
"import_mvpn_rt": "", | |
"import_vpn_rt": "", | |
"ipv6_linklocal_enable": true, | |
"loopback_route_tag": 12345, | |
"max_bgp_paths": 1, | |
"max_ibgp_paths": 2, | |
"netflow_enable": false, | |
"nf_monitor": "", | |
"no_rp": false, | |
"overlay_mcast_group": "", | |
"redist_direct_rmap": "FABRIC-RMAP-REDIST-SUBNET", | |
"rp_address": "", | |
"rp_external": false, | |
"rp_loopback_id": "", | |
"service_vrf_template": null, | |
"source": null, | |
"static_default_route": true, | |
"trm_bgw_msite": false, | |
"trm_enable": false, | |
"underlay_mcast_ip": "", | |
"vrf_description": "", | |
"vrf_extension_template": "Default_VRF_Extension_Universal", | |
"vrf_id": 2126, | |
"vrf_int_mtu": 9216, | |
"vrf_intf_desc": "", | |
"vrf_name": "test_vrf", | |
"vrf_template": "Default_VRF_Universal", | |
"vrf_vlan_name": "" | |
} | |
], | |
"invocation": { | |
"module_args": { | |
"config": [ | |
{ | |
"vlan_id": "2126", | |
"vrf_id": "2126", | |
"vrf_name": "test_vrf" | |
} | |
], | |
"fabric": "test_fabric”, | |
"state": "merged" | |
} | |
}, | |
"response": [ | |
{ | |
"DATA": {}, | |
"MESSAGE": "OK", | |
"METHOD": "POST", | |
"REQUEST_PATH": "https://1.1.1.1:443/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/top-down/fabrics/test_fabric/vrfs", | |
"RETURN_CODE": 200 | |
} | |
] | |
} | |
META: ran handlers | |
META: ran handlers | |
PLAY RECAP ****************************************************************************************************************************************************************************** | |
1.1.1.1 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment