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,I am working with NETCONF/RESTCONF and MDT (TIG Stack) on the IOS XE on Cat8kv reservable sandbox.  I have not been able to figure out how to stream interface state via on-change.  For reference, I am using the basic ietf-interfaces.yang model....

slarrarte by Level 1
  • 2590 Views
  • 7 replies
  • 0 Helpful votes

Hello,I am trying to run this simplified  testbed file and receive the following issue:Also if you could please advise on the platform value required in testbed.yaml file when using cat4500.PID: WS-C4507R+E$ python3 pyATSTEST.pyTraceback (most recent...

netmart2 by Level 1
  • 1326 Views
  • 1 replies
  • 0 Helpful votes

HelloI tried the following Ansible playbook, the goal is to change the ip helper address of an existing vlan interface.And I am receiving the following error: TASK [Changing IP Helper Address] *********************************************************...

Netmart by Level 3
  • 1243 Views
  • 2 replies
  • 0 Helpful votes

Hello,I was wondering, whether it is possible to pull also the IP address in addition to hostname, pltaformID, sofwareType, and Version Excerpt URL:dnac = {        "host": host,        "port": 443,        "username": username,        "password": pass...

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

I am trying to configure Terraform and Intersight and trying to call the OS Install workflow, but something isnt right.  I ran terraform init, then plan, then apply, but I get this error message below.  Any idea what could be wrong? intersight_os_ins...

Tbowden by Level 1
  • 3412 Views
  • 13 replies
  • 0 Helpful votes

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
  • 1998 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
  • 1350 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
  • 1899 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
  • 1798 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
  • 1682 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
  • 859 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
  • 3068 Views
  • 6 replies
  • 0 Helpful votes