<?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 Re: Interrogate IOS-XE interfaces with RESTCONF (with Postman) in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463345#M9369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I use Postman to talk to my 3650 (running 16.5.1) I use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accept of application/vnd.yang.data+json&lt;/P&gt;&lt;P&gt;Conent-Type of application/vnd.yang.data+json&lt;/P&gt;&lt;P&gt;Basic-Auth &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/restconf/api/running/interfaces/interface/GigabitEthernet"1/1/1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I receive an error, but when I try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/restconf/api/running/interfaces/interface/GigabitEthernet1%2F1%2F1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the interface output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something or doing something wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 16:02:15 GMT</pubDate>
    <dc:creator>PAUL MELVIN</dc:creator>
    <dc:date>2017-07-19T16:02:15Z</dc:date>
    <item>
      <title>Interrogate IOS-XE interfaces with RESTCONF (with Postman)</title>
      <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463341#M9365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to interrogate some interfaces on a Cisco 3650 switch using RESTCONF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the interface has no forward slashes then its easy...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://x.x.x.x/restconf/api/running/interfaces/interface/Vlan10?deep" title="http://x.x.x.x/restconf/api/running/interfaces/interface/Vlan10?deep"&gt;http://x.x.x.x/restconf/api/running/interfaces/interface/Vlan10?deep&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the majority of the interfaces are not like that, e.g. GigabitEthernet1/0/1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how do I interrogate one of the 'normal' interfaces, I have tried many things but all end with the...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "errors": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "error": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "error-message": "invalid path",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "error-tag": "unknown-element"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to the forward slash, is there a document/link talking about special characters as I am sure I will run into that those the future &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:35:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463341#M9365</guid>
      <dc:creator>PAUL MELVIN</dc:creator>
      <dc:date>2017-07-19T15:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Interrogate IOS-XE interfaces with RESTCONF (with Postman)</title>
      <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463342#M9366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today you can do it as:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; background-color: #fafafa;"&gt;/restconf/api/config/native/interface/GigabitEthernet/"1/0/1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; background-color: #fafafa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; background-color: #fafafa;"&gt;In the future it will be escaped as per standard behaviour&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; background-color: #fafafa;"&gt;"&lt;SPAN style="color: #343537; font-family: -apple-system, 'Segoe UI Semilight', sans-serif; font-size: 14px;"&gt;GigabitEthernet1%2F0%2F1&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; background-color: #fafafa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; background-color: #fafafa;"&gt;Adam&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:42:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463342#M9366</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-07-19T15:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Interrogate IOS-XE interfaces with RESTCONF (with Postman)</title>
      <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463343#M9367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The quoted version did not work for my but the %2F did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will bear both in mind for the future&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:53:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463343#M9367</guid>
      <dc:creator>PAUL MELVIN</dc:creator>
      <dc:date>2017-07-19T15:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Interrogate IOS-XE interfaces with RESTCONF (with Postman)</title>
      <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463344#M9368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, %2F will not work today.&amp;nbsp; It will be in the RFC compliant version of RESTCONF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:55:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463344#M9368</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-07-19T15:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Interrogate IOS-XE interfaces with RESTCONF (with Postman)</title>
      <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463345#M9369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I use Postman to talk to my 3650 (running 16.5.1) I use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accept of application/vnd.yang.data+json&lt;/P&gt;&lt;P&gt;Conent-Type of application/vnd.yang.data+json&lt;/P&gt;&lt;P&gt;Basic-Auth &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/restconf/api/running/interfaces/interface/GigabitEthernet"1/1/1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I receive an error, but when I try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/restconf/api/running/interfaces/interface/GigabitEthernet1%2F1%2F1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the interface output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something or doing something wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:02:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463345#M9369</guid>
      <dc:creator>PAUL MELVIN</dc:creator>
      <dc:date>2017-07-19T16:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Interrogate IOS-XE interfaces with RESTCONF (with Postman)</title>
      <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463346#M9370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.. (sorry I should have looked more closely at the request, to see it was IETF model)&lt;/P&gt;&lt;P&gt;that is the difference between the IETF and native models.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IETF has interface name with "/" in it as the key is the full interface name e.g. "GigabitEthernet1/0/1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The native (IOS-XE) model has "GigabitEthernet" as a container and "1/0/1" as the key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12.000000953674316px;"&gt;/restconf/api/running&lt;SPAN style="color: #ff0000;"&gt;/interfaces/interface/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;GigabitEthernet1%2F1%2F1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12.000000953674316px;"&gt;vs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; font-size: 12.000000953674316px; background-color: #fafafa; font-family: OpenSans, Helvetica, Arial, sans-serif;"&gt;/restconf/api/config/&lt;SPAN style="color: #ff0000;"&gt;native/interface/GigabitEthernet&lt;/SPAN&gt;/&lt;SPAN style="color: #0000ff;"&gt;"1/0/1"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12.000000953674316px; background-color: #fafafa; font-family: OpenSans, Helvetica, Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We are in the process of transitioning to RFC-8040, and %2F.&amp;nbsp; Older versions of code will work differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do not "officially" support RESTCONF yet, so still a bit of flux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:10:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463346#M9370</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-07-19T16:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Interrogate IOS-XE interfaces with RESTCONF (with Postman)</title>
      <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463347#M9371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the command is hidden but there &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/wink.png" /&gt;, I want to get ahead the game I can!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You referenced the models, where is the best place to look at them to find out specific syntax just like you have pointed out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get some scripts done and would ideally like to cover the majority of Cisco devices so that the operator can just supply a file with relevant information, e.g. device type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice/links would be much appreciated (I am working my way through your NETCONF/YANG &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:16:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463347#M9371</guid>
      <dc:creator>PAUL MELVIN</dc:creator>
      <dc:date>2017-07-19T16:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Interrogate IOS-XE interfaces with RESTCONF (with Postman)</title>
      <link>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463348#M9372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not want to do a RESTCONF one until it was officially shipping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might have convinced me too..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 16:25:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/interrogate-ios-xe-interfaces-with-restconf-with-postman/m-p/3463348#M9372</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-07-19T16:25:24Z</dc:date>
    </item>
  </channel>
</rss>

