<?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: Viptela vManage NED REST/RESTCONF in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3876562#M3917</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For restconf, please try the module name, tailf-ned-viptela-vmanage-stats, in place of the prefix,&amp;nbsp;vmanage-stats, for the 'exec' namespace:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -k -u admin:C1sco123! -X POST https://127.0.0.1:8888/restconf/data/devices/device=org3-vmanage-2/live-status/&lt;STRONG&gt;tailf-ned-viptela-vmanage-stats:exec&lt;/STRONG&gt;/get_vedges&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2019 08:21:01 GMT</pubDate>
    <dc:creator>lmanor</dc:creator>
    <dc:date>2019-06-20T08:21:01Z</dc:date>
    <item>
      <title>Viptela vManage NED REST/RESTCONF</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3873836#M3893</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I am trying to call REST or RESTCONF to viptela vManage NED...&lt;/P&gt;
&lt;P&gt;Via the CLI I am getting expected output from the following command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;mmalysz@ncs&amp;gt; request devices device org3-vmanage-2 live-status vmanage-stats:exec get_vedges | more
result success
response [
{
"deviceType": "vedge",
"hardwareCertSerialNumber": "NA"&lt;/PRE&gt;
&lt;P&gt;However via REST/RESTCONF I am getting:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[mmalysz@nso9-w ~]$ curl -k -u xxx:xxx -X POST https://127.0.0.1:8888/api/running/devices/device/org3-vmanage-2/live-status/vmanage-stats:exec/_operations/get_vedges

&amp;lt;errors xmlns="http://tail-f.com/ns/tailf-rest-error"&amp;gt;
&amp;lt;error&amp;gt;
&amp;lt;error-tag&amp;gt;malformed-message&amp;lt;/error-tag&amp;gt;
&amp;lt;error-message&amp;gt;config false action in running datastore&amp;lt;/error-message&amp;gt;
&amp;lt;/error&amp;gt;
&amp;lt;/errors&amp;gt;&lt;/PRE&gt;
&lt;P&gt;For RESTCONF I am trying out following path (but it seems I get something wrong)&lt;/P&gt;
&lt;PRE&gt;[mmalysz@nso9-w ~]$ curl -k -u admin:C1sco123! -X POST https://127.0.0.1:8888/restconf/data/devices/device=org3-vmanage-2/live-status/vmanage-stats:exec/get_vedges

&amp;lt;errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"&amp;gt;
&amp;lt;error&amp;gt;
&amp;lt;error-message&amp;gt;uri keypath not found&amp;lt;/error-message&amp;gt;
&amp;lt;error-tag&amp;gt;invalid-value&amp;lt;/error-tag&amp;gt;
&amp;lt;error-type&amp;gt;application&amp;lt;/error-type&amp;gt;
&amp;lt;/error&amp;gt;
&amp;lt;/errors&amp;gt;
[mmalysz@nso9-w ~]$&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2019 19:51:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3873836#M3893</guid>
      <dc:creator>mmalysz</dc:creator>
      <dc:date>2019-06-16T19:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Viptela vManage NED REST/RESTCONF</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3876562#M3917</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For restconf, please try the module name, tailf-ned-viptela-vmanage-stats, in place of the prefix,&amp;nbsp;vmanage-stats, for the 'exec' namespace:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -k -u admin:C1sco123! -X POST https://127.0.0.1:8888/restconf/data/devices/device=org3-vmanage-2/live-status/&lt;STRONG&gt;tailf-ned-viptela-vmanage-stats:exec&lt;/STRONG&gt;/get_vedges&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 08:21:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3876562#M3917</guid>
      <dc:creator>lmanor</dc:creator>
      <dc:date>2019-06-20T08:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Viptela vManage NED REST/RESTCONF</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3878058#M3921</link>
      <description>&lt;P&gt;Thanks - It was a good idea to use module name and not prefix.&lt;/P&gt;
&lt;P&gt;But I have another problem...&lt;/P&gt;
&lt;P&gt;Now the call to&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #505050; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;A href="https://127.0.0.1:8888/restconf/data/devices/device=org3-vmanage-2/live-status/tailf-ned-viptela-vmanage-stats:exec/get_vedges" target="_blank"&gt;https://127.0.0.1:8888/restconf/data/devices/device=org3-vmanage-2/live-status/tailf-ned-viptela-vmanage-stats:exec/get_vedges&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Works fine, however I am not able to use the filters..&lt;/P&gt;
&lt;P&gt;I did use yanger to produce swagger specs&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zrzut ekranu 2019-06-23 o 13.06.34.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/39440i20A4863A11C15632/image-size/large?v=v2&amp;amp;px=999" role="button" title="Zrzut ekranu 2019-06-23 o 13.06.34.png" alt="Zrzut ekranu 2019-06-23 o 13.06.34.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when I try to call it with the body:&lt;/P&gt;
&lt;P&gt;{ &lt;BR /&gt;"tailf-ned-viptela-vmanage-stats:filter": "state:csrgenerated", &lt;BR /&gt;"tailf-ned-viptela-vmanage-stats:columns": "uuid,vedgeCSR"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;I am getting error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{ &lt;BR /&gt;"errors": { &lt;BR /&gt;"error": [ &lt;BR /&gt;{ &lt;BR /&gt;"error-message": "container filter not allowed here", &lt;BR /&gt;"error-path": "/tailf-ncs:devices/device=org3-vmanage-2/live-status/tailf-ned-viptela-vmanage-stats:exec/get_vedges", &lt;BR /&gt;"error-tag": "malformed-message", &lt;BR /&gt;"error-type": "application" &lt;BR /&gt;} &lt;BR /&gt;] &lt;BR /&gt;} &lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2019 11:11:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3878058#M3921</guid>
      <dc:creator>mmalysz</dc:creator>
      <dc:date>2019-06-23T11:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Viptela vManage NED REST/RESTCONF</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3878693#M3931</link>
      <description>&lt;P&gt;Note that &lt;FONT face="courier new,courier"&gt;/devices&lt;/FONT&gt; need to use the module name as well, i.e. &lt;FONT face="courier new,courier"&gt;/tailf-ncs:devices&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -k -u admin:C1sco123! -X POST https://127.0.0.1:8888/restconf/data/&lt;STRONG&gt;tailf-ncs:&lt;/STRONG&gt;devices/device=org3-vmanage-2/live-status/&lt;STRONG&gt;tailf-ned-viptela-vmanage-stats:exec&lt;/STRONG&gt;/get_vedges&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 17:58:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/viptela-vmanage-ned-rest-restconf/m-p/3878693#M3931</guid>
      <dc:creator>perander</dc:creator>
      <dc:date>2019-06-24T17:58:04Z</dc:date>
    </item>
  </channel>
</rss>

