<?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: Multiple changes with one PUT command in a RESTCONF API call in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3879805#M3935</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;+1, YANG PATCH is the way to solve this issue. Nothing needed to be added.&lt;/P&gt;
&lt;P&gt;For references/examples, check: &lt;A href="https://tools.ietf.org/html/rfc8072" target="_blank"&gt;https://tools.ietf.org/html/rfc8072&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Roque&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 08:04:07 GMT</pubDate>
    <dc:creator>rogaglia</dc:creator>
    <dc:date>2019-06-26T08:04:07Z</dc:date>
    <item>
      <title>Multiple changes with one PUT command in a RESTCONF API call</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3878753#M3932</link>
      <description>&lt;P&gt;Using Postman to test API calls to NSO.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;http://nso-server:8080/restconf/data/tailf-ncs:devices/device=leaf1/config/tailf-ned-cisco-ios-xr:interface/"TenGigE=0/0/0/6"&lt;/PRE&gt;&lt;P&gt;Returns&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "tailf-ned-cisco-ios-xr:TenGigE": {
        "id": "0/0/0/6",
        "description": "&amp;lt;&amp;lt;Ignore - WiP &amp;gt;&amp;gt;",
        "shutdown": [
            null
        ]
    }
}&lt;/PRE&gt;&lt;P&gt;I would like to update the interface description and no-shut the interface in a single call. Tried with this but no success:&lt;/P&gt;&lt;PRE&gt;{
	"description": "&amp;lt;&amp;lt;Ignore - WiP &amp;gt;&amp;gt;",
	"shutdown": "true"
}&lt;/PRE&gt;&lt;P&gt;Also tried without the xml payload with the below after reading that a delete operation is what's needed, but I must have missed something&lt;/P&gt;&lt;PRE&gt;http://nso:8080/restconf/data/tailf-ncs:devices/device=leaf1/config/tailf-ned-cisco-ios-xr:interface/"TenGigE=0/0/0/6"/shutdown/tags="delete"/&lt;/PRE&gt;&lt;PRE&gt;{
    "errors": {
        "error": [
            {
                "error-message": "uri keypath not found",
                "error-tag": "invalid-value",
                "error-type": "application"
            }
        ]
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas on how I can accomplish this? Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 19:29:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3878753#M3932</guid>
      <dc:creator>RichardD2</dc:creator>
      <dc:date>2019-06-24T19:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple changes with one PUT command in a RESTCONF API call</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3879230#M3933</link>
      <description>&lt;P&gt;Have you tried using YANG Patch, it supports different CRUD operations in the same payload.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 13:03:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3879230#M3933</guid>
      <dc:creator>perander</dc:creator>
      <dc:date>2019-06-25T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple changes with one PUT command in a RESTCONF API call</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3879376#M3934</link>
      <description>&lt;P&gt;Hi Perander,&lt;/P&gt;&lt;P&gt;Is this something I need to add to my installation of NSO 5.10? Can you provide more info please.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 15:43:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3879376#M3934</guid>
      <dc:creator>RichardD2</dc:creator>
      <dc:date>2019-06-25T15:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple changes with one PUT command in a RESTCONF API call</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3879805#M3935</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;+1, YANG PATCH is the way to solve this issue. Nothing needed to be added.&lt;/P&gt;
&lt;P&gt;For references/examples, check: &lt;A href="https://tools.ietf.org/html/rfc8072" target="_blank"&gt;https://tools.ietf.org/html/rfc8072&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Roque&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 08:04:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/multiple-changes-with-one-put-command-in-a-restconf-api-call/m-p/3879805#M3935</guid>
      <dc:creator>rogaglia</dc:creator>
      <dc:date>2019-06-26T08:04:07Z</dc:date>
    </item>
  </channel>
</rss>

