Tools

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

Hi developers,I want to add trex to my automation tool, which is built with django.In my use, each stlclient is specific to users and I tried to store it to sessions.However, it failed.The ways I have tried is json.dumps() and pickle.dumps().Do you k...

yufenwan by Level 1
  • 1186 Views
  • 1 replies
  • 0 Helpful votes

YDK uses an extensible set of services to allow you to act on modeled data.  So far, the apps in the ydk-py-samples repository have focused on three services:Codec - Provides encode and decode methods to convert YANG validated data to and from differ...

saalvare by Cisco Employee
  • 883 Views
  • 0 replies
  • 0 Helpful votes

My first contribution to the ydk-py-sample apps!I knew what ydk was but never played with it before and very quickly I've been able to build some basic samples on how to configure ospf on IOS XE!!Includes custom apps to configure IOS XE OSPF in four ...

fabrimac by Level 4
  • 737 Views
  • 0 replies
  • 1 Helpful votes

We recently posted boilerplate apps to configure Cisco IOS XE devices.  As promised, we have started to post custom apps to configure different device features.  Today, I'll highlight four basic apps to configure interfaces on a Cisco IOS XE device:n...

saalvare by Cisco Employee
  • 482 Views
  • 0 replies
  • 0 Helpful votes

The ydk-py-samples repo has assembled almost 700 sample apps since its inception. These sample apps focused on Cisco IOS XR, IETF or OpenConfig models.  Maybe unknown to some users, YDK has supported Cisco IOS XE models since version 0.5.5 which incl...

saalvare by Cisco Employee
  • 634 Views
  • 0 replies
  • 1 Helpful votes

YDK 0.6.0 represents a major leap forward to enable the adoption of model-driven network manageability.  In earlier releases, YDK-Py and YDK-Cpp relied on separate infrastructures.  Sometimes, they had minor differences in functionality and behavior....

saalvare by Cisco Employee
  • 1471 Views
  • 0 replies
  • 5 Helpful votes

Hi,I'm testing YangExplorer using IOS-XE 16.6.1 .When I sent an RPC call to get the entire running-config, following lxml exception is thrown.Is it a known issue ?File "lxml.etree.pyx", line 3236, in lxml.etree.tostring (src/lxml/lxml.etree.c:71960)T...

lucabrasi by Level 1
  • 1156 Views
  • 2 replies
  • 1 Helpful votes

While trying to configure Logical channel in Terminal devices 1. RPC payload failed to take the values for "logical_channel_type", "rate_class", "trib_protocol".2. while trying through CLI getting below error.```ssh"RP/0/RP0/CPU0:ios(config-logical-c...

vinogovi by Level 1
  • 576 Views
  • 2 replies
  • 0 Helpful votes

Aloha,NextUI looks very very interesting.But I first need to learn programming.:-)And Im wondering, if it is possible to draw a topology from the UI,like to add nodes, connect nodes, and so on.Currently we are using yaml topology files to start virtu...

m-reuter by Level 1
  • 3393 Views
  • 4 replies
  • 2 Helpful votes

Hi developers,I'm really very confused with the values of these parameters.For example, promiscuous should be bool(True or False).But its default value is None.What does None mean?Could we set it to None when we use it?Here is the definitions of this...

yufenwan by Level 1
  • 1936 Views
  • 3 replies
  • 0 Helpful votes

i have a box and will set two ports as lacp mode, i want to trex as the peer client and use its 2 ports to simulate lacp and communication with my box: such as port-channel load-banlance,etc.Could trex support this action?Thanks.

yufenwan by Level 1
  • 1387 Views
  • 1 replies
  • 0 Helpful votes

Hi developers,I need to check STLStream object on the port.However, it seems only a dictionary of the stream info is provided.Like this:self.streams[stream_id] = {'next_id'   : next_id,'pkt'       : streams_list[i].get_pkt(),'mode'      : streams_lis...

yufenwan by Level 1
  • 1282 Views
  • 3 replies
  • 0 Helpful votes

The YDK vagrant sandbox now has version 0.5.5 available.    These are the detailed package versions: vagrant@ydk-py:~$ pip list | grep ydk ydk                     0.5.5        ydk-models-cisco-ios-xe 16.5.1       ydk-models-cisco-ios-xr 6.2.1      ...

saalvare by Cisco Employee
  • 523 Views
  • 0 replies
  • 0 Helpful votes

Hi,I have tried unsuccessfully to get the YDK-PY to install on an LUbuntu VM and am now trying to install on MacOS Sierra.The system requirements have been installed.python 2.7.13 has been installed via brew. virtual env has been createdydk-models-ci...