<?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: How to add V-Wire Subinterface via the API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179374#M1452</link>
    <description>&lt;P&gt;That's weird, because I don't have Panorama. &amp;nbsp;When I try action=override I get this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;response status="error" code="12"&amp;gt;&lt;BR /&gt;&amp;lt;msg&amp;gt;&lt;BR /&gt;&amp;lt;line&amp;gt;Object cannot be overridden&amp;lt;/line&amp;gt;&lt;BR /&gt;&amp;lt;/msg&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2017 14:01:13 GMT</pubDate>
    <dc:creator>jslabaugh1</dc:creator>
    <dc:date>2017-09-29T14:01:13Z</dc:date>
    <item>
      <title>How to add V-Wire Subinterface via the API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179371#M1450</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I've tried several different variations and I can't seem to figure out the API call to add a v-wire subinterface. What would the correct syntax be?&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's one example that I have tried:&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://firewall/api/?type=config&amp;amp;key=KEY&amp;amp;action=set&amp;amp;xpath=/config/devices/entry" target="_blank"&gt;https://firewall/api/?type=config&amp;amp;key=KEY&amp;amp;action=set&amp;amp;xpath=/config/devices/entry&lt;/A&gt;&lt;SPAN&gt;[@name='localhost.localdomain']/network/interface/ethernet/entry[@name='ethernet1/14']/virtual-wire/units/&amp;amp;element=&amp;lt;entry name='ethernet1/14.5501'/&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It gives me this:&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;response status="error" code="13"&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;msg&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;line&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set failed, may need to override template object first&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/line&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/msg&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/response&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:46:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179371#M1450</guid>
      <dc:creator>jslabaugh1</dc:creator>
      <dc:date>2017-09-29T13:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add V-Wire Subinterface via the API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179372#M1451</link>
      <description>&lt;P&gt;The syntax is correct, but the error that you're getting is that you're overwriting something in a template pushed from Panorama, which would require action=override as opposed to action=set.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:51:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179372#M1451</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2017-09-29T13:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add V-Wire Subinterface via the API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179374#M1452</link>
      <description>&lt;P&gt;That's weird, because I don't have Panorama. &amp;nbsp;When I try action=override I get this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;response status="error" code="12"&amp;gt;&lt;BR /&gt;&amp;lt;msg&amp;gt;&lt;BR /&gt;&amp;lt;line&amp;gt;Object cannot be overridden&amp;lt;/line&amp;gt;&lt;BR /&gt;&amp;lt;/msg&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:01:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179374#M1452</guid>
      <dc:creator>jslabaugh1</dc:creator>
      <dc:date>2017-09-29T14:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add V-Wire Subinterface via the API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179375#M1453</link>
      <description>&lt;P&gt;I figured it out. &amp;nbsp;I had a / after units. &amp;nbsp;After removing that the set action worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before:&lt;/P&gt;&lt;P&gt;&lt;A href="https://firewall/api/?type=config&amp;amp;key=KEY&amp;amp;action=set&amp;amp;xpath=/config/devices/entry" target="_blank" rel="nofollow noopener noreferrer"&gt;https://firewall/api/?type=config&amp;amp;key=KEY&amp;amp;action=set&amp;amp;xpath=/config/devices/entry&lt;/A&gt;&lt;SPAN&gt;[@name='localhost.localdomain']/network/interface/ethernet/entry[@name='ethernet1/14']/virtual-wire/units/&amp;amp;element=&amp;lt;entry name='ethernet1/14.5501'/&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Working:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://firewall/api/?type=config&amp;amp;key=KEY&amp;amp;action=set&amp;amp;xpath=/config/devices/entry" target="_blank" rel="nofollow noopener noreferrer"&gt;https://firewall/api/?type=config&amp;amp;key=KEY&amp;amp;action=set&amp;amp;xpath=/config/devices/entry&lt;/A&gt;[@name='localhost.localdomain']/network/interface/ethernet/entry[@name='ethernet1/14']/virtual-wire/units&amp;amp;element=&amp;lt;entry name='ethernet1/14.5501'/&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:09:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-add-v-wire-subinterface-via-the-api/m-p/179375#M1453</guid>
      <dc:creator>jslabaugh1</dc:creator>
      <dc:date>2017-09-29T14:09:30Z</dc:date>
    </item>
  </channel>
</rss>

