Tools

cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Forum Posts

HI Team, IOS XR build system is upgraded to PYANG 1.7.4, where all yang modules goes through compilation check before getting package. New models are developed with Yang v1.1, whereas validation of v1.1 is not supported with existing ydk-gen (pyang 1...

kmathiya by • Cisco Employee
  • 1035 Views
  • 1 replies
  • 0 Helpful votes

>>> from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ip_static_cfg>>> from ydk.providers import NetconfServiceProvider>>> from ydk.services import CRUDService>>> ncc = NetconfServiceProvider(address='172.27.121.52',username='root',password='lab',port...

baalagar by • Community Member
  • 11015 Views
  • 11 replies
  • 0 Helpful votes

I am able to push all other interface configs except the plocy ap under service-policy.please help resolve this   from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ifmgr_cfg as xr_intf from ydk.providers import NetconfServiceProvider from ydk.services...

arynair by • Cisco Employee
  • 1409 Views
  • 3 replies
  • 0 Helpful votes

Hi!I am trying to retrieve information from a cisco XR device.I want the information on the interfaces.  The code i am running:service = NetconfService() provider = NetconfServiceProvider(address=ip_address, username=user_name, password=password) mod...

Hi!I am trying to retrieve information on interfaces from a XR. But I only get error messages..sysView.Interfaces.Interface.append(interface) AttributeError: type object 'Interface' has no attribute 'append' The code I am trying to run: service = Net...

Hi, I'm trying to change admin status of an interface on a XE device (ASR920).However running the code below does not seem to have any affect! It runs with no errors, but the interface status doesn't change.Also if setting shutdown to Empty() brings ...

MahdiR by • Level 2
  • 1386 Views
  • 2 replies
  • 10 Helpful votes

I would like to know if it is possible to access to the PyATS TestCases Results objects during the CommonCleanup section? What i want is to have access to steps and testcases id, results(passed or failed), description of the test, so i can create my ...

Hello Boss,Since my network environment ,   user couldn't ssh to router/switch directly . we have to ssh to jumper server first then ssh to router or switch from jumper server.  In this situation. does ncclient support jumper server environment ?  or...

Top Solution Authors