Code Exchange

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

Forum Posts

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 7
  • 1814 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 7
  • 1312 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 • Visitor
  • 6189 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 7
  • 2937 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 7
  • 2051 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 7
  • 2944 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 7
  • 2814 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 7
  • 10244 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 7
  • 1361 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 7
  • 4446 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 7
  • 906 Views
  • 1 replies
  • 0 Helpful votes