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 was wondering, whether it is possible instead of creating three separate tasks, one processing one element of an array, to actually loop through an array. Example: vars:      ansible_become_pass: "{{ vault_sudo_password }}"      ansible_pyt...

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

We need to apply time based policies for our customer's SDWAN solution. We can  do that manually but we cannot maintain it for a long periods of time. So the easiest way we came up with is to edit the device templates @ the needed time period & we ne...

Hi TeamI am trying to lookup the YANG model in XML format and get this error. Do you know what I am missing here ?ushetty@sm-vlab1:~/yang/vendor/cisco/xe/1781$pyang -f sample-xml-skeleton --sample-xml-skeleton-doctype=config Cisco-IOS-XE-switch.yangC...

Hello,I was wondering, if it is possible to use variable in a search string within a WHEN block:- name: Ansible site-ios-xe-L2-L3-Metrics-Check  hosts: IDFiosxe  vars_files:         - /home/cisco/Ansible/vault_password.yml  vars:      ansible_become_...

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

From today, DevNet users can rate Code Exchange repositories.This rating can help our authors and Code Exchange engine detect projects that enjoy communities. It also identifies possible improvements or issues of related source code.Find a related Co...

rate_repo_feedback.png Submit_a_request.png
Oleksii_ by Cisco Employee
  • 162 Views
  • 0 replies
  • 1 Helpful votes

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
  • 476 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
  • 293 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 1
  • 310 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 1
  • 244 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
  • 859 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 1
  • 487 Views
  • 3 replies
  • 0 Helpful votes
Unanswered Topics