<?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: RESTconf errors while changing interface parameters in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054661#M4549</link>
    <description>&lt;P&gt;I marked this open case as solved and closed so that your all not working on it and prioritizing anything here.&amp;nbsp; I was just trying to learn some new tech and there is plenty of other code to learn the same thing on all your sites.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help on a Sunday and stay safe during this virus problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dale&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2020 00:11:36 GMT</pubDate>
    <dc:creator>DaleSchulz2814</dc:creator>
    <dc:date>2020-03-30T00:11:36Z</dc:date>
    <item>
      <title>RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054535#M4544</link>
      <description>&lt;P&gt;I'm trying to run a script from the devnet python code samples and continue to get the following errrors while trying to modify an ip address on an interface:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What IP address do you want to set? 192.168.40.1&lt;BR /&gt;What Subnet Mask do you want to set? 255.255.255.0&lt;BR /&gt;{&lt;BR /&gt;"errors": {&lt;BR /&gt;"error": [&lt;BR /&gt;{&lt;BR /&gt;"error-message": "/if:interfaces/interface{Loopback100}/type: Runtime mapping error.",&lt;BR /&gt;"error-path": "/ietf-interfaces:interfaces/interface=Loopback100",&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;&lt;P&gt;Ending Interface Configuration&lt;BR /&gt;Name: Loopback100&lt;BR /&gt;IP Address: 172.16.100.1 / 255.255.255.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help in what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 15:19:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054535#M4544</guid>
      <dc:creator>DaleSchulz2814</dc:creator>
      <dc:date>2020-03-29T15:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054556#M4545</link>
      <description>&lt;P&gt;Not sure how is your rights on the device and what device is this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is example for rererence :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.cisco.com/docs/cisco-netconf-and-rest-device-management-api-documentation/#!cisco-netconf-and-rest-device-management-api-documentation/get-a-device-interface-configuration-using-netconf" target="_blank"&gt;https://developer.cisco.com/docs/cisco-netconf-and-rest-device-management-api-documentation/#!cisco-netconf-and-rest-device-management-api-documentation/get-a-device-interface-configuration-using-netconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 16:31:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054556#M4545</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2020-03-29T16:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054611#M4548</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide a link to the devnet code or lab you are working on?&lt;/P&gt;&lt;P&gt;Have a look here for some sample code that you can run on the sandbox.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/CiscoDevNet/restconf-examples" target="_blank"&gt;https://github.com/CiscoDevNet/restconf-examples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 20:22:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054611#M4548</guid>
      <dc:creator>omz</dc:creator>
      <dc:date>2020-03-29T20:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054661#M4549</link>
      <description>&lt;P&gt;I marked this open case as solved and closed so that your all not working on it and prioritizing anything here.&amp;nbsp; I was just trying to learn some new tech and there is plenty of other code to learn the same thing on all your sites.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help on a Sunday and stay safe during this virus problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 00:11:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4054661#M4549</guid>
      <dc:creator>DaleSchulz2814</dc:creator>
      <dc:date>2020-03-30T00:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055042#M4552</link>
      <description>&lt;P&gt;Hey Dale, I thought the issue was due to the sandbox being under maintenance yesterday. I see the same issue as you, however, I think this only works on interfaces other than loopback&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(venv) STUACLAR-M-R6EU:restconf_update_ipaddress stuaclar$ python updateip.py
The router has the following interfaces:

  * GigabitEthernet1
  * GigabitEthernet2
  * GigabitEthernet3
  * Loopback5
  * Loopback22
  * Loopback72
  * Loopback100
  * Loopback103
  * Loopback678
  * Loopback1069
  * Loopback1245
  * Loopback1246
  * VirtualPortGroup0

Which Interface do you want to configure? GigabitEthernet3
GigabitEthernet3
Starting Interface Configuration
Name:  GigabitEthernet3
IP Address:  192.168.40.1 / 255.255.255.0

What IP address do you want to set? 192.168.50.1
What Subnet Mask do you want to set? 255.255.255.0

Ending Interface Configuration
Name:  GigabitEthernet3
IP Address:  192.168.50.1 / 255.255.255.0&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Mar 2020 12:51:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055042#M4552</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2020-03-30T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055065#M4555</link>
      <description>Wow! I'm flattered that the man, the myth, the "big evil beard responded to my open ticket!!&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; (I actually follow you and hpresto on twitter).&lt;BR /&gt;&lt;BR /&gt;Actually no worries, there's lots of tools Cisco has out there to learn REST. I just jumped to a different lab.&lt;BR /&gt;&lt;BR /&gt;Stay home and keep you and your family safe!&lt;BR /&gt;Dale&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:16:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055065#M4555</guid>
      <dc:creator>DaleSchulz2814</dc:creator>
      <dc:date>2020-03-30T13:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055074#M4556</link>
      <description>Thanks, buddy, the money is in the mail. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:25:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055074#M4556</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2020-03-30T13:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055090#M4558</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://community.cisco.com/t5/user/viewprofilepage/user-id/352839" target="_self"&gt;bigevilbeard&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;can you please share the link for this lab?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;thank you&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:40:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055090#M4558</guid>
      <dc:creator>omz</dc:creator>
      <dc:date>2020-03-30T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055096#M4559</link>
      <description>Sure Omar, i am not sure if this is learning lab - I know the repo from while back &lt;A href="https://github.com/CiscoDevNet/python_code_samples_network" target="_blank"&gt;https://github.com/CiscoDevNet/python_code_samples_network&lt;/A&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:48:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055096#M4559</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2020-03-30T13:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055100#M4560</link>
      <description>He's correct that it does work with a physical interface and not with a loopback though!&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:50:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055100#M4560</guid>
      <dc:creator>DaleSchulz2814</dc:creator>
      <dc:date>2020-03-30T13:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: RESTconf errors while changing interface parameters</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055109#M4562</link>
      <description>&lt;P&gt;thank you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:59:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/restconf-errors-while-changing-interface-parameters/m-p/4055109#M4562</guid>
      <dc:creator>omz</dc:creator>
      <dc:date>2020-03-30T13:59:29Z</dc:date>
    </item>
  </channel>
</rss>

