Code Exchange

Ask questions about your Developer Code Exchange submissions
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Developer Sustainability Week Events

Build for Better Code Challenge

Cisco U. Spotlight Registration


>> View previously featured conversations <<

Forum Posts

Hello,When Ansible is trying to connect to host [Cisco Cat 6, the following error message appears:[WARNING]: sftp transfer mechanism failed on [172.16.1.1]. Use ANSIBLE_DEBUG=1 to see detailed information Below you will find an extract of debug log:2...

Netmart by Level 3
  • 1807 Views
  • 3 replies
  • 0 Helpful votes

Hello,I wanted to create a condition to execute only an ios command when it is part of previous output of "sh run | sec eigrp".It works to remove the eigrp process, but it skippes the removal of route-map, though it is part of output.Please see outpu...

Netmart by Level 3
  • 1211 Views
  • 3 replies
  • 0 Helpful votes

Hello,I wanted to print only one message when show run | eigrp output does contain "eigrp".However, print result is skipped. Please advise.ThanksLike:---- name: EIGRP Config Check   hosts: iosxe  vars_files:         - /home/cisco/Ansible/vault_passwo...

Netmart by Level 3
  • 1676 Views
  • 6 replies
  • 1 Helpful votes

Hello,I wanted to save changes in running config by using the "save_when" parameter:---- name: Test Ansible ios_command on Cisco IOS XE  hosts: iosxe  vars_files:         - /home/cisco/Ansible/vault_password2.yml  vars:      ansible_become_pass: "{{ ...

Netmart by Level 3
  • 1610 Views
  • 1 replies
  • 0 Helpful votes

  Hello,I am wondering about the syntax when adding or removing parameters for example removing a redistribution list under the BGP Process / Address Family IP4 - see example below.Thanks,  tasks:     - name: no router eigrp       ios_config:        ...

Netmart by Level 3
  • 1458 Views
  • 6 replies
  • 0 Helpful votes

Hello, When running the script as shown below I do receive the following error.And I am using the same API, "dnac.devices.get_all_interfaces()['response']"  in different script without issues.Therefore, I assume that it must have to do with line of: ...

Netmart by Level 3
  • 766 Views
  • 1 replies
  • 0 Helpful votes

Hello,To my understanding, the output will be printed on the screen.I would like save it under a log file.I tried to add it to ansible.cfg file, but still I am not able to see the log file:[default]#some basic default values...nocows=true#log_path=/e...

Netmart by Level 3
  • 2812 Views
  • 6 replies
  • 0 Helpful votes

Hello,In order to run the following script, I assume it is required to install the YDK repository to be able to import the ydk modules as listed below.Please advise. Thanks,Netmart from ydk.services import CRUDServicefrom ydk.providers import Netconf...

Netmart by Level 3
  • 518 Views
  • 1 replies
  • 0 Helpful votes

In this space, you can share your questions, experiences, and feelings about the Code Exchange platform. Also, you can ask regarding the usage and submitting open-source projects and reviewing pipelines and features.   The Cisco Code Exchange provide...

Oleksii_ by Cisco Employee
  • 683 Views
  • 0 replies
  • 3 Helpful votes
Unanswered Topics