<?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 Help using python for updating an access point management interface in Wireless</title>
    <link>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479686#M294789</link>
    <description>&lt;P&gt;Dear Members,&lt;/P&gt;&lt;P&gt;Trying to update an access point device management interface by using the function  &lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;meraki&lt;BR /&gt;&lt;BR /&gt;dashboard = meraki.DashboardAPI(&lt;SPAN&gt;api_key&lt;/SPAN&gt;="my_api_key")&lt;BR /&gt;&lt;BR /&gt;payload = {&lt;SPAN&gt;"wan1"&lt;/SPAN&gt;: {&lt;BR /&gt;&lt;SPAN&gt;    "usingStaticIp"&lt;/SPAN&gt;: &lt;SPAN&gt;False,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;"vlan"&lt;/SPAN&gt;: &lt;SPAN&gt;"100"&lt;BR /&gt;&lt;/SPAN&gt; }&lt;BR /&gt;&lt;BR /&gt;result = dashboard.devices.updateDeviceManagementInterface(serial_key&lt;SPAN&gt;, &lt;/SPAN&gt;payload)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;(result)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;The result is the following output:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;updateDeviceManagementInterface() takes 2 positional arguments but 3 were given&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;Process finished with exit code 0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;When running the function below&lt;/P&gt;&lt;PRE&gt;result = dashboard.devices.getDeviceManagementInterface(serial_key)&lt;BR /&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;(&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Device Management Interface:"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;(result)&lt;/PRE&gt;&lt;P&gt;The result is the following output:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;Device Management Interface:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;{'wan1': {'usingStaticIp': False, 'vlan': None}}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;It looks like I am using the correct structure but it doesn't work.&lt;/P&gt;&lt;P&gt;This are the arguments that the function expects:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captain_0-1629910612176.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/270024iBDEA5D7EE5F81E3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you please help me find and correct it? &lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 17:16:40 GMT</pubDate>
    <dc:creator>Captain2</dc:creator>
    <dc:date>2021-08-25T17:16:40Z</dc:date>
    <item>
      <title>Help using python for updating an access point management interface</title>
      <link>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479686#M294789</link>
      <description>&lt;P&gt;Dear Members,&lt;/P&gt;&lt;P&gt;Trying to update an access point device management interface by using the function  &lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;meraki&lt;BR /&gt;&lt;BR /&gt;dashboard = meraki.DashboardAPI(&lt;SPAN&gt;api_key&lt;/SPAN&gt;="my_api_key")&lt;BR /&gt;&lt;BR /&gt;payload = {&lt;SPAN&gt;"wan1"&lt;/SPAN&gt;: {&lt;BR /&gt;&lt;SPAN&gt;    "usingStaticIp"&lt;/SPAN&gt;: &lt;SPAN&gt;False,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;"vlan"&lt;/SPAN&gt;: &lt;SPAN&gt;"100"&lt;BR /&gt;&lt;/SPAN&gt; }&lt;BR /&gt;&lt;BR /&gt;result = dashboard.devices.updateDeviceManagementInterface(serial_key&lt;SPAN&gt;, &lt;/SPAN&gt;payload)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;(result)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;The result is the following output:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;updateDeviceManagementInterface() takes 2 positional arguments but 3 were given&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;Process finished with exit code 0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;When running the function below&lt;/P&gt;&lt;PRE&gt;result = dashboard.devices.getDeviceManagementInterface(serial_key)&lt;BR /&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;(&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Device Management Interface:"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;(result)&lt;/PRE&gt;&lt;P&gt;The result is the following output:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;Device Management Interface:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#999999"&gt;&lt;SPAN&gt;{'wan1': {'usingStaticIp': False, 'vlan': None}}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;It looks like I am using the correct structure but it doesn't work.&lt;/P&gt;&lt;P&gt;This are the arguments that the function expects:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captain_0-1629910612176.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/270024iBDEA5D7EE5F81E3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you please help me find and correct it? &lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 17:16:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479686#M294789</guid>
      <dc:creator>Captain2</dc:creator>
      <dc:date>2021-08-25T17:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help using python for updating an access point management interface</title>
      <link>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479687#M294790</link>
      <description>&lt;P&gt;Try add the&lt;/P&gt;&lt;P&gt;"wanEnabled": "not configured",&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 17:57:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479687#M294790</guid>
      <dc:creator>ww^</dc:creator>
      <dc:date>2021-08-25T17:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help using python for updating an access point management interface</title>
      <link>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479688#M294791</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Added it and getting the same message:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;updateDeviceManagementInterface() takes 2 positional arguments but 3 were given&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Process finished with exit code 0&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Aug 2021 18:56:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479688#M294791</guid>
      <dc:creator>Captain2</dc:creator>
      <dc:date>2021-08-25T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help using python for updating an access point management interface</title>
      <link>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479689#M294792</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;import &lt;/SPAN&gt;meraki&lt;BR /&gt;&lt;BR /&gt;dashboard = meraki.DashboardAPI(&lt;SPAN&gt;api_key&lt;/SPAN&gt;="my_api_key")&lt;BR /&gt;serial_key= "xxxxxxx"&lt;BR /&gt;&lt;BR /&gt;payload = {&lt;BR /&gt;&lt;SPAN&gt;    "usingStaticIp"&lt;/SPAN&gt;: &lt;SPAN&gt;False,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;"vlan"&lt;/SPAN&gt;: &lt;SPAN&gt;"100"&lt;BR /&gt;&lt;/SPAN&gt; }&lt;BR /&gt;&lt;BR /&gt;result = dashboard.devices.updateDeviceManagementInterface(serial_key&lt;SPAN&gt;, wan1=&lt;/SPAN&gt;payload)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;(result)&lt;/PRE&gt;&lt;P&gt;Cant tell exactly, but it thinks the payload= are 2 args now and with the serial that makes 3&lt;/P&gt;&lt;P&gt;But If you move wan1=  to the result it works.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 21:05:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479689#M294792</guid>
      <dc:creator>ww^</dc:creator>
      <dc:date>2021-08-25T21:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help using python for updating an access point management interface</title>
      <link>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479690#M294793</link>
      <description>&lt;P&gt;There seems to be a closing brace missing.&lt;/P&gt;&lt;PRE&gt;payload = {&lt;SPAN&gt;"wan1"&lt;/SPAN&gt;: {&lt;BR /&gt;&lt;SPAN&gt;    "usingStaticIp"&lt;/SPAN&gt;: &lt;SPAN&gt;False,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;"vlan"&lt;/SPAN&gt;: &lt;SPAN&gt;"100"&lt;BR /&gt;&lt;/SPAN&gt; }&lt;/PRE&gt;&lt;P&gt;Should probably be:&lt;/P&gt;&lt;PRE&gt;payload = {&lt;SPAN&gt;"wan1"&lt;/SPAN&gt;: {&lt;BR /&gt;&lt;SPAN&gt;    "usingStaticIp"&lt;/SPAN&gt;: &lt;SPAN&gt;False,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;"vlan"&lt;/SPAN&gt;: &lt;SPAN&gt;"100"&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt; }&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Aug 2021 00:59:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479690#M294793</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2021-08-26T00:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help using python for updating an access point management interface</title>
      <link>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479691#M294794</link>
      <description>&lt;P&gt;Many thanks, that was it!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 07:49:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/help-using-python-for-updating-an-access-point-management/m-p/5479691#M294794</guid>
      <dc:creator>Captain2</dc:creator>
      <dc:date>2021-08-26T07:49:49Z</dc:date>
    </item>
  </channel>
</rss>

