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

I'm starting a series of samples apps for configuring IS-IS:  Check out single-area examples for IPv4 and IPv6 routing at:https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/clnsAs always, make sure you review the READM...

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

One of the simplest models you can getting started with is Cisco-IOS-XR-infra-infra-locale-cfg.yang.  It allows you to set the device locale (country and language).  You can find sample apps for this model at:https://github.com/CiscoDevNet/ydk-py-sam...

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

You can find basic apps for configuring routing policies at:https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/policyAs usual, make sure you read the README file for basic apps.  It explains how apps are named and how ...

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

You can find basic apps for reading system time and file system info at:https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/shellutilThese apps are based on two simple models: Cisco-IOS-XR-shellutil-filesystem-oper.yang...

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

You can find basic apps for using the OpenConfig BGP model at:https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/bgpMore sample apps for this model are coming down the road, but these should get you going.Make sure you...

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

The GitHub repo for YDK-Py (https://github.com/CiscoDevNet/ydk-py) comes with a couple of sample apps.  There is also a separate sample app repo (https://github.com/CiscoDevNet/ydk-py-samples) that includes a larger number of sample apps.  You'll fin...

saalvare by Cisco Employee
  • 702 Views
  • 0 replies
  • 6 Helpful votes

Last week, we released YDK-gen as open source along with YDK-Py.  Currently, YDK-gen takes YANG models as input and produces a Python package that provides APIs (YDK-Py) mirroring the structure of the models.  You can say YDK-Py version 0.3.0, which ...

saalvare by Cisco Employee
  • 769 Views
  • 1 replies
  • 10 Helpful votes

Last week, we released YDK-Py 0.3.0 as open source. We believe it will help the industry reap the benefits of data models and facilitate the implementation of network automation.  This release provides model-driven APIs in Python for all native and O...

saalvare by Cisco Employee
  • 528 Views
  • 0 replies
  • 6 Helpful votes

Hello,Is there a way to get nodes/nodeSets inside nodeSet using the getNode method without expanding the nodeSet? If you try to get node inside collapsed nodeSet, the getNode method returns undefined (GetNode - JSFiddle).

viihallja by Level 1
  • 549 Views
  • 1 replies
  • 0 Helpful votes

Resolved! Adding new NodeSet

Hello,I am trying to add new NodeSet to topology using the addNodeSet method. However I get "Cannot read property 'parentVertexSetID' of undefined" error. See this fiddle: NeXt nodeset - JSFiddleWhat am I missing?

viihallja by Level 1
  • 1899 Views
  • 6 replies
  • 0 Helpful votes

Hello,I am trying to load additional topology items to an existing topology, but I have the following problems:1) Links from new Nodes to existing NodeSets are invisible until the existing NodeSet is expanded:Before:After:2) How can I add NodeSets?I ...

mspoerr by Level 4
  • 1194 Views
  • 4 replies
  • 0 Helpful votes

Hello,I registered a custom svg icon, which works fine. Now I want to set it's color but this does not work. How must a custom icon look like to get the color attribute working?Thanks,/Mathias

mspoerr by Level 4
  • 1767 Views
  • 5 replies
  • 0 Helpful votes

Quote from Bruno Klauser email Performance issues with JS Client after opening/closing NodeSets multiple times to overlay paths (2) over links nx.define('Tooltip.Node', nx.ui.Component, {                view: {                               conte...

aaikepae by Cisco Employee
  • 524 Views
  • 1 replies
  • 0 Helpful votes