<?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 Updating FTD Device Interface Configuration using FMC API in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/updating-ftd-device-interface-configuration-using-fmc-api/m-p/3847276#M943424</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I'm doing a PUT request using FMC REST API&amp;nbsp; to change the physicalinterface configuration of a FP2000 series firewall, however I get the return message below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"error": {&lt;BR /&gt;"category": "FRAMEWORK",&lt;BR /&gt;"messages": [&lt;BR /&gt;{ "description": "Post not allowed for Physical Interfaces."&lt;BR /&gt;}],"severity": "ERROR"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I do the PUT request I use the following link&amp;nbsp;&lt;A href="https://fmcrestapisandbox.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords/&amp;lt;Device" target="_blank" rel="noopener"&gt;https://fmcrestapisandbox.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords/&amp;lt;Device&lt;/A&gt; ID/Container UUID&amp;gt;/physicalinterfaces&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Body of the message I have:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;{&lt;BR /&gt;"type": "PhysicalInterface",&lt;BR /&gt;"enabled": false,&lt;BR /&gt;"MTU": 1500,&lt;BR /&gt;"managementOnly": false,&lt;BR /&gt;"securityZone": {&lt;BR /&gt;"id": "8d770a60-44cf-11e9-9199-2424ffccb8e1",&lt;BR /&gt;"type": "SecurityZone"&lt;BR /&gt;},&lt;BR /&gt;"ifname": "Intf1",&lt;BR /&gt;"ipv4": {&lt;BR /&gt;"static": {&lt;BR /&gt;"address": "1.2.3.5",&lt;BR /&gt;"netmask": "25"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"name": "GigabitEthernet0/8"&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 17:05:08 GMT</pubDate>
    <dc:creator>peterbankole1</dc:creator>
    <dc:date>2020-02-21T17:05:08Z</dc:date>
    <item>
      <title>Updating FTD Device Interface Configuration using FMC API</title>
      <link>https://community.cisco.com/t5/network-security/updating-ftd-device-interface-configuration-using-fmc-api/m-p/3847276#M943424</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm doing a PUT request using FMC REST API&amp;nbsp; to change the physicalinterface configuration of a FP2000 series firewall, however I get the return message below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"error": {&lt;BR /&gt;"category": "FRAMEWORK",&lt;BR /&gt;"messages": [&lt;BR /&gt;{ "description": "Post not allowed for Physical Interfaces."&lt;BR /&gt;}],"severity": "ERROR"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I do the PUT request I use the following link&amp;nbsp;&lt;A href="https://fmcrestapisandbox.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords/&amp;lt;Device" target="_blank" rel="noopener"&gt;https://fmcrestapisandbox.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords/&amp;lt;Device&lt;/A&gt; ID/Container UUID&amp;gt;/physicalinterfaces&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Body of the message I have:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;{&lt;BR /&gt;"type": "PhysicalInterface",&lt;BR /&gt;"enabled": false,&lt;BR /&gt;"MTU": 1500,&lt;BR /&gt;"managementOnly": false,&lt;BR /&gt;"securityZone": {&lt;BR /&gt;"id": "8d770a60-44cf-11e9-9199-2424ffccb8e1",&lt;BR /&gt;"type": "SecurityZone"&lt;BR /&gt;},&lt;BR /&gt;"ifname": "Intf1",&lt;BR /&gt;"ipv4": {&lt;BR /&gt;"static": {&lt;BR /&gt;"address": "1.2.3.5",&lt;BR /&gt;"netmask": "25"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"name": "GigabitEthernet0/8"&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 17:05:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/updating-ftd-device-interface-configuration-using-fmc-api/m-p/3847276#M943424</guid>
      <dc:creator>peterbankole1</dc:creator>
      <dc:date>2020-02-21T17:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Updating FTD Device Interface Configuration using FMC API</title>
      <link>https://community.cisco.com/t5/network-security/updating-ftd-device-interface-configuration-using-fmc-api/m-p/3913330#M943425</link>
      <description>I too am having an issue with the physicalinterfaces POST API.  Mine however is that the "enabled" = True isn't working.  That said, I've build a Python package, called fmcapi, that might could help you with your API calls.  Check it out at &lt;A href="https://github.com/daxm/fmcapi/" target="_blank"&gt;https://github.com/daxm/fmcapi/&lt;/A&gt;</description>
      <pubDate>Fri, 23 Aug 2019 21:03:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/updating-ftd-device-interface-configuration-using-fmc-api/m-p/3913330#M943425</guid>
      <dc:creator>dmickels</dc:creator>
      <dc:date>2019-08-23T21:03:32Z</dc:date>
    </item>
  </channel>
</rss>

