<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic YDK-py pre-built classes/functions in Tools</title>
    <link>https://community.cisco.com/t5/tools/ydk-py-pre-built-classes-functions/m-p/3437553#M3047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New to this stuff so sorry if this is not well thought-out.&amp;nbsp; Really glad you folks are paving the way for easier programmability of IOS-XE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YDK-py &lt;SPAN style="font-size: 13.3333px;"&gt;seems unnecessarily complicated at the moment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there currently any effort in creating useful pre-built classes/packages to simplify getting started with YDK?&amp;nbsp;&amp;nbsp;&amp;nbsp; For instance, it would be useful if there was a package that d&lt;SPAN style="font-size: 13.3333px;"&gt;efines a pre-built function/class that allows you to&lt;/SPAN&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Put your IP address and credentials, and it will define the argparser, urlparser, logging, serviceProvider, CRUDservice, etc automatically in one line of code (would also hide the complexity of stuff the user really shouldn't need to worry about)&lt;/LI&gt;&lt;LI&gt;Defines commonly needed operations as one-line calls, like what this guy has done with VLANs here: &lt;A href="https://community.cisco.com/migration-blogpost/9024"&gt;Getting To Know YDK&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good example of this is what the Spark team has done with the CiscoSparkAPI package that you can use.&amp;nbsp; It hides all the restful request complexity and allows for simple 'api.function.operation()' type calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for all your efforts.&amp;nbsp; Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jul 2017 21:03:47 GMT</pubDate>
    <dc:creator>Joshua Leatham</dc:creator>
    <dc:date>2017-07-08T21:03:47Z</dc:date>
    <item>
      <title>YDK-py pre-built classes/functions</title>
      <link>https://community.cisco.com/t5/tools/ydk-py-pre-built-classes-functions/m-p/3437553#M3047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New to this stuff so sorry if this is not well thought-out.&amp;nbsp; Really glad you folks are paving the way for easier programmability of IOS-XE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YDK-py &lt;SPAN style="font-size: 13.3333px;"&gt;seems unnecessarily complicated at the moment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there currently any effort in creating useful pre-built classes/packages to simplify getting started with YDK?&amp;nbsp;&amp;nbsp;&amp;nbsp; For instance, it would be useful if there was a package that d&lt;SPAN style="font-size: 13.3333px;"&gt;efines a pre-built function/class that allows you to&lt;/SPAN&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Put your IP address and credentials, and it will define the argparser, urlparser, logging, serviceProvider, CRUDservice, etc automatically in one line of code (would also hide the complexity of stuff the user really shouldn't need to worry about)&lt;/LI&gt;&lt;LI&gt;Defines commonly needed operations as one-line calls, like what this guy has done with VLANs here: &lt;A href="https://community.cisco.com/migration-blogpost/9024"&gt;Getting To Know YDK&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good example of this is what the Spark team has done with the CiscoSparkAPI package that you can use.&amp;nbsp; It hides all the restful request complexity and allows for simple 'api.function.operation()' type calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for all your efforts.&amp;nbsp; Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2017 21:03:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-py-pre-built-classes-functions/m-p/3437553#M3047</guid>
      <dc:creator>Joshua Leatham</dc:creator>
      <dc:date>2017-07-08T21:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: YDK-py pre-built classes/functions</title>
      <link>https://community.cisco.com/t5/tools/ydk-py-pre-built-classes-functions/m-p/3437554#M3048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback.&amp;nbsp; The current focus of the team is to harden the SDK while adding support for more models (e.g. NX-OS), more languages (e.g. go, Java), more protocols (e.g. gRPC), more encodings (e.g. YAML). Down the road, you can expect to see examples of higher levels of abstraction that can &lt;SPAN style="font-size: 13.3333px;"&gt;further &lt;/SPAN&gt;simplify network automation (e.g. &lt;A href="https://github.com/111pontes/xr-pl2/tree/master/ansible/ip_destination_reachable"&gt;Ansible modules&lt;/A&gt;).&amp;nbsp; Many of those examples should arrive at the &lt;A href="https://github.com/CiscoDevNet/ydk-py-samples"&gt;YDK-Py samples&lt;/A&gt; repository later this year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 18:04:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-py-pre-built-classes-functions/m-p/3437554#M3048</guid>
      <dc:creator>saalvare</dc:creator>
      <dc:date>2017-07-10T18:04:48Z</dc:date>
    </item>
  </channel>
</rss>

